/**
 * VB Golf Landing Page - Main Stylesheet
 *
 * This stylesheet provides a complete implementation of the design
 * originally built with Tailwind CSS, now in vanilla CSS for better
 * performance and compatibility.
 */

/* ===== CSS Variables (Design Tokens) - Matching React/Tailwind Exactly ===== */
:root {
    /* Colors - Matching React index.css exactly */
    --color-background: hsl(0, 0%, 100%);
    --color-foreground: hsl(0, 0%, 10%);
    --color-border: hsl(0, 0%, 90%);
    --color-card: hsl(0, 0%, 98%);
    --color-card-foreground: hsl(0, 0%, 10%);
    --color-card-border: hsl(0, 0%, 94%);

    /* Primary - exact match: 158 100% 19% */
    --color-primary: hsl(158, 100%, 19%);
    --color-primary-foreground: hsl(142, 45%, 98%);

    /* Secondary */
    --color-secondary: hsl(142, 6%, 90%);
    --color-secondary-foreground: hsl(142, 6%, 15%);

    /* Muted - exact match: 142 5% 92% */
    --color-muted: hsl(142, 5%, 92%);
    --color-muted-foreground: hsl(142, 5%, 35%);

    /* Accent */
    --color-accent: hsl(38, 12%, 91%);
    --color-accent-foreground: hsl(38, 12%, 18%);

    /* Destructive */
    --color-destructive: hsl(0, 72%, 35%);
    --color-destructive-foreground: hsl(0, 72%, 98%);

    /* Input and Ring */
    --color-input: hsl(0, 0%, 70%);
    --color-ring: hsl(158, 100%, 19%);

    /* Typography - Montserrat for all */
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', sans-serif;
    --font-mono: 'Montserrat', sans-serif;

    /* Spacing - base unit 0.25rem */
    --spacing: 0.25rem;

    /* Border Radius - Matching React tailwind.config.ts exactly */
    --radius: 0.5rem;
    --radius-lg: 0.5625rem;  /* 9px */
    --radius-md: 0.375rem;   /* 6px */
    --radius-sm: 0.1875rem;  /* 3px */
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows - Matching React index.css exactly */
    --shadow-2xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00);
    --shadow-xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00);
    --shadow-sm: 0px 2px 0px 0px hsl(0 0% 0% / 0.00), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
    --shadow: 0px 2px 0px 0px hsl(0 0% 0% / 0.00), 0px 1px 2px -1px hsl(0 0% 0% / 0.08);
    --shadow-md: 0px 2px 0px 0px hsl(0 0% 0% / 0.00), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);
    --shadow-lg: 0px 2px 0px 0px hsl(0 0% 0% / 0.00), 0px 4px 6px -1px hsl(0 0% 0% / 0.12);
    --shadow-xl: 0px 2px 0px 0px hsl(0 0% 0% / 0.00), 0px 8px 10px -1px hsl(0 0% 0% / 0.15);
    --shadow-2xl: 0px 2px 0px 0px hsl(0 0% 0% / 0.00);

    /* Elevate system - for hover effects */
    --elevate-1: rgba(0, 0, 0, 0.03);
    --elevate-2: rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-muted-foreground);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-background {
    background-color: var(--color-background);
}

.bg-muted {
    background-color: var(--color-muted);
}

/* ===== Navigation ===== */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navigation.scrolled,
.navigation.mobile-open {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav-content {
        height: 5rem;
    }
}

.nav-logo img {
    height: 2.5rem;
    width: auto;
    transition: filter var(--transition-base);
}

@media (min-width: 768px) {
    .nav-logo img {
        height: 3rem;
    }
}

.navigation:not(.scrolled):not(.mobile-open) .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link.active::after {
    width: calc(100% - 1.5rem);
}

.navigation:not(.scrolled) .nav-link.active::after {
    background-color: white;
}

.navigation.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

.navigation:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: var(--color-foreground);
}

.navigation:not(.scrolled) .nav-link:hover {
    color: white;
}

.nav-link.active {
    font-weight: 600;
}

.navigation.scrolled .nav-link.active {
    color: var(--color-primary);
}

