/* ============================================================
   PARAÍSO RESORT – TV SIGNAGE STYLESHEET
   Design target: 1920×1080 (16:9), overflow hidden, no scroll
   ============================================================ */

/* ── Custom Properties ── */
:root {
    --gold:        #d4a847;
    --gold-light:  #f0cf7a;
    --gold-glow:   rgba(212, 168, 71, 0.35);
    --white:       #ffffff;
    --white-dim:   rgba(255,255,255,0.82);
    --gray:        #b0bec5;
    --glass-bg:    rgba(8, 18, 30, 0.52);
    --glass-bd:    rgba(255, 255, 255, 0.12);
    --dark-bg:     rgba(4, 12, 22, 0.88);

    /* Typography */
    --sans:    'Montserrat', sans-serif;
    --serif:   'Playfair Display', serif;
    --script:  'Great Vibes', cursive;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; }
button { cursor: pointer; font-family: var(--sans); }

/* ── Body ── */
body {
    font-family: var(--sans);
    color: var(--white);
    background: #010d18;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ── Helpers ── */
.gold { color: var(--gold); }

/* ============================================================
   BACKGROUND
   ============================================================ */
.bg-photo {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    /* strong dark on left, fades to semi-transparent on right so photo shows */
    background:
        linear-gradient(to right,
            rgba(2, 12, 22, 0.96) 0%,
            rgba(2, 12, 22, 0.78) 38%,
            rgba(2, 12, 22, 0.25) 65%,
            rgba(2, 12, 22, 0.10) 100%
        ),
        linear-gradient(to top,
            rgba(2, 12, 22, 0.97) 0%,
            rgba(2, 12, 22, 0.70) 22%,
            transparent 50%
        );
    z-index: 1;
}

/* ============================================================
   SCREEN  –  4-row CSS Grid
   ============================================================ */
.screen {
    position: relative;
    z-index: 2;
    display: grid;
    /* header | welcome | services | footer */
    grid-template-rows: 12vh 1fr 32vh 10vh;
    height: 100vh;
    padding: 1.2vh 2.8vw;
    gap: 0.5vh;
    overflow: hidden;
}

/* ============================================================
   ROW 1 – HEADER
   ============================================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1vw;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6vw;
}

.logo-leaf {
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    color: var(--gold);
}

.logo-words {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--serif);
    font-size: clamp(0.9rem, 1.4vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--white);
}

.logo-tagline {
    font-size: clamp(0.5rem, 0.7vw, 0.65rem);
    letter-spacing: 0.18em;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
}

/* Room chip */
.room-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1.2vw;
    padding: 0.5vh 1.8vw;
}

.room-chip__label {
    font-size: clamp(0.5rem, 0.7vw, 0.7rem);
    letter-spacing: 0.2em;
    color: var(--gray);
    text-transform: uppercase;
}

.room-chip__number {
    font-size: clamp(1.6rem, 3.4vw, 3rem);
    font-weight: 300;
    line-height: 1;
}

/* Meta chip (weather + clock) */
.meta-chip {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1.6vw;
    padding: 0.8vh 1.6vw;
}

.meta-weather {
    display: flex;
    align-items: center;
    gap: 0.8vw;
}

.weather-sun {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: var(--gold);
}

.meta-temp {
    font-size: clamp(0.9rem, 1.4vw, 1.3rem);
    font-weight: 500;
    line-height: 1.1;
}

.meta-condition {
    font-size: clamp(0.55rem, 0.8vw, 0.75rem);
    color: var(--gray);
}

.meta-sep {
    width: 1px;
    height: 3.5vh;
    background: var(--glass-bd);
}

.meta-clock { display: flex; flex-direction: column; }

.meta-time {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1;
}

.meta-date {
    font-size: clamp(0.55rem, 0.78vw, 0.7rem);
    color: var(--gray);
    line-height: 1.35;
}

/* ============================================================
   ROW 2 – WELCOME
   ============================================================ */
.welcome-area {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    min-height: 0;
    padding: 1.5vh 0 0.5vh;
}

.welcome-left {
    max-width: 52%;
    flex-shrink: 0;
    overflow: hidden;
}

.welcome-greeting {
    /* vh-preferred so it shrinks when screen is short */
    font-size: clamp(1.2rem, min(4.2vh, 3.2vw), 3rem);
    font-weight: 600;
    line-height: 1;
}

.welcome-name {
    font-family: var(--script);
    /* vh-preferred: name is the tallest element, must yield on short screens */
    font-size: clamp(2.2rem, min(10vh, 7vw), 6.5rem);
    color: var(--gold-light);
    line-height: 1.1;
    text-shadow: 0 0 30px var(--gold-glow);
    display: flex;
    align-items: center;
    gap: 0.5vw;
    margin-bottom: 0.6vh;
}

.welcome-spark {
    font-size: 0.35em;
    opacity: 0.8;
    color: var(--gold);
}

.welcome-sub {
    font-size: clamp(0.75rem, min(2vh, 1.4vw), 1.2rem);
    line-height: 1.5;
    margin-bottom: clamp(0.5rem, 1.8vh, 2rem); /* capped so it never wastes space */
    color: var(--white-dim);
    font-weight: 400;
}

