/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: #c7c7c7;
  font-family: system-ui, -apple-system, sans-serif;
  cursor: none; /* Hide the default cursor */
}

/* Header styles */
.header {
  width: 100%;
  min-height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 108px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #0a0a0a;
  transition: background-color 0.3s ease;
}

.logo {
  color: #c7c7c7;
  font-size: 2rem;
  text-decoration: none;
  margin-right: 100px; /* Add space between logo and nav items */
}

.nav-container {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto; /* This pushes the nav-container to the right */
}

.nav-links {
  display: flex;
  gap: 48px; /* Increase gap between nav items */
  align-items: center;
  margin-right: 48px; /* Add space between nav links and login button */
}

.nav-link {
  color: #c7c7c7;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #d3e959;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #d3e959;
}

.nav-link:hover::after {
  width: 100%;
}

.button-container {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid #000;
  background: transparent;
  color: #000;
}

.btn-solid {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #c7c7c7;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
  .header,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hamburger {
    display: block;
    z-index: 100;
  }

  .nav-container {
    margin-left: 0; /* Reset margin for mobile menu */
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: #0a0a0a;
    flex-direction: column;
    justify-content: center; /* Center items in mobile view */
    transition: right 0.3s ease;
    z-index: 99;
  }

  .nav-container.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-right: 0; /* Remove margin in mobile view */
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .logo {
    margin-right: 0; /* Remove margin in mobile view */
  }

  .chevron-down {
    display: flex; /* Show on mobile */
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
  }

  /* Projects section */
  .projects {
    padding: 40px 0;
  }

  /* About section */
  .about-section {
    padding: 40px 20px;
    margin-top: 0;
    margin-bottom: 40px;
  }

  /* Contact section */
  .contact-section {
    padding: 40px 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Frame 44 */
  .frame-44 {
    margin: 0;
    padding: 40px 0;
  }

  /* Contact form section */
  .contact-form-section {
    padding: 40px 20px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 40px;
  }

  .transparent-rectangle {
    display: none; /* Hide on mobile */
  }
}

/* Smaller mobile adjustments */
@media (max-width: 480px) {
  /* Keep consistent 30px spacing for smallest screens */
  .projects,
  .about-section,
  .contact-section,
  .frame-44,
  .contact-form-section {
    padding: 30px 20px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 108px;
  gap: 48px;
  min-height: 700px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content {
  max-width: 544px;
}

.hero-text {
  margin-bottom: 40px;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

.hero-text p {
  font-size: 1.25rem;
  color: #c7c7c7;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #d3e959;
  color: #0a0a0a;
  padding: 16px 24px;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #0a0a0a;
  border-radius: 50%;
  position: absolute;
}

.arrow {
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-primary:hover .dot {
  opacity: 0;
}

.btn-primary:hover .arrow {
  opacity: 1;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.underline-link {
  color: #d3e959;
  text-decoration: none;
  position: relative;
  font-size: 1rem;
}

.underline-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d3e959;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 54px;
  height: 54px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.hero-image {
  flex-shrink: 0;
  width: 600px;
  height: 700px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .header,
  .hero {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-width: 600px;
  }

  .hero-image img {
    height: auto;
  }
}

/* Projects Section */
.projects {
  padding: 80px 0;
  max-width: 1440px;
  margin: 0 auto;
}

.projects-container {
  padding: 0 108px;
}

.section-header {
  max-width: 600px;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.25rem;
  color: #c7c7c7;
  line-height: 1.6;
}

.project {
  display: flex;
  gap: 48px;
  margin-bottom: 120px;
}

.project-image {
  flex: 0 0 600px;
  height: 600px;
  background-color: #1a1a1a;
  border-radius: 12px;
  position: relative;
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #0a0a0a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  z-index: 1;
}

.image-container {
  width: 486px;
  height: 347px;
  margin: 126px auto;
  border-radius: 12px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  flex: 1;
  padding: 60px 0;
}

.project-info {
  margin-bottom: 48px;
}

.title-description {
  margin-bottom: 32px;
}

.title-description h3 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 16px;
}

.title-description p {
  color: #c7c7c7;
  line-height: 1.6;
}

.project-details h4 {
  color: #fff;
  margin-bottom: 16px;
}

.details-list {
  border: 1px solid #484848;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #484848;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  color: #fff;
}

.detail-item .value {
  color: #c7c7c7;
}

.project-links {
  display: flex;
  gap: 24px;
}

.link-underline {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #d3e959;
  text-decoration: none;
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d3e959;
}

.arrow-icon,
.github-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon svg,
.github-icon svg {
  color: #d3e959;
}

/* Responsive styles */
@media (max-width: 1400px) {
  .projects-container {
    padding: 0 60px;
  }

  .project-image {
    flex: 0 0 500px;
    height: 500px;
  }

  .image-container {
    width: 400px;
    height: 286px;
    margin: 107px auto;
  }
}

@media (max-width: 1200px) {
  .project {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 80px;
  }

  .project-image {
    flex: none;
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  .image-container {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 486/347;
    margin: 0 auto;
  }

  .project-content {
    padding: 0;
  }
}

/* About Section */
.about-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 108px;
  margin-top: 80px;
  margin-bottom: 80px; /* Add bottom margin to create space */
}

.about-container {
  width: 1224px;
  display: flex;
  gap: 213px; /* itemSpacing from Figma */
  align-items: flex-start;
}

.about-title {
  font-size: 4rem;
  color: #fff;
  width: 307px;
  line-height: 1.2;
}

.about-content {
  width: 704px;
  display: flex;
  flex-direction: column;
  gap: 53px; /* itemSpacing from Figma */
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text h3 {
  font-size: 2rem;
  color: #fff;
  line-height: 1.4;
}

.about-text p {
  color: #c7c7c7;
  line-height: 1.6;
  font-size: 1.125rem;
}

.about-link a {
  color: #d3e959;
  text-decoration: none;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.about-link a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d3e959;
}

/* Responsive styles for about section */
@media (max-width: 1440px) {
  .about-section {
    margin-top: 80px; /* Keep consistent spacing */
  }

  .about-container {
    width: 100%;
    gap: calc(213px * (100vw / 1440));
  }
}

@media (max-width: 1200px) {
  .about-section {
    padding: 0 60px;
  }

  .about-container {
    flex-direction: column;
    gap: 40px;
  }

  .about-title {
    width: 100%;
  }

  .about-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 3rem;
  }

  .about-text h3 {
    font-size: 1.75rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-link a {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 2.5rem;
  }
}

/* Contact Form Section */
.contact-form-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 108px 80px; /* Add some top padding */
}

.contact-form-container {
  width: 1224px;
  display: flex;
  gap: 24px; /* itemSpacing from Figma */
}

/* Left Column */
.contact-info {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 80px;
}

.contact-header {
  width: 600px;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 40px;
}

.contact-row {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.contact-row .label {
  color: #c7c7c7;
  font-size: 1.125rem;
}

.contact-row .value,
.contact-row a.value {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  position: relative;
}

.contact-row a.value::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d3e959;
}

.social-links {
  display: flex;
  gap: 24px;
  margin-top: 194px;
}

.social-icon {
  width: 32px;
  height: 32px;
  color: #d3e959;
}

.copyright {
  color: #c7c7c7;
  margin-top: auto;
  font-size: 1.125rem;
}

/* Right Column */
.contact-form {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  color: #c7c7c7;
  font-size: 1.125rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #1a1a1a;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 1.125rem;
}

.form-group textarea {
  height: 156px;
  resize: none;
}

.submit-btn {
  width: 140px;
  height: 54px;
  background-color: #d3e959;
  color: #0a0a0a;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1440px) {
  .contact-form-container {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .contact-form-section {
    padding: 60px;
  }

  .contact-form-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form,
  .contact-header {
    width: 100%;
  }

  .social-links {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .contact-header h2 {
    font-size: 3rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }
}

/* Frame 44 Section */
.frame-44 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin: 40px 0; /* Add space around this section */
}

.transparent-rectangle {
  width: 100%;
  height: auto; /* Changed from 800px to auto */
  background-color: rgba(217, 217, 217, 0);
  position: absolute;
  top: 0;
  left: 0;
}

/* Responsive styles */
@media (max-width: 1440px) {
  .frame-44 {
    margin-top: calc(
      2418px * (100vw / 1440)
    ); /* Scale margin based on viewport */
  }
}

@media (max-width: 768px) {
  .frame-44 {
    margin: 0;
    padding: 40px 0;
  }

  .transparent-rectangle {
    display: none; /* Hide on mobile */
  }
}

/* Contact Section */
.contact-section {
  width: 100%;
  height: auto;
  min-height: 400px;
  background-color: rgba(217, 217, 217, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 0;
  margin-top: 40px; /* Add top margin for spacing */
  margin-bottom: 40px;
}

.contact-container {
  max-width: 1440px;
  width: 100%;
  padding: 0 108px;
}

.contact-content {
  max-width: 600px;
}

.contact-content h2 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.contact-content p {
  font-size: 1.25rem;
  color: #c7c7c7;
  margin-bottom: 48px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d3e959;
  text-decoration: none;
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.8;
}

/* Responsive styles for contact section */
@media (max-width: 1200px) {
  .contact-container {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .frame-44 {
    margin: 0; /* Remove margin on mobile */
  }

  .contact-form-section {
    padding: 20px 20px 40px; /* Reduce padding on mobile */
  }

  .contact-container {
    padding: 0 20px;
  }

  .contact-content h2 {
    font-size: 3rem;
  }

  .contact-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
  }

  .contact-link {
    font-size: 1.125rem;
  }

  .about-section {
    margin-bottom: 60px; /* Reduce spacing on mobile */
  }

  .contact-section {
    margin-top: 30px; /* Reduce spacing on mobile */
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 30px 0; /* Further reduce padding */
    margin-top: 20px;
  }

  .contact-form-section {
    padding: 10px 20px 40px; /* Minimal top padding */
  }

  .contact-content h2 {
    font-size: 2.5rem;
  }

  .contact-content p {
    font-size: 1rem;
  }
}

/* Add these new styles for the custom cursor */
.cursor {
  width: 12px;
  height: 12px;
  background-color: #d3e959;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  transform: translate(-50%, -50%);
}

/* Add hover effect for interactive elements */
a:hover ~ .cursor,
button:hover ~ .cursor {
  transform: translate(-50%, -50%) scale(1.5);
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
}

.chevron-down {
  display: none; /* Hide by default on desktop */
}

/* Add styles for active nav link */
.nav-link.active {
  color: #d3e959;
}

.nav-link.active::after {
  width: 100%;
}

/* Add padding to main to account for fixed header */
main {
  padding-top: 96px; /* Same as header height */
}

/* Optional: Add a subtle background when scrolling */
.header.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Typing effect styles */
.typing-cursor {
  display: inline-block;
  margin-left: 2px;
  width: 2px;
  animation: blink 1s infinite;
  color: #d3e959;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#typed-text {
  color: #fff;
}

/* Standardize h2 headings */
.section-header h2,
.about-title,
.contact-content h2,
.contact-header h2 {
  font-size: 4rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Keep hero section h1 size unchanged */
.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

/* Update responsive styles for h2 headings */
@media (max-width: 768px) {
  .section-header h2,
  .about-title,
  .contact-content h2,
  .contact-header h2 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .section-header h2,
  .about-title,
  .contact-content h2,
  .contact-header h2 {
    font-size: 2.5rem;
  }
}

.project-image1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-image2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-image3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
