/* =========================================================
   EXECUTIVES PALACE - COMPLETE LUXURY STYLESHEET
   ========================================================= */
:root {
    --navy: #0b1329;
    --gold: #c5a059;
    --gold-light: #dfbe79;
    --cream: #faf7f2;
    --ink: #1a202c;
    --muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Topbar */
.ep-topbar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ep-shell {
    width: min(1280px, 92%);
    margin-inline: auto;
}
.ep-topbar-inner {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.ep-topbar-center { color: var(--gold); letter-spacing: 0.5px; }
.ep-topbar a:hover { color: var(--gold); }

/* Header */
.ep-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.ep-header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.ep-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}
.ep-brand b { color: var(--gold); font-weight: 700; }
.ep-header-logo {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    object-fit: contain !important;
    display: block !important;
    flex: 0 0 46px !important;
}
.ep-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.ep-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}
.ep-nav a:hover, .ep-nav a.active {
    color: var(--navy);
    border-color: var(--gold);
}
.ep-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.ep-btn-outline {
    border: 1px solid var(--border);
    background: #fff;
    color: #334155;
}
.ep-btn-outline:hover { background: #f8fafc; border-color: var(--navy); }
.ep-btn-primary {
    background: var(--gold);
    color: #0f172a;
    border: 1px solid var(--gold);
}
.ep-btn-primary:hover { background: #b38e47; }
.ep-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.ep-menu-toggle span {
    width: 22px; height: 2px; background: var(--navy); display: block;
}

/* Page Hero */
.ep-page-hero {
    background: var(--navy);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.ep-page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 52px);
    margin: 10px 0 15px;
}
.ep-page-hero p { color: #94a3b8; max-width: 600px; margin: 0 auto; }

/* Homepage Hero */
.hero {
    min-height: 520px;
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: var(--navy);
    color: #fff;
    padding: 60px 7%;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b1329ee 0%, #0b1329a0 50%, #0b132940 100%),
                url("https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
    z-index: 0;
}
.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 60px 0;
}
.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.eyebrow.dark { color: #a17b32; }
.hero h1 {
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 600;
}
.hero h1 em, .section h2 em, .inspirecopy h2 em {
    color: var(--gold);
    font-style: italic;
}
.hero-copy p { max-width: 500px; color: #cbd5e1; font-size: 16px; margin-bottom: 30px; }
.hero-note {
    position: absolute; right: 7%; bottom: 160px; z-index: 1;
    display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: 11px; color: #cbd5e1; letter-spacing: 1px;
}
.hero-note span:first-child { color: var(--gold); font-weight: 700; }

/* Booking Bar */
.booking {
    position: absolute; z-index: 5; left: 7%; right: 7%; bottom: 0;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 65px;
    background: #fff; color: var(--ink); box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 8px 8px 0 0;
}
.bookfield {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    padding: 20px 24px; border-right: 1px solid var(--border);
}
.bookfield small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.bookfield strong { font-size: 14px; font-weight: 600; }
.bookfield input, .bookfield select { width: 100%; border: 0; outline: none; background: transparent; font-size: 13px; color: var(--ink); }
.bookfield span { color: var(--muted); font-size: 11px; }
.searchbtn {
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); border: 0; color: var(--navy); font-size: 24px; cursor: pointer;
    border-radius: 0 8px 0 0;
}
.searchbtn:hover { background: #b48e47; }

/* Categories */
.categories {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
    padding: 30px 7%; background: #fff; border-bottom: 1px solid var(--border);
}
.categories .cat {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 1px solid var(--border); border-radius: 30px;
    background: #fff; color: #475569; font-size: 13px; font-weight: 500; transition: 0.2s;
}
.categories .cat:hover, .categories .cat.selected {
    color: var(--navy); background: #fdfbf7; border-color: var(--gold);
}

/* Sections */
.section { padding: 90px 7%; }
.section.alt { background: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section h2, .inspirecopy h2 {
    margin: 10px 0; font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 44px); line-height: 1.2;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.textlink { color: var(--navy); font-weight: 700; font-size: 13px; white-space: nowrap; }
.textlink:hover { color: var(--gold); }

/* Cards & Rooms */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.room {
    background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
    transition: all 0.3s;
}
.room:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.roomimg { position: relative; height: 280px; overflow: hidden; background: #f1f5f9; }
.roomimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room:hover .roomimg img { transform: scale(1.04); }
.tag {
    position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: #fff; color: var(--navy);
    border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.heart {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #fff; color: #cbd5e1; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.heart.liked { color: #ef4444; }
.roominfo { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding: 25px; }
.roominfo h3 { margin: 0 0 6px; font-family: 'Playfair Display', serif; font-size: 20px; }
.roominfo p { margin: 0; color: var(--muted); font-size: 13px; }
.price { text-align: right; color: var(--navy); }
.price b { display: block; font-size: 22px; font-family: 'Playfair Display', serif; color: var(--gold); }
.price span { color: var(--muted); font-size: 11px; }
.roommeta { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }

/* Benefits */
.benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px 7%; background: var(--cream);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.benefit { display: flex; align-items: flex-start; gap: 15px; }
.round { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.benefit b { display: block; font-size: 14px; margin-bottom: 4px; }
.benefit p { margin: 0; font-size: 12px; color: var(--muted); }

/* Inspire / About split */
.inspire { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; background: #fff; }
.inspireimg { background: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat; min-height: 400px; }
.inspirecopy { display: flex; flex-direction: column; justify-content: center; padding: 70px 10%; }
.inspirecopy p { color: var(--muted); font-size: 14px; margin: 15px 0 25px; }
.darkbtn { background: var(--navy); color: #fff; border-color: var(--navy); }
.darkbtn:hover { background: #1e293b; }

/* Newsletter */
.newsletter {
    display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px 7%; background: var(--cream);
}
.newsletter h3 { margin: 5px 0; font-family: 'Playfair Display', serif; font-size: 26px; }
.newsletter p { margin: 0; color: var(--muted); font-size: 13px; }
.newsletter form { display: flex; width: min(480px, 100%); gap: 10px; }
.newsletter input { flex: 1; padding: 14px 16px; border: 1px solid var(--border); border-radius: 4px; outline: none; background: #fff; }

/* Footer */
.site-footer { background: #18202f; color: #fff; padding: 60px 7% 25px; font-family: 'DM Sans', Arial, sans-serif; }
.footer-container { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: flex-start; gap: 20px; }
.footer-logo-wrap { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo { width: 60px !important; height: 60px !important; object-fit: contain !important; }
.footer-brand h3 { margin: 0 0 10px; font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; }
.footer-brand p { margin: 0; color: #94a3b8; font-size: 13px; line-height: 1.7; }
.footer-social { display: flex; gap: 15px; margin-top: 15px; }
.footer-social a { color: var(--gold); font-size: 14px; font-weight: 700; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-column h4 { font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 20px; }
.footer-column a { display: block; color: #94a3b8; font-size: 13px; margin-bottom: 12px; transition: color 0.2s; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 25px; font-size: 12px; color: #94a3b8; flex-wrap: wrap; gap: 15px; }
.footer-bottom a { color: var(--gold); font-weight: 600; }

/* Responsive */
@media(max-width: 950px) {
    .ep-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--border); box-shadow: 0 15px 30px rgba(0,0,0,0.1); padding: 15px 7%; }
    .ep-nav.is-open { display: flex; }
    .ep-nav a { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
    .ep-menu-toggle { display: flex; }
    .hero {
    min-height: 520px; min-height: 600px; padding-bottom: 180px; }
    .booking { left: 4%; right: 4%; grid-template-columns: 1fr 1fr 55px; }
    .destination-field { grid-column: 1/-1; }
    .searchbtn { grid-column: 3; grid-row: 2/4; border-radius: 0; }
    .benefits { grid-template-columns: 1fr 1fr; }
    .cards { grid-template-columns: 1fr; }
    .inspire { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width: 600px) {
    .booking { grid-template-columns: 1fr; }
    .searchbtn { grid-column: 1; grid-row: auto; height: 48px; border-radius: 0 0 8px 8px; }
    .benefits { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
}

/* Mobile horizontal overflow fix */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

@media(max-width: 768px) {
    .ep-topbar-left span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
        display: inline-block;
    }
    .ep-topbar-center {
        display: none !important;
    }
    .ep-topbar-inner {
        font-size: 10px;
        gap: 5px;
        padding-inline: 10px;
    }
}

@media(max-width: 950px) {
    .ep-header-inner { height: 70px; gap: 10px; }
    .ep-brand { font-size: 17px; white-space: nowrap; gap: 8px; }
    .ep-header-logo { width: 38px !important; height: 38px !important; max-width: 38px !important; max-height: 38px !important; min-width: 38px !important; flex: 0 0 38px !important; }
    .ep-header-actions .ep-btn-outline { display: none; } /* hide Enquire button on mobile to save space, keep Book Stay */
    .ep-header-actions { gap: 6px; }
    .ep-btn { padding: 9px 14px; font-size: 12px; }
    .ep-menu-toggle { display: flex; }
    
    .hero {
    min-height: 520px; min-height: auto; padding: 40px 5% 150px; }
    .hero h1 { font-size: 34px; line-height: 1.15; }
    .hero-copy { padding: 20px 0 30px; }
    
    .booking {
        position: relative;
        left: 0; right: 0; bottom: auto;
        margin-top: 20px;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }
    .bookfield { border-right: 0; border-bottom: 1px solid var(--border); padding: 14px 18px; }
    .searchbtn { border-radius: 0 0 8px 8px; height: 50px; width: 100%; font-size: 20px; }
    
    .categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px 5%;
        gap: 8px;
        scrollbar-width: none;
    }
    .categories::-webkit-scrollbar { display: none; }
    .categories .cat { flex-shrink: 0; padding: 8px 16px; font-size: 12px; }
}

/* Newsletter fixed responsive layout */
@media(max-width: 950px) {
    .newsletter {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 40px 6% !important;
    }
    .newsletter form {
        width: 100% !important;
        flex-direction: column !important;
    }
    .newsletter form button {
        width: 100% !important;
    }
}

/* Room card font and layout refinements */
.roominfo {
    padding: 20px 22px !important;
    gap: 12px !important;
}
.roominfo h3 {
    font-size: 19px !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
    color: #0b1329 !important;
}
.roominfo p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
}
.price b {
    font-size: 20px !important;
    font-weight: 700 !important;
}
.roommeta {
    font-size: 12px !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
}

@media(max-width: 768px) {
    .ep-shell [style*="margin-top: -50px"] {
        margin-top: -75px !important;
    }
    .roominfo {
        padding: 16px 18px !important;
    }
    .roominfo h3 {
        font-size: 17px !important;
    }
    .price b {
        font-size: 18px !important;
    }
}

/* Refined price span styling */
.price span {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.2px !important;
    display: inline-block !important;
    margin-top: 2px !important;
}
.price b {
    font-family: 'DM Sans', Arial, sans-serif !important;
    letter-spacing: -0.5px !important;
}
