/* style.css */

/* Base */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.5;
  background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
  background-size: 40px 40px; /* notebook-like grid */
  position: relative;
}

a { transition: all 0.3s ease; }

/* Sections need z-index to appear above dust canvas */
section, header {
  position: relative;
  z-index: 1;
}

/* Sticky Navigation */
/* Left-aligned sticky navigation */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(255,255,255,0.08);
  z-index: 1000;
}

nav {
  padding: 20px 100px; /* Matches your section padding */
  display: flex;
  justify-content: flex-start; /* LEFT ALIGN */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}


nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #66c0c6;
  transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Hero section */
/* HERO section refinements */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 180px 100px 100px 100px;
}

/* Intro (name + role) */
.name {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.role {
  font-size: 18px;
  color: #b0b0b0;
  margin-top: 4px;
  margin-bottom: 20px;
}

/* Greeting styling */
.hero-text h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.hero-text p {
  font-size: 22px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Scroll CTA styling */
.scroll-container {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #66c0c6;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 0;
}

.scroll-circle {
  width: 40px;
  height: 40px;
  border: 2px solid #66c0c6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gentleBounce 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.scroll-circle:hover {
  box-shadow: #000 0px 1px 1px;
  transform: scale(1.2);
}

.scroll-circle:hover svg {
  stroke: white;
}

@keyframes gentleBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}
/* Multilingual greeting animation */
.greeting-container {
  position: relative;
  height: 70px; /* Fixed height for smooth transition */
  overflow: hidden;
}

.multilingual-greeting {
  font-size: 56px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

/* Smooth fade + slide effect */
.greeting-container.fade .multilingual-greeting {
  opacity: 0;
  transform: translateY(-20px);
}

/* Keep smooth scroll functionality */
.scroll-container {
  scroll-behavior: smooth;
}

/* Reveal timing */
.delay-0 { transition-delay: 0.15s; }
.delay-1 { transition-delay: 0.45s; }
.delay-2 { transition-delay: 0.75s; }
.delay-3 { transition-delay: 1.05s; }
.delay-4 { transition-delay: 1.35s; }


/* Projects */
.projects {
  padding: 120px 100px 100px 100px;
}

.projects h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #ffffff;
}

.project-card {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid #333333;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card:hover {
  transform: translateX(10px);
  background-color: rgba(255, 255, 255, 0.5);
}

.project-card:hover .project-info h3 {
  color: #000000;
}

.project-card:hover .project-info p {
  color: #000000;
}

.project-info {
  padding-left: 40px;
}

.project-info h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #ffffff;
}

.project-info p { 
  margin-bottom: 10px;
  color: #b0b0b0;
}

/* Project preview on hover */
.project-preview {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(102, 192, 198, 0.3);
  max-width: 400px;
  max-height: 300px;
  object-fit: cover;
}

.project-preview.show {
  opacity: 1;
  transform: scale(1);
}


/* Shared sections */
.about, .case-study {
  padding: 120px 100px 100px 100px;
}

/* Smooth fade for sections */
section {
  opacity: 1;
  transition: opacity 0.8s ease-in;
}


/* Additions to style.css */

/* Reveal animation base */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential delays for the hero */
.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }
.delay-4 { transition-delay: 1.2s; }

/* Optional: subtle parallax for hero image */
.hero-img img {
  width: 220px;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}
/* About Hero */
/* NEW Photo Hero Section */
.photo-hero {
  padding: 140px 100px 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-container {
  display: flex;
  justify-content: center;
}

.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.8);
  transition: all 0.4s ease;
}

.profile-photo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* About hero layout with image on the right */
.about-hero {
  padding: 180px 100px 120px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.photo-container {
  flex: 0 0 340px;
  display: flex;
  justify-content: flex-end;
}

.profile-photo {
  width: 340px;
  height: 340px;
  border-radius: 20px;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.8);
  transition: all 0.4s ease;
}

.profile-photo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.about-hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.1;
  color: #ffffff;
}

.highlight {
  color: #66c0c6;
}

.about-hero p {
  font-size: 22px;
  max-width: 600px;
  color: #b0b0b0;
}

/* 3-column grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 0 100px 120px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-column {
  padding: 20px 0;
}

.grid-column h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.grid-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.grid-column li {
  font-size: 18px;
  color: #b0b0b0;
  padding: 8px 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.grid-column li:hover {
  opacity: 1;
  color: #66c0c6;
}

/* Reveal timing for about page */
.delay-0 { transition-delay: 0.3s; }
.delay-1 { transition-delay: 0.6s; }
.delay-2 { transition-delay: 0.9s; }

/* CASE STUDY HERO (same pattern as About) */
.case-hero {
  padding: 140px 100px 80px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.case-hero-image {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: fill;
  border-radius: 20px;
  margin-bottom: 60px;
  transition: all 0.4s ease;
  border:  #66c0c6 2px solid rgba(102, 192, 198, 0.5);
}

.case-hero-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.case-hero .hero-text {
  max-width: 800px;
}

.case-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.1;
  color: #ffffff;
}

.case-hero p {
  font-size: 20px;
  color: #b0b0b0;
  line-height: 1.6;
}

/* CASE STUDY SECTIONS */
.case-section {
  padding: 120px 100px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #333333;
}

.case-section:last-child {
  border-bottom: 1px solid #333333;
}

.case-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
}

.case-content.reverse {
  flex-direction: column-reverse;
}

.case-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.case-section p {
  font-size: 20px;
  color: #b0b0b0;
  line-height: 1.7;
  max-width: 700px;
}

.case-image {
  width: 100%;
  max-width: 900px;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.4s ease;
}

.case-image2 {
  width: 100%;
  max-width: 900px;
  height: 500px;
  object-fit: fill;
  border-radius: 16px;

  transition: all 0.4s ease;
}

.case-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* 5 WIREFRAME HORIZONTAL STRIP - 330px height */
.wireframe-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 40px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

.strip-image {
  height: 330px;           /* EXACTLY 330px */
  width: auto;             /* Maintains aspect ratio */
  flex-shrink: 0;          /* No squishing */
  object-fit: cover;       /* Clean crop if needed */
  object-position: center; /* Perfect centering */
  border-radius: 12px;
  scroll-snap-align: center;
  border:  #66c0c6 2px solid rgba(102, 192, 198, 0.5);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.strip-image:hover {
  transform: scale(1.02);
}

/* Hide scrollbar (webkit) */
.wireframe-strip::-webkit-scrollbar {
  height: 8px;
}

.wireframe-strip::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.wireframe-strip::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.wireframe-strip::-webkit-scrollbar-thumb:hover {
  background: #7ed6dc;
}




/* Staggered reveal delays */
.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }
.delay-4 { transition-delay: 1.2s; }
.delay-5 { transition-delay: 1.5s; }
.delay-6 { transition-delay: 1.8s; }

/* Contact Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #1a1a1a;
  margin: 10% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-header {
  padding: 30px 40px 20px;
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.close {
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #707070;
  line-height: 1;
  transition: all 0.3s ease;
}

.close:hover {
  color: #66c0c6;
  transform: scale(1.1);
}

.contact-info {
  padding: 30px 40px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  font-size: 16px;
  color: #66c0c6;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 20px;
  margin: 0;
  color: #b0b0b0;
  word-break: break-word;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

