/* Eternal Films - Style Sheet */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; margin-bottom: 0.3rem; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: #444; max-width: 700px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-block; padding: 14px 32px; font-size: 0.9rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; border-radius: 0;
    transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}
.btn-primary { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-outline { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.btn-outline:hover { background: #1a1a1a; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: #1a1a1a; }
.btn-full { width: 100%; text-align: center; }

/* ===== Header ===== */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
#header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
    letter-spacing: 0.05em; color: #1a1a1a;
}
.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: #555; transition: color 0.2s;
    position: relative; padding: 4px 0;
}
.nav-desktop a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
    height: 2px; background: #1a1a1a; transition: width 0.3s ease;
}
.nav-desktop a:hover, .nav-desktop a.active { color: #1a1a1a; }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-right .btn { padding: 10px 24px; font-size: 0.8rem; }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span {
    display: block; width: 24px; height: 2px; background: #1a1a1a;
    margin: 5px 0; transition: all 0.3s;
}
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
    display: none; flex-direction: column; align-items: center; gap: 24px;
    padding: 40px 24px 32px; background: #fff;
}
.nav-mobile a {
    font-size: 1.1rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: #333;
}
.nav-mobile a.active { color: #000; font-weight: 700; }
body.menu-open .nav-mobile { display: flex; }

@media (max-width: 768px) {
    .nav-desktop, .header-right .btn { display: none; }
    .burger { display: block; }
}

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 80vh; display: flex; align-items: flex-end;
    justify-content: center; background-size: cover; background-position: center;
    padding: 100px 24px 80px; color: #fff; text-align: center;
}
.hero-short { min-height: 50vh; }
.hero-cta { min-height: 70vh; align-items: center; background-size: cover; background-repeat: no-repeat; background-color: transparent; }
.hero-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.4);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-content h1, .hero-content h2 { color: #fff; margin-bottom: 16px; }
.hero-sub { font-size: 1.2rem; opacity: 0.9; margin-bottom: 24px; }
.hero-content .btn { margin-top: 8px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-white { background: #fff; }
.section-dark { background: #1a1a1a; color: #fff; }
.section-dark .lead { color: #ccc; }
.section-dark h2 { color: #fff; }

/* ===== Split Section ===== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-image img { width: 100%; height: 500px; object-fit: cover; }
.split-text h2 { margin-bottom: 20px; }
@media (max-width: 768px) {
    .split-section { grid-template-columns: 1fr; gap: 32px; }
    .split-image img { height: 350px; }
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px; margin-top: 40px;
}
.gallery-grid img {
    width: 100%; height: 350px; object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ===== Stories Collage ===== */
.stories-collage {
    background: linear-gradient(135deg, #f7f4ee 0%, #efebe3 100%);
    padding: 80px 24px;
    overflow: hidden;
}
.stories-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1.05fr 0.9fr 0.95fr;
    grid-template-columns: 1.05fr 0.9fr 0.95fr;
    gap: 10px;
    -webkit-align-items: start;
    align-items: start;
    grid-auto-rows: max-content;
}
.stories-left,
.stories-center,
.stories-right {
    display: -webkit-grid;
    display: grid;
    gap: 10px;
    -webkit-grid-auto-rows: max-content;
    grid-auto-rows: max-content;
}
.stories-left {
    -webkit-grid-template-rows: 320px 280px;
    grid-template-rows: 320px 280px;
}
.stories-center {
    -webkit-grid-template-rows: auto 260px;
    grid-template-rows: auto 260px;
}
.stories-right {
    -webkit-grid-template-rows: 220px 200px 180px;
    grid-template-rows: 220px 200px 180px;
}
.stories-cell {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(50, 42, 32, 0.13);
    background: #ede8df;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.stories-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(50, 42, 32, 0.2);
}
.stories-img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ede8df;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    transition: filter 0.4s ease;
    display: block;
}
.stories-cell:hover .stories-img {
    filter: saturate(1.05);
}
.stories-title-block {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 34px;
    background: rgba(252, 249, 243, 0.78);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(120, 104, 80, 0.08);
}
.stories-title-block::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(133, 117, 93, 0.1);
    border-radius: 4px;
    pointer-events: none;
}
.stories-title-block span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d4a42;
    margin-bottom: 8px;
}
.stories-title-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 4.2vw, 4.2rem);
    font-weight: 700;
    color: #28362f;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.stories-line {
    width: 80px;
    height: 1px;
    background: #b79a63;
    margin: 0 auto 24px;
    position: relative;
}
.stories-line::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 1px solid #b79a63;
    background: #fbf7ef;
    transform: translateX(-50%) rotate(45deg);
}
.stories-title-block p {
    max-width: 320px;
    color: #6c685f;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
}
.stories-title-block em {
    font-family: 'Playfair Display', Georgia, serif;
    color: rgba(151, 121, 75, 0.58);
    font-size: 1.35rem;
    line-height: 1.35;
}