/* Notification pill */
.notif-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.2vw;
    background: var(--dark-bg);
    border: 1px solid rgba(212, 168, 71, 0.3);
    border-radius: 5vw;
    padding: clamp(0.4rem, 0.9vh, 1rem) 1.8vw; /* vertical padding capped */
    max-width: 90%;
}

.notif-bell {
    flex-shrink: 0;
    width: clamp(28px, 3.2vw, 42px);
    height: clamp(28px, 3.2vw, 42px);
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 1.1vw, 1rem);
    color: var(--gold);
}

.notif-body {
    display: flex;
    flex-direction: column;
    gap: 0.15vh;
}

.notif-title {
    font-size: clamp(0.55rem, 0.85vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.notif-msg {
    font-size: clamp(0.55rem, 0.85vw, 0.8rem);
    color: var(--gray);
    line-height: 1.3;
}

.notif-arrow {
    flex-shrink: 0;
    font-size: clamp(0.8rem, 1vw, 1rem);
    color: var(--white-dim);
    margin-left: 0.5vw;
}

/* Quote pill */
.quote-pill {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    background: rgba(8, 20, 34, 0.55);
    border: 1px solid var(--glass-bd);
    border-radius: 5vw;
    padding: 1.4vh 2vw;
    max-width: 36%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-self: center;
}

.quote-mark {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--gold);
    flex-shrink: 0;
}

.quote-body {
    font-size: clamp(0.65rem, 1vw, 0.95rem);
    line-height: 1.5;
    color: var(--white-dim);
}

/* ============================================================
   ROW 3 – SERVICES
   ============================================================ */
.services {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    overflow: hidden;
}

.services-label {
    display: flex;
    align-items: center;
    gap: 0.7vw;
    font-size: clamp(0.55rem, 0.82vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
}

.services-dash { opacity: 0.5; }

.services-leaf { font-size: 1em; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.9vw;
    flex: 1;
    min-height: 0;
}

/* Service Card */
.svc-card {
    position: relative;
    border-radius: 1.1vw;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 71, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
}

.svc-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.svc-card:hover .svc-img {
    transform: scale(1.06);
}

.svc-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(4, 10, 18, 0.97) 0%,
        rgba(4, 10, 18, 0.85) 35%,
        rgba(4, 10, 18, 0.40) 65%,
        rgba(4, 10, 18, 0.10) 100%
    );
}

.svc-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.6vw 0.8vh;
    gap: 0.3vh;
}

.svc-icon {
    font-size: clamp(1rem, 1.7vw, 1.55rem);
    color: var(--gold);
    margin-bottom: 0.1vh;
}

.svc-title {
    font-size: clamp(0.6rem, 0.9vw, 0.85rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.svc-sub {
    font-size: clamp(0.5rem, 0.72vw, 0.67rem);
    color: var(--gray);
    line-height: 1.25;
}

.svc-arrow {
    width: clamp(16px, 1.5vw, 22px);
    height: clamp(16px, 1.5vw, 22px);
    border-radius: 50%;
    border: 1px solid rgba(176, 190, 197, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    color: var(--white-dim);
    margin-top: 0.3vh;
}

/* ============================================================
   ROW 4 – FOOTER
   ============================================================ */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1vh;
    gap: 2vw;
}

/* QR */
.footer-qr {
    display: flex;
    align-items: center;
    gap: 1vw;
    flex-shrink: 0;
}

.footer-qr__img {
    width: clamp(40px, 5.5vh, 60px);
    height: clamp(40px, 5.5vh, 60px);
    border: 2px solid var(--white);
    border-radius: 0.4vw;
    object-fit: cover;
}

.footer-qr__text {
    font-size: clamp(0.55rem, 0.78vw, 0.72rem);
    color: var(--gray);
    line-height: 1.4;
}

/* Slogan */
.footer-slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2vh;
}

.footer-leaf {
    font-size: clamp(0.8rem, 1.2vw, 1.1rem);
    color: var(--gold);
}

.footer-slogan__text {
    font-family: var(--script);
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    color: var(--gold);
    white-space: nowrap;
}

/* Contact */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 1.4vw;
    flex-shrink: 0;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 0.6vw;
}

.footer-icon {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.footer-label {
    font-size: clamp(0.5rem, 0.7vw, 0.65rem);
    color: var(--gray);
    margin-bottom: 0.2vh;
}

.footer-value {
    font-size: clamp(0.75rem, 1.1vw, 1rem);
    font-weight: 600;
}

.footer-divider {
    width: 1px;
    height: 3.5vh;
    background: rgba(255,255,255,0.15);
}

/* Language buttons */
.lang-btns {
    display: flex;
    gap: 0.4vw;
    margin-top: 0.2vh;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--white-dim);
    padding: 0.15vh 0.6vw;
    border-radius: 2vw;
    font-size: clamp(0.5rem, 0.7vw, 0.65rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.25s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}
