:root {
    /* Color Palette - Navy & Gold Theme */
    --clr-bg: #FAF9F6;
    /* Off-white for clean look */
    --clr-surface: #FFFFFF;
    --clr-primary: #0c2b5e;
    /* Deep Navy */
    --clr-primary-light: #183f7a;
    --clr-accent: #e0a700;
    /* Amber Gold */
    --clr-accent-hover: #f5b400;
    --clr-text-dark: #000000;
    --clr-text-muted: #767476;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Transitions */
    --transition: 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 30px;
    top: 15px;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .hamburger .bar {
    color: var(--clr-primary);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.logo span {
    color: var(--clr-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--clr-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 0;
    background-attachment: fixed;
}

/* About Section */
.about {
    padding: 100px 5%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--clr-accent);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    font-weight: 600;
}

.about-image {
    flex: 1;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* Packages */
.packages {
    padding: 100px 5%;
    background-color: var(--clr-surface);
    text-align: center;
}

.section-sub {
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--clr-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card.featured {
    border: 2px solid var(--clr-accent);
    transform: scale(1.05);
}

.card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-img {
    position: relative;
    height: 200px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-tag {
    background: var(--clr-accent);
    color: var(--clr-text-dark);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 0.5rem;
    color: var(--clr-text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features .icon {
    color: var(--clr-primary);
    font-weight: bold;
}

/* Gallery */
.gallery {
    padding: 100px 5%;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact {
    padding: 100px 5%;
    background: url('images/hero.jpg') center/cover fixed;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
}

.glass-panel {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
    color: white;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: white;
}

.contact-info p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.info-items .item {
    margin-bottom: 1.5rem;
}

.info-items a {
    color: var(--clr-accent);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-form {
    flex: 1;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-main);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group select option {
    background: var(--clr-primary);
    color: white;
}

.form-submit {
    width: 100%;
}

.form-msg {
    margin-top: 15px;
    font-weight: 600;
}

/* Footer */
.premium-footer {
    background: #112416;
    color: #fff;
    padding: 4rem 5% 1rem;
    font-family: 'Outfit', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--clr-accent, #D4AF37);
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.footer-logo span {
    color: var(--clr-accent, #D4AF37);
}

.footer-col p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--clr-accent, #D4AF37);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--clr-accent, #D4AF37);
    color: #112416;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #718096;
    font-size: 0.9rem;
}



/* Responsive */
@media (max-width: 900px) {

    .about-container,
    .glass-panel {
        flex-direction: column;
        gap: 2rem;
    }

    .card.featured {
        transform: scale(1);
    }

    .card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .navbar {
        padding: 4px 20px;
        top: 10px;
        width: 95%;
    }
    
    .navbar.scrolled {
        padding: 4px 20px;
        top: 10px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding: 5px 0;
    }

    .hamburger .bar {
        margin: 3px 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero,
    .hero-static-bg {
        background-attachment: scroll;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-text p,
    .card-content p,
    .contact-info p {
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Mobile menu open state */
    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 15px;
        padding: 15px 0;
        align-items: center;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        gap: 0;
        z-index: 1000;
        margin-top: 10px;
    }

    /* Fix mobile menu link colors */
    .nav-links.nav-active a {
        color: var(--clr-primary) !important;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 1.1rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: background 0.3s ease, color 0.3s ease;
        display: flex !important; /* To override any inline flex */
        justify-content: center;
        align-items: center;
    }

    .nav-links.nav-active a:last-child {
        border-bottom: none;
    }

    .nav-links.nav-active a:hover {
        background: rgba(224, 167, 0, 0.1);
        color: var(--clr-accent) !important;
    }

    /* Highlight the dashboard link on mobile if needed */
    .nav-links.nav-active a[href*="dashboard"],
    .nav-links.nav-active a[href*="profile"] {
        color: var(--clr-accent) !important;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility & Mobile Usability */
:focus {
    outline: 3px solid var(--clr-accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--clr-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-links a {
    padding: 10px;
    /* Improve touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.hamburger {
    padding: 10px;
    /* Improve touch target */
    min-height: 44px;
    min-width: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

input,
select,
textarea,
button {
    min-height: 44px;
}

a {
    min-height: 44px;
}

/* Responsive Utilities for Reviews and General Grids */
.responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .responsive-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}