/* ===== VARIABLES & RESET ===== */
:root {
  --pastel-blue: #d6eaf8;
  --pastel-peach: #fde2cc;
  --pastel-pink: #f9d5e5;
  --pastel-yellow: #fef9e7;
  --pastel-green: #d5f5e3;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ANIMATION BASE ===== */
.anim-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon {
  color: #6c63ff;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6c63ff;
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--dark);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f4fd 0%, #fef0e4 50%, #fef9e7 100%);
  padding: 120px 24px 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--pastel-blue);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--pastel-peach);
  bottom: -50px;
  left: -80px;
  animation-delay: 2s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--pastel-pink);
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-floating-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floatImg 6s ease-in-out infinite;
  transition: transform 0.5s;
}

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

.fi-1 { width: 160px; height: 200px; top: 12%; left: 5%; animation-delay: 0s; }
.fi-2 { width: 130px; height: 170px; top: 8%; right: 8%; animation-delay: 1s; }
.fi-3 { width: 140px; height: 180px; bottom: 15%; left: 8%; animation-delay: 2s; }
.fi-4 { width: 150px; height: 190px; bottom: 12%; right: 5%; animation-delay: 0.5s; }
.fi-5 { width: 120px; height: 150px; top: 50%; right: 20%; animation-delay: 1.5s; }

@keyframes floatImg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6c63ff;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid #ddd;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--dark);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===== INTRO SECTION ===== */
.intro-section {
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.intro-card {
  padding: 48px 40px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.intro-card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.intro-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.intro-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.skill-tag {
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.3s, background 0.3s;
}

.skill-tag:hover {
  transform: scale(1.08);
  background: var(--white);
}

/* ===== FEATURES ===== */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-left, .feature-right {
  padding: 48px 40px;
  border-radius: var(--radius);
  background: #f8f9fa;
  transition: transform var(--transition);
}

.feature-left:hover, .feature-right:hover {
  transform: translateY(-4px);
}

.feature-left h3, .feature-right h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-left p, .feature-right p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-preview {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-img {
  height: 60px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.mini-img:hover { transform: scale(1.05); }

.mi-1 { background: var(--pastel-blue); }
.mi-2 { background: var(--pastel-peach); }
.mi-3 { background: var(--pastel-pink); }
.mi-4 { background: var(--pastel-green); }

.feature-quote {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border-left: 3px solid #6c63ff;
}

.feature-quote p {
  font-style: italic;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-quote-rating {
  color: #f39c12;
  font-size: 0.85rem;
}

/* ===== HUMANS SECTION ===== */
.humans-section {
  padding: 100px 0;
  text-align: center;
}

.humans-content {
  max-width: 750px;
  margin: 0 auto;
}

.humans-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.humans-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 100px 0;
  background: #fafafa;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6c63ff;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-header h2 em {
  font-style: italic;
  color: #6c63ff;
}

.section-desc {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Gallery Filter */
.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--white);
  border: 1.5px solid #eee;
  transition: all var(--transition);
}

.cat-btn:hover, .cat-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: translateY(-2px);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s;
}

.gallery-item.gi-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.gi-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  pointer-events: none;
}

/* ===== COLLECTIONS ===== */
.collections-section {
  padding: 100px 0;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.collection-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: #f8f9fa;
  transition: transform var(--transition), box-shadow var(--transition);
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.collection-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: bounceIcon 3s ease-in-out infinite;
}

.collection-card:nth-child(2) .collection-icon { animation-delay: 0.5s; }
.collection-card:nth-child(3) .collection-icon { animation-delay: 1s; }
.collection-card:nth-child(4) .collection-icon { animation-delay: 1.5s; }
.collection-card:nth-child(5) .collection-icon { animation-delay: 2s; }
.collection-card:nth-child(6) .collection-icon { animation-delay: 2.5s; }

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.collection-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.collection-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== PARALLAX BANNER ===== */
.parallax-banner {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -50px;
  background: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1400&h=800&fit=crop') center/cover;
  will-change: transform;
}

.parallax-content {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  padding: 60px 80px;
  border-radius: var(--radius);
  max-width: 600px;
  box-shadow: var(--shadow-lg);
}

.parallax-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6c63ff;
  margin-bottom: 12px;
}

.parallax-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.parallax-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: #fafafa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #f39c12;
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-card > p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: #6c63ff; }

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition);
  color: var(--text-light);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.5s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ===== CTA ===== */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-peach) 100%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer-brand .nav-logo {
  color: var(--white);
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 2rem;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
}

.lightbox-info {
  color: white;
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== STAGGER DELAYS ===== */
.anim-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.anim-on-scroll[data-delay="150"] { transition-delay: 0.15s; }
.anim-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.anim-on-scroll[data-delay="300"] { transition-delay: 0.3s; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .floating-img { display: none; }

  .intro-grid,
  .features-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.gi-wide { grid-column: span 1; }
  .gallery-item.gi-tall { grid-row: span 1; aspect-ratio: 4/3; }

  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .parallax-content { padding: 40px 30px; margin: 0 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
}
