:root {
    /* Colors */
    --primary: #0a2342;
    --primary-light: #153b66;
    --accent: #2ca58d;
    --accent-hover: #248a74;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-gradient {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center {
    text-align: center;
}

.large-text {
    font-size: 1.25rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Rates Table */
.rates-container {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    min-width: 600px;
    /* Ensure it doesn't squish too much on mobile */
}

.rates-table th,
.rates-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.rates-table th {
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 600;
}

.rates-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.rates-table tr:hover {
    background-color: #f1f3f5;
}

/* Mobile Responsive Tables */
@media (max-width: 768px) {
    .rates-table {
        min-width: 0;
        /* Remove min-width constraint */
        display: block;
    }

    .rates-table thead {
        display: none;
        /* Hide headers */
    }

    .rates-table tbody {
        display: block;
    }

    .rates-table tr {
        display: block;
        background-color: #ffffff !important;
        /* Reset striping */
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .rates-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        text-align: right;
    }

    .rates-table td:last-child {
        border-bottom: none;
    }

    .rates-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        text-align: left;
        margin-right: 1rem;
    }
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Header */
/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo .accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    font-weight: 500;
    color: var(--primary);
}

.header.scrolled .nav a {
    color: var(--primary);
    /* Dark text on scrolled header */
    text-shadow: none;
}

.nav a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
}

/* Hero */
.hero {
    width: 100%;
    /* max-width: 100vh; Removed to allow full width */
    aspect-ratio: 1 / 0.85;
    /* Shorter than square to crop bottom */
    margin: 0 auto;
    /* Center horizontally */
    background-color: var(--primary);
    /* Hero Background */
    background-image: url('../assets/background.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    /* Anchor to top to crop bottom */
    background-size: cover;
    /* Back to cover since container matches aspect ratio */
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: flex-end;
    /* Align to right */
    text-align: right;
    /* Right align text */
    color: var(--text-white);
    padding-right: 5%;
    /* Add spacing from edge */
    padding-bottom: 10%;
    /* Add spacing from bottom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 35, 66, 0.3), rgba(10, 35, 66, 0.3));
    /* Lighter overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    /* Narrower width for better right alignment */
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    /* Align buttons to right */
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

/* Image Handling */
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Cards */
.card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0;
}



/* Gallery - Masonry Layout */
.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Natural height */
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Responsive Gallery */
@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

/* Mobile Gallery - Horizontal Scroll */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        column-count: auto;
        /* Reset masonry */
        column-gap: 0;
        gap: 1rem;
        padding-bottom: 1rem;
        /* Space for scrollbar if visible */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    .gallery-item {
        flex: 0 0 85%;
        /* Show 85% of image to encourage scrolling */
        scroll-snap-align: center;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        /* Center vertically */
        justify-content: center;
    }

    .gallery-item img {
        height: auto;
        /* Natural height */
        max-height: 70vh;
        /* Limit height but allow natural aspect */
        width: auto;
        /* Allow width to be natural */
        max-width: 100%;
        /* But not wider than container */
        object-fit: contain;
        /* Default behavior with auto height, but ensures no crop */
        box-shadow: var(--shadow-sm);
        display: block;
        /* Remove default inline spacing */
        margin: 0 auto;
        /* Center in container */
    }
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 2rem 0;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {

    .grid-2-col,
    .grid-3-col {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-only {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    color: var(--text-white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-3px);
    opacity: 1;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Header Social Link */
.nav-social {
    color: #1877F2 !important;
    /* Facebook Blue */
    transition: transform 0.3s ease;
}

.nav-social:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}