/* =============================================
   B.D. Photography - styles.css
   Warm editorial, luxury nature photography
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
   --black:        #0d0d0d;
   --dark:         #1a1814;
   --dark-mid:     #2a2520;
   --earth:        #8b6f47;
   --earth-light:  #b8956a;
   --gold:         #c9a96e;
   --gold-light:   #e2c99a;
   --cream:        #f5f0e8;
   --cream-dark:   #ede5d8;
   --warm-white:   #faf8f4;
   --text-dark:    #1a1814;
   --text-mid:     #4a4035;
   --text-light:   #8a7a6a;
   --text-cream:   #c8b99a;
   --border:       rgba(201,169,110,0.25);
   --border-light: rgba(201,169,110,0.12);

   --font-display: 'Cormorant Garamond', Georgia, serif;
   --font-body:    'Lato', sans-serif;

   --transition:      all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   --transition-fast: all 0.2s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

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

body {
   background-color: var(--dark);
   font-family: var(--font-body);
   color: var(--cream);
   line-height: 1.7;
   overflow-x: hidden;
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul   { list-style: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
   position: fixed;
   top: 0; left: 0; right: 0;
   z-index: 1000;
   padding: 0 48px;
   height: 72px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   transition: var(--transition);
}

.nav.scrolled {
   background-color: rgba(13,13,13,0.95);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--border);
   height: 60px;
}

.nav-logo {
   font-family: var(--font-display);
   font-size: 1.4rem;
   font-weight: 300;
   letter-spacing: 0.15em;
   color: var(--warm-white);
   text-transform: uppercase;
}

.nav-logo span { color: var(--gold); }

.nav-links {
   display: flex;
   gap: 36px;
   align-items: center;
}

.nav-links a {
   font-family: var(--font-body);
   font-size: 0.78rem;
   font-weight: 400;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: var(--cream-dark);
   position: relative;
   padding-bottom: 3px;
}

.nav-links a::after {
   content: '';
   position: absolute;
   bottom: 0; left: 0;
   width: 0; height: 1px;
   background-color: var(--gold);
   transition: width 0.3s ease;
}

.nav-links a:hover        { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active        { color: var(--gold); }

.nav-toggle {
   display: none;
   flex-direction: column;
   gap: 6px;
   background: none;
   border: none;
   cursor: pointer;
   padding: 4px;
   z-index: 1001;
}

.nav-toggle span {
   display: block;
   width: 28px; height: 1px;
   background-color: var(--cream);
   transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SLIDESHOW
   ============================================= */
.hero {
   position: relative;
   width: 100%; height: 100vh;
   min-height: 600px;
   overflow: hidden;
   background-color: var(--black);
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
   position: absolute; inset: 0;
   opacity: 0;
   transition: opacity 1.8s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
   width: 100%; height: 100%;
   object-fit: cover;
   object-position: center;
   animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
   0%   { transform: scale(1.08) translate(0, 0); }
   100% { transform: scale(1) translate(-1%, -0.5%); }
}

.hero::before {
   content: '';
   position: absolute; inset: 0;
   background: linear-gradient(to bottom,
      rgba(13,13,13,0.3) 0%,
      rgba(13,13,13,0.1) 40%,
      rgba(13,13,13,0.5) 80%,
      rgba(13,13,13,0.85) 100%);
   z-index: 2;
}

.hero::after {
   content: '';
   position: absolute; inset: 0;
   background: linear-gradient(to right, rgba(13,13,13,0.4) 0%, transparent 50%);
   z-index: 2;
}

.hero-content {
   position: absolute;
   bottom: 90px; left: 80px;
   z-index: 3;
   max-width: 640px;
}

.hero-eyebrow {
   font-family: var(--font-body);
   font-size: 0.72rem;
   font-weight: 400;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 20px;
   opacity: 0;
   animation: fadeUp 1s ease forwards 0.5s;
}

.hero-title {
   font-family: var(--font-display);
   font-size: clamp(3rem, 6vw, 5.5rem);
   font-weight: 300;
   line-height: 1.1;
   color: var(--warm-white);
   margin-bottom: 24px;
   opacity: 0;
   animation: fadeUp 1s ease forwards 0.8s;
}