.navigation:not(.scrolled) .nav-link.active {
    color: white;
}

.nav-link-indicator {
    display: block;
    height: 2px;
    margin-top: 2px;
    border-radius: var(--radius-full);
    background-color: currentColor;
}

.nav-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .nav-mobile-toggle {
        display: none;
    }
}

.mobile-menu {
    display: block;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu-content {
    padding: 1rem;
}

.mobile-menu-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.mobile-menu-link:hover {
    background-color: var(--color-muted);
    color: var(--color-foreground);
}

.mobile-menu-link.active {
    color: var(--color-primary);
    background-color: rgba(0, 84, 60, 0.1);
    font-weight: 600;
}

/* ===== Language Dropdown ===== */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.lang-dropdown-toggle:hover {
    background-color: var(--color-muted);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    min-width: 120px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown-menu.hidden {
    display: none;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    color: var(--color-foreground);
}

.lang-option:hover {
    background-color: var(--color-muted);
}

.lang-option.active {
    background-color: rgba(0, 84, 60, 0.1);
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== Buttons - Matching React Exactly ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1px var(--color-ring);
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn svg {
    pointer-events: none;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-color: var(--color-primary);
}

.btn-primary:hover:not(:disabled)::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background-color: var(--elevate-1);
    z-index: 1;
}

.btn-primary:active:not(:disabled)::after {
    background-color: var(--elevate-2);
}

.btn-outline {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-xs);
}

.btn-outline:active:not(:disabled) {
    box-shadow: none;
}

.btn-ghost {
    background-color: transparent;
    border-color: transparent;
}

.btn-sm {
    min-height: 2rem;
    border-radius: var(--radius-md);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    min-height: 2.5rem;
    border-radius: var(--radius-md);
    padding: 0.5rem 2rem;
}

.btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
}

/* Outline button with white styling for dark backgrounds */
.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-white:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    margin-top: -8rem;
}

@media (min-width: 768px) {
    .hero-content {
        margin-top: -12rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

.hero-tagline {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 300;
    max-width: 64rem;
    margin: 0 auto 3rem;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-tagline {
        margin-bottom: 4rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-buttons {
        gap: 1rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator button {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator button:hover {
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Sections ===== */
.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.section-label {
    color: var(--color-primary);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--color-foreground);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title strong {
    font-weight: 700;
}

.section-subtitle {
    color: var(--color-muted-foreground);
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.6;
}

/* ===== Grid Layouts ===== */
.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .grid {
        gap: 4rem;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Cards - Matching React Exactly ===== */
.card {
    border-radius: 0.75rem;  /* rounded-xl */
    border: 1px solid var(--color-card-border);
    background-color: var(--color-card);
    color: var(--color-card-foreground);
    box-shadow: var(--shadow-sm);
}

.card-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-foreground);
    background-color: var(--color-background);
    border: 1px solid var(--color-input);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-ring);
    box-shadow: 0 0 0 3px rgba(0, 84, 60, 0.1);
}

/* Input with icon - left padding for icon space */
.form-input.pl-10 {
    padding-left: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--color-destructive);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--color-input);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 4rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===== Modals/Dialogs ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-muted-foreground);
}

.modal-close:hover {
    color: var(--color-foreground);
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.rotate-90 {
    transform: rotate(90deg);
}

.fade-in {
    animation: fadeIn var(--transition-base) ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp var(--transition-base) ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Responsive Images ===== */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-4-5 {
    aspect-ratio: 4 / 5;
}

.object-cover {
    object-fit: cover;
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.overflow-hidden {
    overflow: hidden;
}

/* ===== Loading States ===== */
.spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-primary);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Modal Content */
.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

/* ===== Newsletter Popup ===== */
.newsletter-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
}

.newsletter-popup-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.newsletter-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background-color var(--transition-fast);
}

.newsletter-popup-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.newsletter-popup-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.newsletter-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-popup-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

.newsletter-popup-body {
    padding: 1.5rem;
}

.newsletter-popup-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    text-align: center;
}

.newsletter-popup-subtitle {
    font-size: 0.95rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1.25rem;
    text-align: center;
}

.newsletter-popup-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-popup-form .form-input {
    flex: 1;
}

.newsletter-popup-disclaimer {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.75rem;
    text-align: center;
}

/* ===== Toast Notification ===== */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99999;
    animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border);
    max-width: 360px;
}

