/* ==========================================================================
   Somerset Lodge - Luxury Hotel & Resort Stylesheet
   Theme Palette: Royal Gold (#D4AF37), Midnight Navy (#0F172A), Ivory (#FAF8F5)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gold: #D4AF37;
    --primary-gold-dark: #B8860B;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-gradient: linear-gradient(135deg, #E6CA65 0%, #D4AF37 50%, #997517 100%);
    --gold-gradient-hover: linear-gradient(135deg, #F3D978 0%, #E6CA65 50%, #B8860B 100%);
    --dark-navy: #0F172A;
    --midnight-blue: #1E293B;
    --dark-surface: #111827;
    --light-cream: #FAF8F5;
    --ivory-white: #FFFDF9;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --border-gold-subtle: rgba(212, 175, 55, 0.25);
    --card-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-cream);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gold-text {
    color: var(--primary-gold) !important;
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-dark-navy {
    background-color: var(--dark-navy) !important;
}

.bg-midnight {
    background-color: var(--midnight-blue) !important;
}

.bg-cream {
    background-color: var(--light-cream) !important;
}

.bg-ivory {
    background-color: var(--ivory-white) !important;
}

/* --- Custom Buttons --- */
.btn-gold {
    background: var(--gold-gradient);
    color: #0F172A !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 18px var(--gold-glow);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-gold:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #000 !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold) !important;
    border: 2px solid var(--primary-gold);
    font-weight: 600;
    padding: 0.75rem 1.7rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: #0F172A !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* --- Top Bar --- */
.top-bar {
    background: #090E1A;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-bar a:hover {
    color: var(--primary-gold);
}

.top-bar-divider {
    color: rgba(212, 175, 55, 0.3);
    margin: 0 10px;
}

/* --- Navbar --- */
.header-navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
    transition: var(--transition-smooth);
    z-index: 1040;
}

.header-navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.brand-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: var(--transition-smooth);
}

.header-navbar.scrolled .brand-logo-img {
    height: 46px;
}

.nav-link {
    color: #F1F5F9 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 120px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E2E8F0;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Floating Booking Bar --- */
.booking-search-bar {
    position: relative;
    z-index: 3;
    margin-top: -65px;
}

.booking-card {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold-subtle);
    border-radius: 20px;
    padding: 24px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.booking-field-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 16px;
    transition: var(--transition-smooth);
}

.booking-field-group:focus-within {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.booking-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.booking-input, .booking-select {
    background: transparent;
    border: none;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    padding: 0;
}

.booking-select option {
    background-color: var(--dark-navy);
    color: #FFF;
}

/* --- Section Styling --- */
.section-padding {
    padding: 90px 0;
}

.section-tag {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 15px;
}

.divider-gold {
    width: 70px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto 25px auto;
    border-radius: 2px;
}

.divider-gold.left {
    margin-left: 0;
}

/* --- Counter / Highlight Cards --- */
.counter-box {
    background: var(--ivory-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-gold);
}

.counter-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 8px;
}

/* --- Room Cards --- */
.room-card {
    background: var(--ivory-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-gold);
}

.room-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img {
    transform: scale(1.08);
}

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: #0F172A;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.room-price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #FFF;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.85rem;
}

.room-price-tag span {
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.room-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.room-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #E2E8F0;
}

.room-meta i {
    color: var(--primary-gold);
}

.room-amenities-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.amenity-icon-pill {
    background: rgba(212, 175, 55, 0.1);
    color: var(--dark-navy);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.room-card:hover .amenity-icon-pill {
    background: var(--gold-gradient);
    color: #0F172A;
}

.room-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* --- Amenities Section --- */
.amenity-card {
    background: var(--ivory-white);
    border-radius: 16px;
    padding: 30px 25px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    text-align: center;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-5px);
    background: var(--dark-navy);
    color: #FFFFFF !important;
    border-color: var(--primary-gold);
}

.amenity-card:hover h4,
.amenity-card:hover .font-heading {
    color: #FFFFFF !important;
}

.amenity-card:hover p,
.amenity-card:hover .text-muted {
    color: #E2E8F0 !important;
}

.amenity-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary-gold);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon-box {
    background: var(--gold-gradient);
    color: #0F172A;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* --- Offers Section --- */
.offer-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--card-shadow);
}

.offer-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.offer-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #FFF;
}

/* --- Testimonial Section --- */
.testimonial-card {
    background: var(--midnight-blue);
    border: 1px solid var(--border-gold-subtle);
    border-radius: 20px;
    padding: 40px;
    color: #FFF;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 25px;
    right: 30px;
}

.guest-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    object-fit: cover;
}

.stars-rating {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* --- Footer --- */
.footer-main {
    background: #090E1A;
    color: #E2E8F0;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.text-light-body {
    color: #E2E8F0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-subtext {
    color: #CBD5E1 !important;
    font-size: 0.88rem;
}

.footer-brand-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #E2E8F0 !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-gold) !important;
    transform: translateX(4px);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #FFFFFF !important;
    border-radius: 50px 0 0 50px;
    padding: 12px 20px;
}

.newsletter-input::placeholder {
    color: #CBD5E1 !important;
    opacity: 0.9;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
    color: #FFF !important;
}

.newsletter-btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 24px;
}

.footer-bottom {
    background: #050810;
    padding: 20px 0;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
}

.footer-bottom-link {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-link:hover {
    color: var(--primary-gold) !important;
    text-decoration: underline;
}

/* --- High Contrast Fixes for All Dark Containers --- */
.bg-dark-navy .text-muted,
.bg-midnight .text-muted,
.testimonial-card .text-muted,
.modal-content.luxury-modal .text-muted,
.hero-section .text-muted,
.booking-card .text-muted,
.offer-card .text-muted {
    color: #CBD5E1 !important;
}

/* --- Modal Luxury Styling --- */
.modal-content.luxury-modal {
    background: var(--dark-navy);
    color: #FFF;
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    overflow: hidden;
}

.modal-header.luxury-modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: #090E1A;
}

.btn-close-white-custom {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* --- Media Queries --- */
@media (max-width: 991.98px) {
    .booking-search-bar {
        margin-top: -30px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
    }
}

