/* ============================================
   ETERNAL MOMENTS — Editorial Luxury Design
   Inspired by Ratta Studio, Louis Gabriel, Studio Gakis
   ============================================ */

:root {
    --dark: #0e0e0e;
    --dark2: #181818;
    --cream: #f7f5f0;
    --sand: #e8e2d8;
    --text: #2a2a2a;
    --muted: #8a8478;
    --gold: #b8a07e;
    --white: #ffffff;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Josefin Sans', 'Helvetica Neue', sans-serif;
    --script: 'Great Vibes', cursive;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============ HERO ============ */
.hero { position: relative; width: 100%; height: 100vh; overflow: hidden; background: var(--dark); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; will-change: opacity; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.4) 100%); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }

.hero-tagline { position: absolute; top: 50px; left: 60px; z-index: 3; }
.hero-tagline span { display: block; font-family: var(--sans); font-weight: 300; font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.8); line-height: 1.8; }

.hero-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 3; }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 7rem); color: var(--white); letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.hero-sub { font-family: var(--sans); font-weight: 200; font-size: 0.8rem; letter-spacing: 6px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.hero-indicators { position: absolute; bottom: 60px; right: 60px; display: flex; align-items: center; gap: 8px; z-index: 3; }
.slide-ind { background: none; border: none; font-family: var(--sans); font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.4); cursor: pointer; padding: 4px; transition: all 0.3s ease; letter-spacing: 1px; }
.slide-ind.active { color: var(--white); font-weight: 500; font-size: 1.1rem; }
.slide-line { width: 20px; height: 1px; background: rgba(255,255,255,0.2); }

.hero-scroll { position: absolute; bottom: 60px; left: 60px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 3; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--white), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; height: 50px; } 50% { opacity: 0.3; height: 30px; } }
.hero-scroll span { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }

/* ============ STICKY NAV ============ */
.sticky-nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 60px; background: var(--cream); border-bottom: 1px solid rgba(0,0,0,0.06); transition: all 0.4s ease; }
.sticky-nav.scrolled { padding: 14px 60px; box-shadow: 0 2px 30px rgba(0,0,0,0.05); }
.nav-left, .nav-right { display: flex; gap: 40px; }
.nav-left a, .nav-right a { font-family: var(--sans); font-weight: 400; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); transition: color 0.3s ease; }
.nav-left a:hover, .nav-right a:hover { color: var(--text); }
.nav-logo { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: 6px; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.nav-logo:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: all 0.3s; }
.mobile-menu { display: none; }

/* ============ INTRO ============ */
.section-intro { padding: 120px 0 80px; text-align: center; }
.intro-eyebrow { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; font-style: italic; color: var(--muted); margin-bottom: 20px; }
.intro-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 300; color: var(--text); line-height: 1.3; margin-bottom: 60px; letter-spacing: -0.5px; }
.intro-title em { font-style: italic; font-weight: 400; }
.intro-columns { max-width: 900px; margin: 0 auto; }
.intro-columns p { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; line-height: 1.9; color: var(--muted); }
.intro-columns strong { color: var(--text); font-weight: 600; }
.intro-columns em { font-style: italic; }

/* ============ FULL IMAGE ============ */
.full-image { padding: 0 60px; margin-bottom: 8px; }
.full-img { width: 100%; height: 70vh; object-fit: cover; }

/* ============ DUAL IMAGES ============ */
.dual-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 60px; margin-bottom: 8px; }
.dual-images img { width: 100%; height: 75vh; object-fit: cover; }

/* ============ QUOTE ============ */
.quote-section { padding: 120px 0; text-align: center; background: var(--cream); }
.quote-section blockquote { font-family: var(--sans); font-weight: 300; font-size: clamp(0.85rem, 1.8vw, 1.15rem); letter-spacing: 4px; text-transform: uppercase; color: var(--muted); max-width: 800px; margin: 0 auto 24px; line-height: 2.2; }
.quote-section cite { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }

