:root {
    /* Premium Coastal Palette */
    --primary: #0e4b5b;
    /* Deep Ocean Teal */
    --secondary: #2c7a7b;
    /* Softer Teal */
    --accent: #f4d03f;
    /* Golden Sun - accents */
    --sand: #fdfcf0;
    /* Light Sand - background */
    --white: #ffffff;
    --text-dark: #1a202c;
    --text-light: #718096;
    --border: #e2e8f0;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Fonts relative to standard sans-serif for now, can import Google Fonts in header */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--sand);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 16px;
}

/* Containers that should NOT have white background */
header .container,
.hero .container,
.breadcrumbs .container,
footer .container,
.section-full .container {
    background-color: transparent;
    border-radius: 0;
    padding: 0 2rem;
}

/* Full-width colored sections */
.section-full {
    padding: 3rem 0;
}

.section-full .container {
    padding: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section {
    padding: 0;
}

/* Header */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.2s ease;
}

nav a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-1px);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown > a::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid var(--border);
    margin-top: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--white);
    border-top: none;
}

/* Desktop only: show dropdown on hover */
@media (min-width: 901px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown:hover > a::after {
        transform: rotate(-135deg);
        margin-top: 3px;
    }
}

/* Both desktop and mobile: show dropdown when .active class is applied */
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown.active > a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--sand);
    color: var(--primary);
    transform: none;
}

.dropdown-menu a .dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #fdfcf0 100%);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    header nav li {
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

    header nav li:last-child {
        border-bottom: none;
    }

    header nav a {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1.1rem;
        color: var(--primary);
        transition: all 0.2s ease;
        text-align: left;
    }

    header nav a:hover {
        background: var(--secondary);
        color: white;
        padding-left: 1rem;
        border-radius: 8px;
    }

    /* Mobile dropdown styles - show all items stacked */
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        border-bottom: none !important;
    }

    .nav-dropdown > a {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        margin: 0;
        padding: 0;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        min-width: 100%;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        display: block;
        padding: 1rem 0.5rem 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--primary);
        text-align: left;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        background: var(--secondary);
        color: white;
        padding-left: 2rem;
        border-radius: 8px;
    }

    .dropdown-divider {
        display: none;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(14, 75, 91, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Hero Adjustments */
    .hero {
        min-height: 350px;
        height: auto;
        padding: calc(var(--header-height) + 1.5rem) 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Hero */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(14, 75, 91, 0.4), rgba(14, 75, 91, 0.6)), url('../images/hero-bg.jpg');
    /* Local image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: var(--header-height);
    margin-bottom: 0;
}

/* Breadcrumbs - Beach Trail */
.breadcrumbs {
    background: linear-gradient(180deg, #e8f4f8 0%, #fdfcf0 100%);
    padding: 1.25rem 0;
}

.breadcrumbs .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.breadcrumbs ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

/* Share widget inside breadcrumbs - compact styling */
.breadcrumbs .share-widget {
    padding: 0;
    margin-bottom: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '🏖️';
    font-size: 0.85rem;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.breadcrumbs a {
    color: var(--secondary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.breadcrumbs a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-1px);
}

.breadcrumbs .current {
    color: var(--primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    background: rgba(14, 75, 91, 0.1);
    border-radius: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Card Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 240px;
    background-color: var(--border);
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
}

footer h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

/* Gallery Images */
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 2rem;
        padding: 0.75rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
}

/* Activity Content Styling */
.activity-content p {
    margin-bottom: 1.5rem;
}

.activity-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.activity-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.activity-content strong {
    color: var(--primary);
}


/* Social Share Widget */
.share-widget {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-light);
}

.share-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 75, 91, 0.05);
}

.share-icon {
    font-size: 1rem;
    line-height: 1;
}

.share-fb .share-icon {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Hide text labels - icon only */
.share-btn-text {
    display: none;
}

/* Copied state */
.share-btn.copied {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(44, 122, 123, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .share-widget {
        gap: 0.75rem;
    }

    .share-btn {
        width: 34px;
        height: 34px;
    }

    .share-icon {
        font-size: 0.9rem;
    }
}