.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-tagline {
   font-family: var(--font-body);
   font-size: 0.9rem;
   font-weight: 300;
   letter-spacing: 0.1em;
   color: var(--cream-dark);
   margin-bottom: 40px;
   opacity: 0;
   animation: fadeUp 1s ease forwards 1.1s;
}

.hero-cta {
   display: inline-flex;
   gap: 20px;
   opacity: 0;
   animation: fadeUp 1s ease forwards 1.4s;
   flex-wrap: wrap;
}

.hero-dots {
   position: absolute;
   bottom: 36px; left: 80px;
   z-index: 3;
   display: flex;
   gap: 10px;
}

.hero-dot {
   width: 28px;
   height: 3px;
   background-color: rgba(255,255,255,0.3);
   border: none;
   cursor: pointer;
   transition: var(--transition);
   padding: 6px 0;
   box-sizing: content-box;
}

.hero-dot.active {
   background-color: var(--gold);
   width: 48px;
}

.hero-scroll-hint {
   position: absolute;
   bottom: 36px; right: 48px;
   z-index: 3;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
   opacity: 0;
   animation: fadeIn 1s ease forwards 2s;
}

.hero-scroll-hint span {
   font-size: 0.65rem;
   letter-spacing: 0.25em;
   text-transform: uppercase;
   color: var(--text-cream);
   writing-mode: vertical-rl;
}

.scroll-line {
   width: 1px; height: 48px;
   background: linear-gradient(to bottom, var(--gold), transparent);
   animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
   0%, 100% { opacity: 0.4; }
   50%       { opacity: 1; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
   display: inline-block;
   font-family: var(--font-body);
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   padding: 14px 32px;
   border: none;
   cursor: pointer;
   transition: var(--transition);
   text-align: center;
}

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

.btn-gold:hover {
   background-color: var(--gold-light);
   transform: translateY(-2px);
   box-shadow: 0 8px 24px rgba(201,169,110,0.3);
   color: var(--dark);
}

.btn-outline {
   background-color: transparent;
   color: var(--cream);
   border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
   border-color: var(--gold);
   color: var(--gold);
   transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
   background-color: var(--text-dark);
   color: var(--cream);
}

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section   { padding: 100px 0; }
.section-dark  { background-color: var(--dark); }
.section-cream { background-color: var(--cream); color: var(--text-dark); }
.section-black { background-color: var(--black); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-eyebrow {
   font-family: var(--font-body);
   font-size: 0.7rem;
   font-weight: 400;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 16px;
   display: block;
}

.section-title {
   font-family: var(--font-display);
   font-size: clamp(2rem, 4vw, 3.2rem);
   font-weight: 300;
   line-height: 1.2;
   color: var(--warm-white);
   margin-bottom: 20px;
}

.section-title.dark { color: var(--text-dark); }
.section-title em   { font-style: italic; color: var(--gold); }

.section-subtitle {
   font-size: 0.95rem;
   font-weight: 300;
   color: var(--text-cream);
   max-width: 520px;
   line-height: 1.8;
}

.section-subtitle.dark { color: var(--text-mid); }

.section-divider {
   width: 48px; height: 1px;
   background-color: var(--gold);
   margin: 24px 0;
}

/* =============================================
   GALLERY GRID - MASONRY
   ============================================= */
.gallery-grid {
   columns: 3;
   column-gap: 12px;
   margin-top: 48px;
}

.gallery-item {
   break-inside: avoid;
   margin-bottom: 12px;
   overflow: hidden;
   position: relative;
   cursor: pointer;
   background-color: var(--dark-mid);
}

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

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

.gallery-overlay {
   position: absolute; inset: 0;
   background: linear-gradient(to top, rgba(13,13,13,0.8) 0%, transparent 50%);
   opacity: 0;
   transition: opacity 0.4s ease;
   display: flex;
   align-items: flex-end;
   padding: 20px;
}

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

.gallery-overlay-text {
   font-family: var(--font-display);
   font-size: 1rem;
   font-weight: 300;
   color: var(--warm-white);
   letter-spacing: 0.05em;
}

.gallery-placeholder {
   width: 100%;
   background-color: var(--dark-mid);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-light);
   font-size: 0.75rem;
   letter-spacing: 0.1em;
}

/* =============================================
   CATEGORY GRID
   ============================================= */
.category-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 4px;
   margin-top: 48px;
}

