/* --- Root Variables & Reset --- */
:root {
    --primary-dark: #121212;
    --accent-gold: #b38b40;
    --accent-gold-light: #d4af37;
    --bg-bright: #ffffff;
    --bg-soft: #fcfbf7;
    --bg-footer: #1a1a1a;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(179, 139, 64, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 30px 60px rgba(179, 139, 64, 0.15);
    --sans-serif: 'Poppins', sans-serif;
    --serif: 'Playfair Display', serif;
}

body {
    font-family: var(--sans-serif);
    color: var(--text-main);
    background-color: var(--bg-bright);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Typography --- */
.serif {
    font-family: var(--serif);
}

.poppins {
    font-family: var(--sans-serif);
}

.text-gold {
    color: var(--accent-gold);
}

.fw-900 {
    font-weight: 900;
}

.fw-700 {
    font-weight: 700;
}

.fw-300 {
    font-weight: 300;
}

.tracking-wider {
    letter-spacing: 0.15em;
}

.tracking-widest {
    letter-spacing: 0.3em;
}

.leading-relaxed {
    line-height: 1.8;
}

/* --- Sections --- */
.py-10 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.mb-10 {
    margin-bottom: 60px;
}

.bg-soft {
    background-color: var(--bg-soft);
}

.bg-white {
    background-color: #ffffff;
}

/* --- Top Bar (New) --- */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 1030;
    overflow: hidden;
    max-height: 50px;
    padding: 10px 0;
    transition: all 0.4s ease;
}

.top-bar.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

.top-bar i {
    color: var(--accent-gold);
    margin-right: 8px;
}

/* --- Navbar (Refined) --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1020;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--text-main) !important;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 60px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.navbar.scrolled .navbar-logo {
    height: 45px;
}

.navbar.scrolled .navbar-brand {
    color: var(--text-main) !important;
}

.nav-link {
    color: var(--text-main) !important;
    margin: 0 10px;
    font-size: 0.85rem;
    position: relative;
    opacity: 0.9;
    transition: all 0.3s;
}

.navbar.scrolled .nav-link {
    color: var(--text-main) !important;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    opacity: 1;
}

/* --- Buttons --- */
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 35px;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(179, 139, 64, 0.2);
    transition: all 0.4s;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(179, 139, 64, 0.3);
    color: #fff;
}

.btn-gold-outline {
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold) !important;
    background-color: transparent;
    border-radius: 4px;
    padding: 8px 25px;
    transition: all 0.3s;
}

.btn-gold-outline:hover {
    background-color: var(--accent-gold);
    color: #fff !important;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1568667256549-094345857637?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.25; /* Light image background */
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    color: var(--text-main);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    z-index: 1;
}

.hero-text-shadow {
    text-shadow: none; /* No shadow needed for dark text on light bg */
}

/* --- Facilities Section --- */
.facility-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.facility-icon {
    width: 70px;
    height: 70px;
    background-color: #fdfaf4;
    color: var(--accent-gold);
    font-size: 2rem;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s;
}

.facility-card:hover .facility-icon {
    background-color: var(--accent-gold);
    color: #fff;
}

/* --- Pricing Section --- */
.pricing-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    border: 1px solid #f0edeb;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.pricing-card.featured {
    border: 2px solid var(--accent-gold);
    background-color: var(--bg-soft);
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--text-main);
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.check-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.check-item i {
    color: var(--accent-gold);
    margin-right: 12px;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: -50px;
    left: 30px;
    z-index: 2;
    transition: all 0.4s;
    opacity: 0;
}

.gallery-item:hover .gallery-info {
    bottom: 30px;
    opacity: 1;
}

.gallery-info h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-info p {
    color: var(--accent-gold-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* --- Testimonials --- */
.testimonial-card {
    background: #fff;
    padding: 60px 45px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(179, 139, 64, 0.05);
    height: 100%;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 12rem;
    color: rgba(179, 139, 64, 0.03);
    z-index: -1;
    transition: all 0.6s;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(179, 139, 64, 0.1);
    border-color: rgba(179, 139, 64, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.9;
    margin-bottom: 35px;
    position: relative;
}

.testimonial-author {
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    padding: 3px;
    margin-right: 20px;
    border-radius: 50%;
}

/* --- Animation Utilities --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- Forms (Premium Card Design) --- */
.contact-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(179, 139, 64, 0.08);
}

.premium-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.premium-form .form-control {
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: var(--text-main);
}

.premium-form .form-control:focus {
    background-color: #ffffff;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(179, 139, 64, 0.1);
    outline: none;
}

.premium-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23b38b40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.premium-form textarea.form-control {
    min-height: 120px;
}

.form-label-gold {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
}

/* --- Footer (Multi-column) --- */
.footer-main {
    background-color: var(--bg-footer);
    color: #bdbdbd;
    padding: 100px 0 50px;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

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

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

.footer-links a {
    color: #bdbdbd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    background-color: #111111;
    color: #777777;
    padding: 30px 0;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .navbar {
        background-color: #fff;
        padding: 12px 0;
    }

    .navbar-brand,
    .nav-link {
        color: var(--text-main) !important;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 100px;
        margin-top: 0;
    }
}