.toast-icon {
    flex-shrink: 0;
    color: var(--color-primary);
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-foreground);
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.8rem;
    color: var(--color-muted-foreground);
}

/* ===== Accessibility ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ===== Print Styles ===== */
@media print {
    .navigation,
    .footer,
    .btn,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ===== Additional Utility Classes for React Parity ===== */

/* Background Colors */
.bg-card {
    background-color: var(--color-card);
}

/* Responsive Grid Classes */
.lg-grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lg-grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg-gap-16 {
        gap: 4rem;
    }

    .lg-order-1 {
        order: 1;
    }

    .lg-order-2 {
        order: 2;
    }
}

/* Order Classes */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Hover Elevate Effect */
.hover-elevate {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-elevate:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Group Hover Effects */
.group {
    position: relative;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Transition Utilities */
.transition-transform {
    transition: transform var(--transition-slow);
}

.duration-500 {
    transition-duration: 500ms;
}

/* Font Utilities */
.font-serif {
    font-family: var(--font-serif);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Text Utilities */
.text-foreground {
    color: var(--color-foreground);
}

.text-muted-foreground {
    color: var(--color-muted-foreground);
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

/* Background Opacity Classes */
.bg-primary\/10 {
    background-color: rgba(0, 102, 61, 0.1);
}

/* Absolute Positioning for Overlays */
.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bottom-4 {
    bottom: 1rem;
}

.left-4 {
    left: 1rem;
}

/* Gradient Overlays */
.bg-gradient-to-t {
    background: linear-gradient(to top, var(--gradient-from, transparent), var(--gradient-to, transparent));
}

.from-black\/60 {
    --gradient-from: rgba(0, 0, 0, 0.6);
    --gradient-to: transparent;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Aspect Ratios */
.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* Flex Utilities */
.flex-shrink-0 {
    flex-shrink: 0;
}

/* Width and Height */
.w-1\.5 {
    width: 0.375rem;
}

.h-1\.5 {
    height: 0.375rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

/* Margin Utilities */
.mt-1\.5 {
    margin-top: 0.375rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

/* Items Center */
.items-center {
    align-items: center;
}

/* ===== Complete Tailwind-like Utilities ===== */

/* Layout */
.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-start {
    align-items: flex-start;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-3 {
    width: 0.75rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.h-full {
    height: 100%;
}

.h-3 {
    height: 0.75rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-md {
    max-width: 28rem;
}

/* Positioning */
.left-3 {
    left: 0.75rem;
}

.top-1\/2 {
    top: 50%;
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

/* Padding Left */
.pl-10 {
    padding-left: 2.5rem;
}

/* Background Colors */
.bg-background {
    background-color: var(--color-background);
}

.bg-destructive\/10 {
    background-color: hsl(0, 72%, 95%);
}

/* Text Colors */
.text-destructive {
    color: var(--color-destructive);
}

/* Height */
.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.w-16 {
    width: 4rem;
}

/* Spacing */
.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-5 > * + * {
    margin-top: 1.25rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

/* Text */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-serif {
    font-family: var(--font-serif);
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Colors */
.text-white {
    color: white;
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-primary {
    color: var(--color-primary);
}

.text-foreground {
    color: var(--color-foreground);
}

.text-foreground\/90 {
    color: rgba(0, 0, 0, 0.9);
}

.text-muted-foreground {
    color: var(--color-muted-foreground);
}

.bg-white {
    background-color: white;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.7);
}

.bg-black\/80 {
    background-color: rgba(0, 0, 0, 0.8);
}

.bg-background {
    background-color: var(--color-background);
}

.bg-card {
    background-color: var(--color-card);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-primary\/5 {
    background-color: hsla(158, 100%, 19%, 0.05);
}

.bg-primary\/10 {
    background-color: hsla(158, 100%, 19%, 0.1);
}

.bg-primary\/20 {
    background-color: hsla(158, 100%, 19%, 0.2);
}

/* Gradients */
.bg-gradient-to-b {
    background: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-black\/30 {
    --tw-gradient-from: rgba(0, 0, 0, 0.3);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.via-black\/20 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.2), var(--tw-gradient-to, transparent);
}

.to-black\/50 {
    --tw-gradient-to: rgba(0, 0, 0, 0.5);
}

.bg-gradient-to-t {
    background: linear-gradient(to top, var(--tw-gradient-stops));
}

/* Combined gradient classes */
.from-black\/30.via-black\/20.to-black\/50,
.bg-gradient-to-b.from-black\/30 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.from-black\/70.via-black\/20.to-transparent {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
}

.from-black\/80.via-black\/40.to-transparent {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.from-black\/80.via-black\/30.to-transparent {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
}

.from-black\/60.to-transparent {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Borders */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-border {
    border-color: var(--color-border);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: 9999px;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-6 {
    top: 1.5rem;
}

.right-6 {
    right: 1.5rem;
}

.bottom-0 {
    bottom: 0;
}

.bottom-4 {
    bottom: 1rem;
}

.bottom-8 {
    bottom: 2rem;
}

.left-0 {
    left: 0;
}

.left-4 {
    left: 1rem;
}

.left-1\/2 {
    left: 50%;
}

.right-0 {
    right: 0;
}

.z-10 {
    z-index: 10;
}

.transform {
    transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translateX(-50%);
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Background */
.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.bg-no-repeat {
    background-repeat: no-repeat;
}

/* Effects */
.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Transitions */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Hover Effects */
.hover\:text-white:hover {
    color: white;
}

.hover\:gap-2:hover {
    gap: 0.5rem;
}

.hover\:text-primary\/80:hover {
    color: hsla(158, 100%, 19%, 0.8);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Aspect Ratios */
.aspect-4-5 {
    aspect-ratio: 4 / 5;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-16-10 {
    aspect-ratio: 16 / 10;
}

/* Animation */
.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0) translateX(-50%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Responsive Utilities */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .md\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .md\:p-8 {
        padding: 2rem;
    }
    .md\:p-6 {
        padding: 1.5rem;
    }
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .md\:gap-4 {
        gap: 1rem;
    }
    .md\:mb-16 {
        margin-bottom: 4rem;
    }
    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .md\:block {
        display: block;
    }
    .md\:hidden {
        display: none;
    }
    .hidden.md\:block {
        display: none;
    }
}

@media (min-width: 768px) {
    .hidden.md\:block {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lg\:gap-16 {
        gap: 4rem;
    }
    .lg\:order-1 {
        order: 1;
    }
    .lg\:order-2 {
        order: 2;
    }
    .lg\:flex {
        display: flex;
    }
    .lg\:justify-center {
        justify-content: center;
    }
    .lg\:w-1\/3 {
        width: 33.333333%;
    }
    .lg\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-foreground);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 61, 0.1);
}

/* Input with icon - left padding for icon space */
.form-input.pl-10 {
    padding-left: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Accordion */
.accordion-item {
    overflow: hidden;
}

.accordion-trigger {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.accordion-trigger:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.accordion-icon {
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Destinos Cards */
.destino-card .destino-toggle {
    display: flex;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.destino-card.expanded .destino-toggle {
    display: none;
}

.destino-card.expanded .destino-details {
    display: block !important;
}

.destino-card .destino-collapse {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

/* Hover Elevate Effect */
.hover-elevate {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-elevate:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Group hover */
.group {
    position: relative;
}

/* Additional utilities for exact React match */
.rounded-xl {
    border-radius: 0.75rem;
}

/* Custom width for centered cards with gap */
@media (min-width: 1024px) {
    .lg\:w-\[calc\(33\.333\%-1rem\)\] {
        width: calc(33.333% - 1rem);
    }
}

.-mt-32 {
    margin-top: -8rem;
}

.-mt-48 {
    margin-top: -12rem;
}

@media (min-width: 768px) {
    .md\:-mt-48 {
        margin-top: -12rem;
    }
}

/* Smooth scroll polyfill */
.smooth-scroll {
    scroll-behavior: smooth;
}