/* ============ OUR STYLE ============ */
.style-section { padding: 100px 0; }
.section-label { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold); display: block; margin-bottom: 16px; }
.section-heading { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; color: var(--text); line-height: 1.4; margin-bottom: 24px; }
.section-heading em { font-weight: 500; font-style: italic; }
.style-section p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.9; color: var(--muted); margin-bottom: 24px; }
.style-section strong { color: var(--text); }
.text-link { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--text); padding-bottom: 4px; transition: all 0.3s; }
.text-link:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }

.style-images { position: relative; height: 550px; }
.style-img-1 { position: absolute; top: 0; left: 0; width: 55%; height: 80%; object-fit: cover; border-radius: 0; }
.style-img-2 { position: absolute; bottom: 0; right: 0; width: 55%; height: 80%; object-fit: cover; box-shadow: -20px -20px 0 var(--cream); }

/* ============ PORTFOLIO ============ */
.portfolio-section { padding: 100px 0 0; background: var(--dark); color: var(--white); }
.portfolio-header { text-align: right; padding: 0 60px 60px 0; }
.portfolio-header .section-label { color: var(--gold); }
.section-heading-lg { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 300; line-height: 1.25; letter-spacing: -0.5px; }
.section-heading-lg em { font-style: italic; font-weight: 400; }

.portfolio-hero { position: relative; width: 100%; padding: 0 60px; margin-bottom: 8px; }
.portfolio-hero img { width: 100%; height: 80vh; object-fit: cover; }
.portfolio-hero-caption { position: absolute; bottom: 40px; left: 100px; }
.portfolio-hero-caption span { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; color: var(--white); }
.portfolio-hero-caption em { font-family: var(--serif); font-size: 1rem; color: rgba(255,255,255,0.6); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 60px; }
.pg-item { position: relative; overflow: hidden; }
.pg-item img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.8s var(--ease); }
.pg-item:hover img { transform: scale(1.05); }
.pg-tall { grid-row: span 2; }
.pg-tall img { height: 100%; }
.pg-wide { grid-column: span 3; }
.pg-wide img { height: 500px; }
.pg-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 24px 24px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); opacity: 0; transform: translateY(10px); transition: all 0.4s ease; }
.pg-item:hover .pg-caption { opacity: 1; transform: translateY(0); }
.pg-caption span { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--white); }
.pg-caption em { font-family: var(--serif); font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ============ CAROUSEL ============ */
.carousel-section { padding: 100px 0; background: var(--cream); overflow: hidden; }
.carousel-track { display: flex; gap: 20px; padding: 0 calc(50vw - 200px); transition: transform 0.6s var(--ease); cursor: grab; }
.carousel-track.grabbing { cursor: grabbing; }
.carousel-slide { flex: 0 0 400px; height: 540px; overflow: hidden; border-radius: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carousel-slide:hover img { transform: scale(1.04); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 40px; }
.car-btn { width: 50px; height: 50px; border: 1px solid var(--muted); border-radius: 50%; background: none; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1rem; }
.car-btn:hover { background: var(--text); color: var(--white); }
.car-counter { font-family: var(--serif); font-size: 1.2rem; color: var(--muted); letter-spacing: 4px; }

/* ============ STORIES ============ */
.stories-section { padding: 100px 0; }
.stories-header { text-align: center; margin-bottom: 60px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.story-card { transition: transform 0.4s var(--ease); }
.story-card:hover { transform: translateY(-6px); }
.story-img { overflow: hidden; margin-bottom: 24px; height: 280px; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.story-card:hover .story-img img { transform: scale(1.05); }
.story-body p { font-family: var(--serif); font-size: 1.05rem; font-style: italic; line-height: 1.8; color: var(--muted); margin-bottom: 20px; }
.story-author strong { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.story-author span { font-family: var(--serif); font-size: 0.9rem; font-style: italic; color: var(--gold); }

/* ============ CTA ============ */
.cta-section { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-image { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-eyebrow { font-family: var(--sans); font-weight: 300; font-size: 0.75rem; letter-spacing: 6px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.cta-title { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; font-style: italic; color: var(--white); margin-bottom: 40px; letter-spacing: -1px; }
.cta-btn { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.4); padding: 16px 50px; transition: all 0.4s; }
.cta-btn:hover { background: var(--white); color: var(--dark); }

/* ============ CONTACT ============ */
.contact-section { padding: 100px 0; background: var(--dark); color: var(--white); }
.contact-section .section-label { color: var(--gold); }
.contact-section .section-heading { color: var(--white); }
.contact-section .section-heading em { color: var(--sand); }
.contact-details { margin: 40px 0; }
.cd-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; gap: 20px; }
.cd-label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); min-width: 70px; }
.cd-item span:last-child { font-family: var(--serif); font-size: 1rem; color: rgba(255,255,255,0.7); }
.social-row { display: flex; gap: 24px; margin-top: 30px; }
.social-row a { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.social-row a:hover { color: var(--white); }

.inquiry-form label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); display: block; margin-bottom: 8px; }
.inquiry-form input, .inquiry-form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.15); color: var(--white); font-family: var(--serif); font-size: 1rem; padding: 10px 0; outline: none; transition: border-color 0.3s; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--gold); }
.inquiry-form textarea { resize: none; }
.submit-btn { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; color: var(--white); background: none; border: 1px solid rgba(255,255,255,0.3); padding: 18px 50px; cursor: pointer; transition: all 0.4s; margin-top: 10px; }
.submit-btn:hover { background: var(--white); color: var(--dark); }
.form-success { text-align: center; padding: 60px 0; }
.form-success h4 { font-family: var(--serif); font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.form-success p { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); }

