/* ==========================================================================
   Cleo Stella Photography - Design System
   Mobile-first luxury photography website
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  /* Colors - Soft neutrals with black and gold accents */
  --color-cream: #FAF8F5;
  --color-cream-dark: #F5F0EA;
  --color-taupe: #B8A99A;
  --color-taupe-dark: #9A8B7C;
  --color-blush: #E8D5D0;
  --color-blush-dark: #D4BAB3;
  --color-black: #1A1A1A;
  --color-black-soft: #2D2D2D;
  --color-gold: #C8A951;
  --color-gold-dark: #B8973F;
  --color-white: #FFFFFF;
  --color-gray: #6B6B6B;
  --color-gray-light: #E5E5E5;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;

  /* Font Sizes - Mobile first */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 4rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-section: 4vw;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50px;

  /* Container */
  --container-max: 1400px;
  --container-narrow: 900px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
  /* Force vertical scrollbar always visible */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-black);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
}

h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.text-gold {
  color: var(--color-gold);
}

.text-taupe {
  color: var(--color-taupe-dark);
}

.text-gray {
  color: var(--color-gray);
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--text-xs);
  font-weight: 500;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-section);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

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

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  min-height: 48px;
  min-width: 48px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-gold);
}

/* Removed hover effect ::after for cleaner editorial look if requested, or kept simplified */
.btn-primary::after {
  content: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-secondary {
  /* Legacy/Fallback */
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

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

.btn-gold:hover {
  background: var(--color-gold-dark);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: var(--space-md) 0;
  transition: var(--transition-base);
}

.nav.scrolled,
.nav.nav-solid {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

.nav.nav-solid {
  padding: var(--space-md) 0;
}

.nav.nav-solid.scrolled {
  padding: var(--space-sm) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-black);
  z-index: 1001;
}

.nav-logo span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-taupe-dark);
}

.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FAF8F5 !important;
    z-index: 2000;
  }

  .nav-social {
    display: none;
  }

  .nav-social-mobile {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
  }

  .nav-social-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
  }

  .nav-social-mobile svg {
    width: 24px;
    height: 24px;
  }

  .nav-toggle {
    z-index: 9999 !important;
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition-base);
}

/* White hamburger on transparent header (homepage top) */
.nav:not(.scrolled):not(.nav-solid) .nav-toggle span {
  background-color: var(--color-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Revert to black when menu is open (on cream background) */
.nav:not(.scrolled):not(.nav-solid) .nav-toggle.active span {
  background-color: var(--color-black);
  box-shadow: none;
}

/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-black);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: var(--transition-base);
}

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





.nav-social {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  /* Align content to bottom */
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
  padding-bottom: var(--space-2xl);
  /* Add some padding at the bottom */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 60%);
  /* Gradient from bottom */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-sm);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: var(--color-taupe);
}

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

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(26, 26, 26, 0.3) 0%,
      rgba(26, 26, 26, 0.5) 50%,
      rgba(26, 26, 26, 0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-section);
  max-width: 900px;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  color: var(--color-white);
}



/* ==========================================================================
   Services Section
   ========================================================================== */
.services-split {
  display: grid;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-bg img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 60%);
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  color: var(--color-white);
  width: 100%;
}

.service-card h3 {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.service-card p {
  opacity: 0.9;
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.service-price {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Portfolio Grid
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.05);
  filter: grayscale(30%);
}

.portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

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

.portfolio-item-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  text-align: center;
  padding: var(--space-md);
}

