/* ---------------- lightbox overlay ---------------- */
.lightbox-overlay {
    display: none !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: auto;
    padding: 72px 20px 24px;
    transition: opacity 0.3s;
}

.logo-wrap strong {
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #1f2a3a;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
    line-height: 1.1;
    display: inline-block;
}
.lightbox-overlay.open {
    display: flex !important;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    background: #fff;
}

.lightbox-overlay video {
    max-width: 90vw;
    max-height: 62vh;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    background: #000;
}

.lightbox-caption {
    display: none;
    width: min(900px, 90vw);
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 10px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    text-align: left;
}

.lightbox-caption p,
.lightbox-caption li {
    color: #fff;
}

.lightbox-caption ul {
    margin: 0 0 12px;
    padding-left: 18px;
}
.lightbox-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover {
    background: rgba(0,0,0,0.5);
}
:root{
    --dark:#1f2a3a;
    --overlay:#0b1f33;
    --accent:#cdbfa3;
    --bg:#f4f3ef;
    --accent2: #efece6;
}

*{box-sizing:border-box}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    background:var(--bg);
    color:var(--dark);
    line-height:1.7;
}

h1,h2,h3{
    font-family: Georgia, "Times New Roman", serif;
    font-weight:500;
}

a{
    color:#1565c0;
    text-decoration:underline;
    text-underline-offset:2px;
    transition:color .2s;
}

/* Keep navigation links styled as before */
.desktop-nav a {
    color:var(--dark);
    text-transform:uppercase;
    font-size:14px;
    letter-spacing:.08em;
    position:relative;
    text-decoration:none;
    transition:color .2s;
}

.desktop-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    height:1px;
    width:0;
    background:var(--accent);
    transition:.3s;
}

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

.menu-overlay a {
    color:white;
    font-size:28px;
    font-family:Georgia,serif;
    text-decoration:none;
    transition:color .2s;
}
/* ---------------- header ---------------- */

.site-header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:10;
    padding:18px 28px;
    background:var(--accent2);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.header-inner{
    max-width:1300px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo-wrap{
    display:flex;
    align-items:center;
    gap:16px;
    color:var(--dark);
}



@keyframes logoTitleIn {
    to {
        opacity: 1;
        transform: none;
    }
}

.logo-wrap img{
    width:160px;
    border-radius:50%;
    background:white;
    padding:4px;
}

.desktop-nav{
    display:flex;
    gap:26px;
}

.desktop-nav a{
    color:var(--dark);
    text-transform:uppercase;
    font-size:14px;
    letter-spacing:.08em;
    position:relative;
}

.desktop-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    height:1px;
    width:0;
    background:var(--accent);
    transition:.3s;
}

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

/* burger */

.burger{
    display:none;
    width:28px;
    height:20px;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
}

.burger span{
    height:2px;
    background:black;
    display:block;
}

/* ---------------- overlay menu ---------------- */

.menu-overlay{
    position:fixed;
    inset:0;
    background:var(--overlay);
    z-index:50;
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    pointer-events:none;
    transition:.4s;
}

.menu-overlay.open{
    opacity:1;
    pointer-events:auto;
}

.menu-overlay nav{
    display:flex;
    flex-direction:column;
    gap:28px;
    text-align:center;
}

.menu-overlay a{
    color:white;
    font-size:28px;
    font-family:Georgia,serif;
}

/* ---------------- hero ---------------- */

.hero{
    min-height:90vh;
    background:
        linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)),
        url("backimage.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px 60px;
}


.hero h2 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 0 #cdbfa3;
    max-width: 900px;
    opacity: 0;
    transform: translateY(-80px) scale(0.92) rotateX(35deg) skewX(-8deg);
    filter: blur(6px);
    animation: heroTitleIn 1.1s cubic-bezier(.22,1,.36,1) 0.1s forwards;
    transition: text-shadow .3s, filter .3s;
}

.hero h2.visible {
    filter: blur(0) !important;
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.92) rotateX(35deg) skewX(-8deg);
        filter: blur(6px);
    }
    60% {
        opacity: 1;
        filter: blur(0.5px);
        transform: translateY(10px) scale(1.04) rotateX(-6deg) skewX(2deg);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: none;
    }
}