/* ============ INSTAGRAM ============ */
.insta-section { padding: 80px 0 0; text-align: center; }
.insta-label { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.insta-handle { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; font-style: italic; color: var(--text); display: inline-block; margin-bottom: 50px; transition: color 0.3s; }
.insta-handle:hover { color: var(--gold); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta-item { overflow: hidden; aspect-ratio: 1; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s; filter: saturate(0.8); }
.insta-item:hover img { transform: scale(1.08); filter: saturate(1.1); }

/* ============ FOOTER ============ */
.footer { padding: 60px 0 40px; background: var(--dark); color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.footer-logo:hover { color: var(--white); }
.footer-links { display: flex; gap: 40px; }
.footer-links a { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.3); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom span { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .hero-tagline { top: 30px; left: 30px; }
    .hero-indicators { bottom: 30px; right: 30px; }
    .hero-scroll { display: none; }
    .sticky-nav { padding: 16px 30px; }
    .nav-left, .nav-right { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--cream); padding: 30px; flex-direction: column; gap: 20px; border-bottom: 1px solid rgba(0,0,0,0.06); }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
    .full-image { padding: 0 20px; }
    .dual-images { padding: 0 20px; grid-template-columns: 1fr; }
    .dual-images img { height: 50vh; }
    .portfolio-hero { padding: 0 20px; }
    .portfolio-hero img { height: 50vh; }
    .portfolio-header { padding: 0 20px 40px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; padding: 0 20px; }
    .pg-tall { grid-row: span 1; }
    .pg-wide { grid-column: span 2; }
    .pg-item img { height: 300px; }
    .pg-wide img { height: 350px; }
    .stories-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .carousel-slide { flex: 0 0 300px; height: 400px; }
    .style-images { height: 400px; }
    .cta-image { background-attachment: scroll; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2.5rem; }
    .hero-indicators { gap: 4px; }
    .slide-line { width: 10px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .pg-wide { grid-column: span 1; }
    .pg-wide img { height: 280px; }
    .carousel-slide { flex: 0 0 260px; height: 350px; }
    .style-images { height: 300px; }
    .style-img-1 { width: 60%; height: 75%; }
    .style-img-2 { width: 55%; height: 70%; }
    .footer-top { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .dual-images img { height: 40vh; }
}
