/*
 | Algotech Hotel — public website theme (modern, luxury hospitality look)
 | Bootstrap 5 base + custom design layer.
 */

:root {
    --gold: #c8a24b;
    --gold-dark: #a9863a;
    --ink: #1a1e24;
    --ink-soft: #2b3138;
    --muted: #6c757d;
    --cream: #f7f4ef;
}

body.site {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #fff;
}

.site h1, .site h2, .site h3, .site .display-font,
.site .navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
}

.text-gold { color: var(--gold) !important; }
.bg-ink { background-color: var(--ink) !important; }
.bg-cream { background-color: var(--cream) !important; }

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    font-weight: 500;
    letter-spacing: .3px;
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline-gold {
    border-color: var(--gold); color: var(--gold); font-weight: 500;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ---------- Navbar ---------- */
.site-navbar {
    transition: background-color .3s ease, box-shadow .3s ease;
    padding-top: .9rem; padding-bottom: .9rem;
    z-index: 1030;
}
.site-navbar .navbar-brand { font-size: 1.5rem; font-weight: 700; }
.site-navbar .navbar-brand .dot { color: var(--gold); }
.site-navbar.transparent { background: transparent; position: absolute; width: 100%; }
.site-navbar.transparent .nav-link,
.site-navbar.transparent .navbar-brand { color: #fff; }
.site-navbar.solid {
    background: #fff; position: sticky; top: 0;
    box-shadow: 0 2px 18px rgba(0,0,0,.08);
}
.site-navbar.solid .nav-link,
.site-navbar.solid .navbar-brand { color: var(--ink); }
.site-navbar .nav-link { font-weight: 500; margin: 0 .35rem; position: relative; }
.site-navbar .nav-link:hover { color: var(--gold) !important; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.65) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; }
.hero .eyebrow {
    letter-spacing: 4px; text-transform: uppercase; font-size: .85rem;
    color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}

/* ---------- Section headings ---------- */
.section { padding: 5rem 0; }
.section-eyebrow {
    letter-spacing: 3px; text-transform: uppercase; font-size: .8rem;
    color: var(--gold); font-weight: 600;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.divider-gold { width: 70px; height: 3px; background: var(--gold); border: 0; opacity: 1; margin: 1rem auto 1.5rem; }

/* ---------- Amenity cards ---------- */
.amenity-card {
    border: none; border-radius: 14px; overflow: hidden; height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.amenity-card .img { height: 190px; background-size: cover; background-position: center; }
.amenity-card .icon-badge {
    width: 54px; height: 54px; border-radius: 50%; background: var(--gold);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-top: -47px; position: relative; z-index: 2;
    margin-left: 1.25rem; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

/* ---------- Room cards ---------- */
.room-card {
    border: none; border-radius: 14px; overflow: hidden; height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(0,0,0,.14); }
.room-card .img { height: 230px; background-size: cover; background-position: center; position: relative; }
.room-card .price-tag {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(0,0,0,.7); color: #fff; padding: .35rem .8rem; border-radius: 8px;
    font-weight: 600; backdrop-filter: blur(4px);
}
.room-card .price-tag small { font-weight: 400; opacity: .85; }
.room-card .status-tag {
    position: absolute; top: 12px; right: 12px; padding: .25rem .7rem;
    border-radius: 20px; font-size: .72rem; font-weight: 600; text-transform: uppercase;
}

/* ---------- Gallery ---------- */
.gallery-item { border-radius: 12px; overflow: hidden; height: 220px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ---------- CTA band ---------- */
.cta-band {
    background-size: cover; background-position: center; position: relative; color: #fff;
    padding: 6rem 0;
}
.cta-band::after { content:''; position:absolute; inset:0; background: rgba(20,25,35,.72); }
.cta-band .container { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #adb5bd; padding: 4rem 0 1.5rem; }
.site-footer h5 { color: #fff; font-family: 'Playfair Display', serif; }
.site-footer a { color: #adb5bd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a424b;
    display: inline-flex; align-items: center; justify-content: center; margin-right: .5rem;
    transition: all .25s ease;
}
.site-footer .social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Auth (login/register) ---------- */
.auth-split { min-height: 100vh; }
.auth-visual {
    background-size: cover; background-position: center; position: relative;
    display: flex; align-items: flex-end; color: #fff;
}
.auth-visual::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,25,35,.35), rgba(20,25,35,.85)); }
.auth-visual .caption { position: relative; z-index: 2; padding: 3rem; }
.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 2.5rem; }

/* Portal (customer account) small stat boxes */
.portal-stat { border-radius: 12px; padding: 1.25rem; color: #fff; }