@keyframes heroTitleIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------------- sections ---------------- */

main{
    width:100%;
}

.section{
    padding:90px 20px;
}

.section.light{background:white;}
.section.beige{background:#efece6;}

.section-inner{
    max-width:900px;
    margin:auto;
}

/* ---------------- gallery ---------------- */
.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top:22px;
}

.gallery-item{
    display:block;
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 6px 18px rgba(31,42,58,0.08);
    transition:transform .35s ease, box-shadow .35s ease;
    background:#fff;
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.gallery-item video{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    background:#000;
}

.gallery-video-item video{
    pointer-events:none;
}

.gallery-item:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(31,42,58,0.12);
}

.video-description{
    display:none;
    margin-top:18px;
}

.image-description{
    display:none;
}

.featured-image{
    margin: 40px 0 -20px 0;
    padding: 0;
    text-align: center;
}

.featured-image img{
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(31,42,58,0.12);
    display: block;
    margin: 0 auto;
}

.faq-list{
    margin-top: 28px;
}

#faq-section{
    padding-top: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.faq-item{
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0dcd6;
}

.faq-item:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3{
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--dark);
}

.faq-item p{
    margin: 0;
    color: var(--dark);
}

/* animate gallery images when parent reveal becomes visible */
.reveal.visible .gallery-item img{
    animation:fadeInUp 0.5s cubic-bezier(.25,.46,.45,.94) forwards;
    animation-delay:0.12s;
    opacity:0;
}

@media(max-width:1000px){
    .gallery{grid-template-columns:repeat(3,1fr);} 
}

@media(max-width:680px){
    .gallery{grid-template-columns:repeat(2,1fr);} 
    .gallery-item img{height:180px}
    .gallery-item video{height:180px}
}

@media(max-width:420px){
    .gallery{grid-template-columns:1fr;} 
    .gallery-item img{height:260px}
    .gallery-item video{height:260px}
}

.section h2{
    font-size:36px;
}

.section h3{
    font-size:26px;
    margin-top:40px;
}

.section ul{
    padding-left:18px;
}

.section li{
    margin-bottom:14px;
}

.section span{
    display:block;
    font-size:.9em;
    color:#666;
}

/* ---------------- reveal animation ---------------- */

@keyframes slideInFromLeft{
    from{
        opacity:0;
        transform:translateX(-40px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes slideInFromRight{
    from{
        opacity:0;
        transform:translateX(40px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(25px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.reveal{
    opacity:0;
}

.reveal.visible{
    animation:slideInFromLeft 0.55s cubic-bezier(.25,.46,.45,.94) forwards;
}

/* alternate direction for every other section */
.section:nth-child(even) .reveal.visible{
    animation:slideInFromRight 0.55s cubic-bezier(.25,.46,.45,.94) forwards;
}

/* stagger effect for child elements */
.reveal.visible > h2:nth-of-type(1){
    animation-delay:0.1s;
}

.reveal.visible > h2:nth-of-type(2){
    animation-delay:0.2s;
}

.reveal.visible > h3{
    animation-delay:0.15s;
}

.reveal.visible > ul,
.reveal.visible > p{
    animation:fadeInUp 0.5s cubic-bezier(.25,.46,.45,.94) forwards;
    animation-delay:0.12s;
}

/* hero section from top */
.hero .reveal{
    transform:translateY(35px);
}

.hero .reveal.visible{
    animation:fadeInUp 0.6s cubic-bezier(.25,.46,.45,.94) forwards;
}

/* ---------------- footer ---------------- */

.site-footer{
    background:#1f2a3a;
    color:white;
    text-align:center;
    padding:40px 15px;
    font-size:14px;
}

/* ---------------- responsive ---------------- */

@media(max-width:900px){

    .logo-wrap img{
        width:96px;
    }

    .desktop-nav{
        display:none;
    }

    .burger{
        display:flex;
    }

    .hero h2{
        font-size:34px;
    }
}