/* ==========================================================================
   About Preview
   ========================================================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-gold);
  z-index: -1;
}

.about-content .uppercase {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-gray-light);
  border-bottom: 1px solid var(--color-gray-light);
}

.credential {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

/* ==========================================================================
   Instagram Feed
   ========================================================================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-xl);
  text-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.testimonial-author {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

.testimonial-author strong {
  display: block;
  color: var(--color-black);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-light);
  cursor: pointer;
  transition: var(--transition-base);
}

.testimonial-dot.active {
  background: var(--color-gold);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: var(--color-black);
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-form-wrapper h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.contact-form-wrapper>p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: var(--transition-base);
  min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: var(--color-black);
  color: var(--color-white);
}

.contact-info {
  background: var(--color-black-soft);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.contact-process {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-process h4 {
  color: var(--color-white);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.process-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.process-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

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

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.footer-links h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

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

.footer-contact a:hover {
  color: var(--color-gold);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: var(--text-sm);
  min-height: 44px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-gold);
  color: var(--color-black);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  min-height: 44px;
  min-width: 44px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
}

/* ==========================================================================
   Page Heroes
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

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

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.5);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
}

.page-hero h1 {
  color: var(--color-white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  text-align: left;
  background: none;
  cursor: pointer;
  min-height: 60px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-black);
  transition: var(--transition-base);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-gray);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--color-gold);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-black);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

.pricing-price span {
  font-size: var(--text-base);
  color: var(--color-gray);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-light);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: bold;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--color-gold);
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  position: relative;
}

.timeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content h3 {
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  color: var(--color-gray);
}

/* ==========================================================================
   Blog/Journal
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 460px !important;
}

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

.blog-card-image {
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  overflow: hidden;
}

.blog-card-image img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-md);
  height: 170px !important;
  overflow: hidden;
}

.blog-card-meta {
  font-size: var(--text-xs);
  color: var(--color-taupe-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--text-lg);
}

.blog-card p {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-black);
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-base);
}

.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-base);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  color: var(--color-black);
}

.success-modal p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Exit Intent Popup
   ========================================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  padding: var(--space-md);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-base);
}

.popup-overlay.active .popup {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.popup-close:hover {
  background: var(--color-taupe);
}

.popup h3 {
  margin-bottom: var(--space-md);
}

.popup p {
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   Responsive - Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .portfolio-item-overlay {
    position: relative;
    opacity: 1;
    background: transparent;
    padding: var(--space-xs) 0;
    justify-content: flex-start;
  }

  .portfolio-item-title {
    color: var(--color-black);
    padding: 0;
    text-align: left;
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   Responsive - Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;
  }

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

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-preview {
    grid-template-columns: 1fr 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

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

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

/* ==========================================================================
   Responsive - Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  :root {
    --text-3xl: 3rem;
    --text-4xl: 3.5rem;
    --text-5xl: 4.5rem;
    --text-6xl: 5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    opacity: 1;
    visibility: visible;
    visibility: visible;
    gap: var(--space-lg);
  }

  .nav-social-mobile {
    display: none;
  }

  .nav-menu a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
  }

  .nav-social {
    display: flex;
    align-items: center;
  }

  .nav-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-black);
    transition: var(--transition-base);
  }

  .nav-social a:hover svg {
    fill: var(--color-gold);
  }

  .hero h1 {
    font-size: var(--text-5xl);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    flex-direction: row;
    justify-content: space-between;
  }

  .process-timeline::before {
    left: 40px;
    right: 40px;
    top: 20px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    flex: 1;
  }

  .timeline-number {
    margin: 0 auto var(--space-md);
  }
}

/* ==========================================================================
   Responsive - Large Desktop (1440px+)
   ========================================================================== */
@media (min-width: 1440px) {
  :root {
    --text-5xl: 5rem;
    --text-6xl: 6rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

  .nav,
  .whatsapp-btn,
  .popup-overlay,
  .footer-social,
  .newsletter-form,
  video {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }

  .hero-bg {
    display: none;
  }

  .hero-content {
    color: black;
  }

  .section {
    page-break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }

  .btn {
    border: 1px solid black;
    background: none !important;
    color: black !important;
  }
}

/* Success Modal Fixes */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.success-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-content {
  background: var(--color-white);
  padding: var(--space-xl);
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 4px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.success-modal.visible .success-modal-content {
  transform: translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  flex-shrink: 0;
}

.success-icon svg {
  width: 32px !important;
  height: 32px !important;
  fill: var(--color-white);
  display: block;
}

.success-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

/* ==========================================================================
   Newborn Page Specific Styles
   ========================================================================== */
.studio-experience {
  overflow: hidden;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 992px) {
  .studio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-content .display-3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.studio-content .lead {
  font-size: var(--text-lg);
  color: var(--color-taupe-dark);
  margin-bottom: var(--space-lg);
}

.studio-features {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.studio-features li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: var(--color-white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.studio-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: var(--space-sm);
  aspect-ratio: 4/5;
  position: relative;
}

.collage-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.main-img {
  grid-column: 1 / 9;
  grid-row: 1 / 10;
  z-index: 1;
}

.detail-img-1 {
  grid-column: 8 / 13;
  grid-row: 3 / 8;
  z-index: 2;
  border: 4px solid var(--color-white);
}

.detail-img-2 {
  grid-column: 5 / 12;
  grid-row: 8 / 13;
  z-index: 3;
  border: 4px solid var(--color-white);
}

/* ==========================================================================
   Weddings Page Editorial Styles
   ========================================================================== */
.editorial-content {
  padding-bottom: var(--space-3xl);
}

.editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.editorial-row:last-child {
  margin-bottom: 0;
}

.editorial-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

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

.editorial-text {
  padding: var(--space-md);
}

.editorial-text h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.editorial-text p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-gray);
  line-height: 1.8;
}

.serif-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 992px) {
  .editorial-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .editorial-row.reverse .editorial-image {
    order: 2;
  }

  .editorial-row.reverse .editorial-text {
    order: 1;
  }

  .editorial-image {
    height: 600px;
    /* Taller editorial look on desktop */
  }

  .editorial-text {
    padding: var(--space-xl);
  }
}

/* Fix for high-res image downscaling graininess */
.about-image img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
  backface-visibility: hidden;
}