/* ==========================================================================
   THE PHOENIX HOTEL - MASTER POLISHED STYLESHEET
   ========================================================================== */

/* 1. Global Resets & Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

/* Typography Headings */
h1, h2, h3, h4, .brand-text h1 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Top Utility Bar */
.top-bar {
    background-color: #0a0a0a;
    color: #d4af37;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    font-size: 0.85rem;
    border-bottom: 1px solid #222;
}

.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Main Header & Logo Area */
.main-header {
    background-color: #181818;
    padding: 15px 5%;
    border-bottom: 2px solid #d4af37;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-text h1 {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.brand-text p {
    color: #cccccc;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* 2. Navigation Menu Links */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    background-color: #242424 !important;
    border: 1px solid #333 !important;
    text-align: center !important;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #d4af37 !important;
    color: #121212 !important;
    border-color: #d4af37 !important;
}

.nav-links a.manager-login {
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
    background-color: transparent !important;
}

.nav-links a.manager-login:hover {
    background-color: #d4af37 !important;
    color: #121212 !important;
}

/* 3. Hero Section & Framing */
.hero, .hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg') no-repeat center center/cover;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    color: #d4af37;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* 4. Universal Button Polish (Fixes Blue Links & Unstyled Buttons) */
.cta-buttons, .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 450px !important;
    margin: 20px auto 0 auto !important;
}

/* Catch all action buttons and links inside hero/nav */
.btn, button, a.button, a.btn-hero-primary, a.btn-nav-book,
.hero a[href*="food"], .hero a[href*="accommodation"], .hero a[href*="events"],
a[href*="accommodation.php"] {
    display: block !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-top: 6px !important;
}

/* Primary Gold Solid Style (Food Menu / Book Room) */
.btn-primary, a.btn-hero-primary, a.btn-nav-book, .hero a[href*="food"], .hero a[href*="accommodation"] {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%) !important;
    color: #121212 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
}

.btn-primary:hover, a.btn-hero-primary:hover, a.btn-nav-book:hover {
    background: linear-gradient(135deg, #e5be48 0%, #bb931b 100%) !important;
    transform: translateY(-2px);
}

/* Secondary Gold Outline Style (What's On / Events) */
.btn-secondary, a.btn-hero-secondary, .hero a[href*="events"] {
    background-color: #181818 !important;
    color: #d4af37 !important;
    border: 2px solid #d4af37 !important;
}

.btn-secondary:hover, a.btn-hero-secondary:hover {
    background-color: #d4af37 !important;
    color: #121212 !important;
}

/* 5. Main Content Section Styling */
.content-section {
    padding: 50px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

footer {
    background-color: #0a0a0a;
    color: #888888;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.85rem;
    border-top: 1px solid #222;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERHAUL (PHONES & TABLETS)
   ========================================================================== */
@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 8px;
    }

    .main-header {
        padding: 12px 15px;
    }

    .logo-area {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .brand-text h1 {
        font-size: 1.3rem;
    }

    .brand-text p {
        font-size: 0.7rem;
    }

    /* Stack Navigation Vertically with Clean Spacing */
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-top: 10px;
    }

    .nav-links a {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.95rem !important;
    }

    /* Hero Background & Text Adjustment */
    .hero, .hero-section {
        padding: 40px 15px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 0.95rem;
    }
}