/* ===== Lightbox Modal ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.active {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 0 60px rgba(0,0,0,0.5);
    animation: lightboxFadeIn 0.3s ease;
}
@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 10px;
    z-index: 10000;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

@media (max-width: 900px) {
    .stories-layout {
        grid-template-columns: 1fr;
    }
    .stories-left,
    .stories-center,
    .stories-right {
        grid-template-rows: unset;
    }
    .stories-left { grid-template-rows: 260px 220px; }
    .stories-center { grid-template-rows: auto 220px; }
    .stories-right { grid-template-rows: 200px 180px 160px; }
    .stories-cell {
        height: 100%;
    }
    .stories-title-block {
        min-height: auto;
        padding: 48px 28px;
    }
}

@media (max-width: 768px) {
    .hero-cta { min-height: 70vh; background-size: cover; background-position: center; background-repeat: no-repeat; }
    .hero-cta[data-mobile-bg="images/mobilebg.jpeg"] { background-image: url('../images/mobilebg.jpeg') !important; }
    .hero-cta[data-mobile-bg="images/img_bd12a5bc6958.webp"] { background-image: url('../images/img_bd12a5bc6958.webp') !important; }
    .stories-collage { padding: 56px 16px; }
    .stories-title-block h2 { font-size: 2.4rem; }
    .stories-title-block p { font-size: 0.9rem; }
    .stories-title-block em { font-size: 1.1rem; }
    .lightbox-prev, .lightbox-next { font-size: 2rem; }
}

/* ===== Video Grid ===== */
.video-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px; margin-top: 40px;
}
.video-card { background: #f8f8f8; overflow: hidden; }
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-title { padding: 12px 16px; font-size: 0.85rem; color: #666; }

/* ===== Services ===== */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    gap: 32px; margin-top: 40px;
    justify-content: center;
}
.service-card { text-align: center; }
.service-image { margin-bottom: 20px; overflow: hidden; }
.service-image img { width: 100%; height: 250px; object-fit: cover; }
.service-info h3 { font-size: 1.3rem; }
.service-info p { color: #555; font-size: 0.95rem; }
.service-price {
    font-weight: 600; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: #888; margin-top: 8px;
}

/* ===== Team ===== */
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px; margin-top: 40px;
}
.team-card { text-align: center; }
.team-photo { margin-bottom: 16px; overflow: hidden; }
.team-photo img { width: 100%; height: 320px; object-fit: cover; }
.team-role {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: #888; margin-bottom: 4px;
}
.team-info h3 { margin-bottom: 8px; }
.team-info p { font-size: 0.9rem; color: #555; }

/* ===== Contact ===== */
.contact-layout {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-details { margin-top: 32px; }
.contact-item { margin-bottom: 24px; }
.contact-item a { color: #1a1a1a; font-weight: 500; border-bottom: 1px solid #ddd; }
.contact-item a:hover { border-color: #1a1a1a; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 6px; color: #555;
}
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; border: 1px solid #ddd; font-size: 1rem;
    font-family: inherit; transition: border-color 0.2s;
    background: #fafafa; border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #1a1a1a; background: #fff;
}
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Footer ===== */
footer { background: #f5f5f5; padding: 48px 0; border-top: 1px solid #e5e5e5; }
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: start;
    flex-wrap: wrap; gap: 32px;
}
.footer-col { min-width: 200px; }
.footer-tagline { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.footer-credit { font-size: 0.8rem; color: #888; }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { color: #555; transition: color 0.2s; }
.footer-social a:hover { color: #1a1a1a; }

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