.category-card {
   position: relative;
   overflow: hidden;
   aspect-ratio: 4/3;
   cursor: pointer;
   background-color: var(--dark-mid);
}

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

.category-card:hover img { transform: scale(1.08); }

.category-card-overlay {
   position: absolute; inset: 0;
   background: linear-gradient(to top,
      rgba(13,13,13,0.85) 0%,
      rgba(13,13,13,0.1) 60%,
      transparent 100%);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 28px;
   transition: var(--transition);
}

.category-card:hover .category-card-overlay {
   background: linear-gradient(to top,
      rgba(13,13,13,0.92) 0%,
      rgba(13,13,13,0.3) 60%,
      rgba(13,13,13,0.1) 100%);
}

.category-name {
   font-family: var(--font-display);
   font-size: 1.6rem;
   font-weight: 300;
   color: var(--warm-white);
   letter-spacing: 0.05em;
   margin-bottom: 6px;
}

.category-count {
   font-family: var(--font-body);
   font-size: 0.7rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--gold);
   opacity: 0;
   transform: translateY(8px);
   transition: var(--transition);
}

.category-card:hover .category-count {
   opacity: 1;
   transform: translateY(0);
}

.category-placeholder {
   width: 100%; height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 3rem;
   background-color: var(--dark-mid);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
   position: fixed; inset: 0;
   background-color: rgba(10,10,10,0.97);
   z-index: 2000;
   display: none;
   align-items: center;
   justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
   max-width: 90vw;
   max-height: 90vh;
   object-fit: contain;
   box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-close {
   position: absolute;
   top: 24px; right: 32px;
   background: none; border: none;
   color: var(--cream);
   font-size: 2rem;
   cursor: pointer;
   font-weight: 300;
   transition: color 0.2s;
   line-height: 1;
}

.lightbox-close:hover { color: var(--gold); }

.lightbox-prev,
.lightbox-next {
   position: absolute;
   top: 50%; transform: translateY(-50%);
   background: none;
   border: 1px solid rgba(255,255,255,0.2);
   color: var(--cream);
   font-size: 1.2rem;
   width: 48px; height: 48px;
   cursor: pointer;
   transition: var(--transition-fast);
   display: flex;
   align-items: center;
   justify-content: center;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
   border-color: var(--gold);
   color: var(--gold);
}

.lightbox-caption {
   position: absolute;
   bottom: 24px; left: 50%;
   transform: translateX(-50%);
   font-family: var(--font-display);
   font-size: 0.9rem;
   font-style: italic;
   color: var(--text-cream);
   letter-spacing: 0.05em;
   white-space: nowrap;
}

/* =============================================
   FEATURED SECTION
   ============================================= */
.featured-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-rows: auto auto;
   gap: 0;
   margin-top: 48px;
}

.featured-main {
   grid-column: 1;
   grid-row: 1 / 3;
   aspect-ratio: unset;
   height: 100%;
   overflow: hidden;
   position: relative;
   cursor: pointer;
   background-color: var(--dark-mid);
}

.featured-secondary {
   grid-column: 2;
   aspect-ratio: 4/3;
   overflow: hidden;
   position: relative;
   cursor: pointer;
   background-color: var(--dark-mid);
}

.featured-main img,
.featured-secondary img {
   width: 100%; height: 100%;
   object-fit: cover;
   transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-main:hover img,
.featured-secondary:hover img { transform: scale(1.05); }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: center;
}

.about-image { position: relative; }

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

.about-image::before {
   content: '';
   position: absolute;
   top: -16px; left: -16px;
   right: 16px; bottom: 16px;
   border: 1px solid var(--border);
   z-index: -1;
}

.about-text h2 {
   font-family: var(--font-display);
   font-size: clamp(1.8rem, 3vw, 2.8rem);
   font-weight: 300;
   line-height: 1.2;
   color: var(--warm-white);
   margin-bottom: 24px;
}

