@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root{
    --gold:#f5c15d;
    --orange:#e57a2f;
    --glass:rgba(18,14,12,.72);
    --line:rgba(245,193,93,.38);
    --text:#fff7ed;
    --brown:#7a3f22;
}

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

body{
    font-family:'Nunito Sans', Arial, sans-serif;
    color:var(--text);

    background:
        radial-gradient(circle at 18% 10%, rgba(245,193,93,.22), transparent 34%),
        radial-gradient(circle at 82% 74%, rgba(229,122,47,.18), transparent 36%),
        linear-gradient(135deg, #0f0c0a 0%, #231914 46%, #0c0b0a 100%);
}

body.has-background{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

/* ====================================================== */
/* Layout */
/* ====================================================== */

.stage{
    position:relative;
    z-index:1;

    width:100%;
    height:100vh;

    display:grid;

    grid-template-rows:
        clamp(85px,11vh,140px)
        minmax(0,1fr)
        clamp(110px,14vh,170px);

    gap:14px;
    padding:14px;
}

main{
    min-height:0;
    height:100%;
    overflow:hidden;
}

/* ====================================================== */
/* Header */
/* ====================================================== */

.brand-header{
    border-radius:24px;

    border:1px solid var(--line);

    background:var(--glass);

    backdrop-filter:blur(8px);

    display:flex;
    align-items:center;
    justify-content:center;

    gap:34px;

    overflow:hidden;

    padding:10px 22px;
}

.brand-header img{
    height:100%;
    max-height:105px;
    max-width:28vw;

    object-fit:contain;
}

/* ====================================================== */
/* Carousel */
/* ====================================================== */

.carousel{
    width:100%;
    height:100%;

    min-height:0;

    border-radius:28px;

    overflow:hidden;

    border:1px solid var(--line);

    background:rgba(0,0,0,.16);

    backdrop-filter:blur(3px);

    position:relative;

    display:grid;
    place-items:center;
}

/* ====================================================== */
/* Slide cards */
/* ====================================================== */

.slide-card{
    width:92%;
    height:84%;

    display:grid;
    place-items:center;

    overflow:hidden;

    border-radius:34px;

    background-color:rgba(0,0,0,.08);

    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;

    box-shadow:0 26px 80px rgba(0,0,0,.45);

    opacity:0;

    transform:scale(.975);

    transition:
        opacity 1s ease,
        transform 1.25s ease;
}

.slide-card.is-active{
    opacity:1;
    transform:scale(1);
}

.image-card{
    background-color:rgba(0,0,0,.08);
}

/* ====================================================== */
/* Video / PDF */
/* ====================================================== */

.slide-card video{
    width:100%;
    height:100%;

    object-fit:contain;
    object-position:center center;

    display:block;

    border-radius:34px;

    overflow:hidden;

    background:transparent;
}

.slide-card iframe,
.pdf-frame{
    width:100%;
    height:100%;

    border:0;

    display:block;

    border-radius:34px;

    overflow:hidden;

    background:transparent;
}

/* ====================================================== */
/* Opening hours slide */
/* ====================================================== */

.opening-card{
    width:92%;
    height:84%;

    max-width:92%;
    max-height:84%;

    border-radius:34px;

    background:
        linear-gradient(
            145deg,
            rgba(255,247,237,.94),
            rgba(255,231,197,.90)
        ),
        radial-gradient(
            circle at top left,
            rgba(245,193,93,.25),
            transparent 40%
        );

    color:#542b18;

    padding:clamp(18px,2.3vw,46px);

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

.opening-content{
    width:min(94%,1200px);

    margin:0 auto;

    text-align:center;

    display:grid;

    justify-items:center;
    align-content:center;
}

.opening-title{
    margin:0 0 .12em;

    font-size:clamp(36px,4.4vw,92px);

    line-height:1;

    font-weight:800;

    color:#7a3f22;
}

.opening-subtitle{
    margin:0 0 .65em;

    font-size:clamp(24px,2.7vw,56px);

    line-height:1.05;

    font-weight:800;

    color:#b35a27;
}

.opening-list{
    display:grid;

    gap:clamp(8px,1vw,20px);

    margin:clamp(10px,1.8vw,32px) auto;

    padding:0;

    list-style:none;

    width:min(92%,900px);
}

.opening-list li{
    background:rgba(122,63,34,.10);

    border:1px solid rgba(122,63,34,.18);

    border-radius:22px;

    padding:
        clamp(10px,1.2vw,22px)
        clamp(16px,1.8vw,34px);

    font-size:clamp(20px,1.9vw,42px);

    font-weight:800;

    color:#542b18;
}

.opening-cta{
    margin-top:clamp(10px,1.6vw,28px);

    font-size:clamp(20px,1.8vw,40px);

    font-weight:800;

    color:#7a3f22;
}

/* ====================================================== */
/* QR Code */
/* ====================================================== */

.opening-booking{
    margin-top:clamp(8px,1vw,20px);

    display:flex;
    align-items:center;
    justify-content:center;

    gap:clamp(10px,1.4vw,24px);

    flex-wrap:wrap;

    width:100%;
}

.opening-qr{
    display:flex;

    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:8px;

    flex-shrink:0;
}

.opening-qr img{
    width:clamp(90px,8vw,170px);
    height:clamp(90px,8vw,170px);

    border-radius:16px;

    background:#fff;

    padding:8px;

    box-shadow:0 10px 24px rgba(0,0,0,.18);

    object-fit:contain;
}

.opening-qr-text{
    font-size:clamp(16px,1.25vw,28px);

    font-weight:800;

    color:#7a3f22;
}

.opening-booking-url{
    font-size:clamp(18px,1.4vw,32px);

    font-weight:800;

    color:#7a3f22;

    word-break:break-word;
}

/* ====================================================== */
/* Contact */
/* ====================================================== */

.opening-contact{
    margin-top:clamp(8px,1.2vw,20px);

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:8px 24px;

    font-size:clamp(16px,1.25vw,28px);

    font-weight:700;

    color:#7a3f22;
}

/* ====================================================== */
/* Footer */
/* ====================================================== */

.info-footer{
    border-radius:24px;

    border:1px solid var(--line);

    background:var(--glass);

    backdrop-filter:blur(8px);

    display:flex;
    align-items:center;
    justify-content:center;

    padding:10px 20px;

    overflow:hidden;
}

.contact-line{
    width:100%;
    max-width:100%;

    display:flex;

    flex-wrap:wrap;

    align-items:center;
    justify-content:center;

    gap:14px 34px;

    font-family:'Nunito Sans', Arial, sans-serif;

    font-size:clamp(18px,1.7vw,30px);

    line-height:1.2;

    font-weight:800;

    text-align:center;
}

.contact-line span{
    white-space:nowrap;

    max-width:100%;

    overflow:hidden;

    text-overflow:ellipsis;
}

/* ====================================================== */
/* Typography */
/* ====================================================== */

h1,
h2,
.empty-state h1{
    font-family:'Nunito Sans', Arial, sans-serif;

    font-weight:800;
}

/* ====================================================== */
/* Portrait */
/* ====================================================== */

@media (orientation:portrait){

    .stage{
        grid-template-rows:
            clamp(90px,12vh,150px)
            minmax(0,1fr)
            clamp(145px,18vh,240px);

        gap:12px;

        padding:12px;
    }

    .brand-header{
        border-radius:20px;

        gap:20px;

        padding:8px 16px;
    }

    .brand-header img{
        max-height:120px;

        max-width:30vw;
    }

    .carousel{
        border-radius:28px;
    }

    .slide-card,
    .opening-card{
        width:92%;
        height:84%;

        max-width:92%;
        max-height:84%;

        border-radius:34px;
    }

    .slide-card video,
    .slide-card iframe,
    .pdf-frame{
        border-radius:34px;
    }

    .opening-card{
        padding:clamp(18px,3vw,44px);
    }

    .opening-title{
        font-size:clamp(42px,6vw,96px);
    }

    .opening-subtitle{
        font-size:clamp(28px,4vw,62px);
    }

    .opening-list li{
        font-size:clamp(23px,3.3vw,44px);

        border-radius:24px;
    }

    .opening-booking{
        flex-direction:column;

        gap:12px;
    }

    .opening-qr img{
        width:clamp(90px,14vw,180px);
        height:clamp(90px,14vw,180px);
    }

    .opening-contact{
        flex-direction:column;

        gap:6px;

        font-size:clamp(18px,2.6vw,34px);
    }

    .info-footer{
        border-radius:20px;

        padding:12px;
    }

    .contact-line{
        flex-direction:column;

        flex-wrap:nowrap;

        gap:8px;

        font-size:clamp(18px,2.5vw,34px);

        line-height:1.15;
    }
}

/* ====================================================== */
/* Small screens */
/* ====================================================== */

@media (max-width:900px){

    .contact-line{
        font-size:clamp(16px,2vw,24px);

        gap:8px 20px;
    }
}

/* ====================================================== */
/* Empty state */
/* ====================================================== */

.empty-state{
    text-align:center;

    padding:40px;
}

.empty-state h1{
    font-size:clamp(36px,6vw,72px);

    margin:0 0 20px;
}

.empty-state p{
    font-size:clamp(18px,3vw,28px);
}