:root {
    --primary-color: #1a4a44;
    --secondary-color: #27ae60;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-bg: #f9fbfb;
    --white: #ffffff;
    --alert-bg: #e74c3c;
    --font-main: 'Inter', sans-serif;
    --dashboard-grad: linear-gradient(135deg, #1a4a44 0%, #2c6e64 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Utility Bar & Header */
.utility-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.alert-ticker {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 1rem;
}

.alert-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

header {
    background: var(--white);
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/kauai-na-pali-coast-aerial.webp') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Dashboard Section */
.dashboard {
    padding: 4rem 5%;
    background: var(--white);
    margin-top: -50px;
    border-radius: 15px 15px 0 0;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #f9fbfb;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
}

.card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Regional Grid */
.regions {
    padding: 6rem 5%;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.region-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.region-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.region-card:hover .region-image {
    transform: scale(1.05);
}

.region-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

/* --- Content Sections --- */
.content-section {
    padding: 6rem 10%;
    background: var(--white);
}

.content-section:nth-of-type(even) {
    background: var(--light-bg);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
}

.info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
}

.info-card ul li::before {
    content: '→';
    color: var(--secondary-color);
    font-weight: 700;
}

.stat-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-box .stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-box .stat-item label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    nav {
        display: none;
    }
}

/* --- Tour Buttons --- */
.nav-tour-btn a {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.nav-tour-btn a:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px);
}

.floating-tour-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-tour-btn:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

/* --- Hamburger Menu --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        position: relative;
        padding: 1.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none !important;
    }

    nav.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 1002;
    }

    nav.active ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    nav.active ul li {
        margin-left: 0;
    }

    .floating-tour-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}