.about-text p {
   font-size: 0.95rem;
   font-weight: 300;
   color: var(--text-cream);
   margin-bottom: 18px;
   line-height: 1.9;
}

.about-stats {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   margin-top: 40px;
   padding-top: 40px;
   border-top: 1px solid var(--border);
}

.about-stat h3 {
   font-family: var(--font-display);
   font-size: 2.4rem;
   font-weight: 300;
   color: var(--gold);
   line-height: 1;
   margin-bottom: 6px;
}

.about-stat p {
   font-size: 0.72rem;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   color: var(--text-cream);
   margin: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2px;
   margin-top: 48px;
}

.service-card {
   background-color: var(--dark-mid);
   padding: 48px 36px;
   border: 1px solid var(--border-light);
   transition: var(--transition);
   position: relative;
   overflow: hidden;
}

.service-card::before {
   content: '';
   position: absolute;
   bottom: 0; left: 0;
   width: 0; height: 2px;
   background-color: var(--gold);
   transition: width 0.4s ease;
}

.service-card:hover { background-color: #221e19; border-color: var(--border); }
.service-card:hover::before { width: 100%; }

.service-icon { font-size: 1.8rem; margin-bottom: 20px; display: block; }

.service-card h3 {
   font-family: var(--font-display);
   font-size: 1.5rem;
   font-weight: 400;
   color: var(--warm-white);
   margin-bottom: 12px;
}

.service-card p {
   font-size: 0.88rem;
   font-weight: 300;
   color: var(--text-cream);
   line-height: 1.8;
   margin-bottom: 20px;
}

.service-price {
   font-family: var(--font-display);
   font-size: 1.3rem;
   color: var(--gold);
   font-style: italic;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1.2fr;
   gap: 80px;
   align-items: start;
}

.contact-info h2 {
   font-family: var(--font-display);
   font-size: clamp(1.8rem, 3vw, 2.8rem);
   font-weight: 300;
   color: var(--warm-white);
   margin-bottom: 20px;
   line-height: 1.2;
}

.contact-info p {
   font-size: 0.9rem;
   font-weight: 300;
   color: var(--text-cream);
   line-height: 1.9;
   margin-bottom: 40px;
}

.contact-detail { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

.contact-detail-item { display: flex; flex-direction: column; gap: 3px; }

.contact-detail-label {
   font-size: 0.65rem;
   letter-spacing: 0.25em;
   text-transform: uppercase;
   color: var(--gold);
}

.contact-detail-value {
   font-family: var(--font-display);
   font-size: 1rem;
   color: var(--cream);
}

.form-group { margin-bottom: 24px; }

.form-group label {
   display: block;
   font-size: 0.68rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
   width: 100%;
   background-color: transparent;
   border: none;
   border-bottom: 1px solid var(--border);
   padding: 10px 0;
   font-family: var(--font-body);
   font-size: 0.95rem;
   font-weight: 300;
   color: var(--cream);
   transition: border-color 0.3s ease;
   outline: none;
   appearance: none;
   -webkit-appearance: none;
}

.form-group select {
   cursor: pointer;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 4px center;
   padding-right: 24px;
}

.form-group select option { background-color: var(--dark); color: var(--cream); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); font-weight: 300; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--gold); }

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid { border-bottom-color: #c0392b; }

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid { border-bottom-color: #52b788; }

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

.error-msg {
   font-size: 0.75rem;
   color: #e07070;
   margin-top: 6px;
   display: none;
   letter-spacing: 0.05em;
}

.error-msg.visible { display: block; }

.form-success {
   display: none;
   padding: 24px;
   border: 1px solid var(--border);
   text-align: center;
   margin-top: 20px;
}

.form-success.visible { display: block; }

.form-success p {
   font-family: var(--font-display);
   font-size: 1.1rem;
   font-style: italic;
   color: var(--gold-light);
}

/* =============================================
   CLIENT PORTAL
   ============================================= */
.portal-wrap {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: var(--dark);
   padding: 40px;
}

.portal-box { max-width: 420px; width: 100%; text-align: center; }

.portal-box h1 {
   font-family: var(--font-display);
   font-size: 2.2rem;
   font-weight: 300;
   color: var(--warm-white);
   margin-bottom: 12px;
}

.portal-box p {
   font-size: 0.88rem;
   color: var(--text-cream);
   margin-bottom: 40px;
   line-height: 1.8;
}

.portal-input {
   width: 100%;
   background-color: transparent;
   border: none;
   border-bottom: 1px solid var(--border);
   padding: 12px 0;
   font-family: var(--font-body);
   font-size: 1rem;
   color: var(--cream);
   text-align: center;
   letter-spacing: 0.2em;
   outline: none;
   margin-bottom: 32px;
   transition: border-color 0.3s;
}

.portal-input:focus { border-bottom-color: var(--gold); }

.portal-error {
   color: #e07070;
   font-size: 0.82rem;
   margin-bottom: 16px;
   display: none;
   letter-spacing: 0.05em;
}

.portal-error.visible { display: block; }

/* =============================================
   FOOTER
   ============================================= */
footer {
   background-color: var(--black);
   padding: 60px 0 32px;
   border-top: 1px solid var(--border-light);
}

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

.footer-brand h3 {
   font-family: var(--font-display);
   font-size: 1.3rem;
   font-weight: 300;
   letter-spacing: 0.1em;
   color: var(--warm-white);
   margin-bottom: 12px;
}

.footer-brand p {
   font-size: 0.85rem;
   font-weight: 300;
   color: var(--text-light);
   line-height: 1.8;
   max-width: 280px;
}

.footer-col h4 {
   font-family: var(--font-body);
   font-size: 0.68rem;
   letter-spacing: 0.25em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
   font-size: 0.88rem;
   font-weight: 300;
   color: var(--text-light);
   transition: color 0.2s;
}

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

.footer-bottom {
   border-top: 1px solid var(--border-light);
   padding-top: 24px;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.footer-bottom p {
   font-size: 0.78rem;
   color: var(--text-light);
   letter-spacing: 0.05em;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
   from { opacity: 0; transform: translateY(24px); }
   to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
   from { opacity: 0; }
   to   { opacity: 1; }
}

.fade-up {
   opacity: 0;
   transform: translateY(32px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
   .gallery-grid { columns: 2; }
   .about-grid   { gap: 48px; }
   .contact-grid { gap: 48px; }
   .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
   .nav { padding: 0 24px; }
   .nav-toggle { display: flex; }

   .nav-links {
      position: fixed;
      top: 0; right: -100%;
      width: 75vw; max-width: 320px;
      height: 100vh;
      background-color: rgba(13,13,13,0.98);
      backdrop-filter: blur(20px);
      flex-direction: column;
      justify-content: center;
      gap: 32px;
      padding: 40px;
      transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      border-left: 1px solid var(--border);
   }

   .nav-links.open  { right: 0; }
   .nav-links a     { font-size: 0.9rem; }

   .hero-content    { left: 24px; right: 24px; bottom: 80px; }
   .hero-dots       { left: 24px; }
   .hero-scroll-hint { display: none; }
   .hero-title      { font-size: 2.4rem; }

   .container { padding: 0 24px; }
   .section   { padding: 70px 0; }

   .gallery-grid    { columns: 2; column-gap: 6px; }
   .gallery-item    { margin-bottom: 6px; }
   .category-grid   { grid-template-columns: 1fr 1fr; }
   .featured-grid   { grid-template-columns: 1fr; }
   .featured-main   { grid-row: auto; aspect-ratio: 16/9; }
   .about-grid      { grid-template-columns: 1fr; gap: 40px; }
   .contact-grid    { grid-template-columns: 1fr; gap: 40px; }
   .services-grid   { grid-template-columns: 1fr; }
   .about-stats     { grid-template-columns: repeat(3, 1fr); }
   .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
   .footer-bottom   { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
   .gallery-grid  { columns: 1; }
   .category-grid { grid-template-columns: 1fr; }
   .hero-title    { font-size: 1.9rem; }
   .about-stats   { grid-template-columns: 1fr 1fr; gap: 20px; }
   .hero-cta      { flex-direction: column; }
}