/* CSS Custom Properties */
:root {
    /* Colors - Using HSL format */
    --primary: 220 85% 57%; /* #2563eb */
    --primary-dark: 220 85% 47%; /* #1d4ed8 */
    --secondary: 142 76% 36%; /* #16a34a */
    --secondary-dark: 142 84% 29%; /* #15803d */
    --accent: 38 92% 50%; /* #f59e0b */
    --text-primary: 222 84% 5%; /* #0f172a */
    --text-secondary: 215 28% 17%; /* #334155 */
    --text-light: 215 20% 65%; /* #94a3b8 */
    --background: 210 11% 98%; /* #f8fafc */
    --surface: 0 0% 100%; /* #ffffff */
    --border: 214 32% 91%; /* #e2e8f0 */
    --shadow: 222 84% 5% / 0.1; /* rgba(15, 23, 42, 0.1) */
    --error: 0 84% 60%; /* #ef4444 */
    --success: 142 76% 36%; /* #16a34a */
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-family-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: hsl(var(--text-primary));
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-secondary));
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: hsl(var(--primary-dark));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    color: white;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: hsl(var(--secondary-dark));
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: white;
}

/* Cookie Management Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: hsl(var(--surface));
    border-top: 1px solid hsl(var(--border));
    box-shadow: 0 -4px 6px -1px hsl(var(--shadow));
    padding: var(--space-lg);
    z-index: 1000;
    transition: var(--transition);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.cookie-text p {
    margin-bottom: 0;
    color: hsl(var(--text-secondary));
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: var(--transition);
}

.cookie-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: hsl(var(--surface));
    padding: var(--space-2xl);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-category p {
    margin-top: var(--space-sm);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    color: hsl(var(--text-light));
}

.modal-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    margin-top: var(--space-lg);
}

/* Header */
.header {
    background: hsl(var(--surface));
    box-shadow: 0 1px 3px 0 hsl(var(--shadow));
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: hsl(var(--text-primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: hsl(var(--text-secondary));
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: hsl(var(--primary));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: hsl(var(--text-primary));
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--surface)) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-primary));
}

.hero-text p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
    color: hsl(var(--text-secondary));
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Section Styles */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: hsl(var(--text-light));
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: hsl(var(--surface));
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-secondary));
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--secondary));
    font-weight: bold;
}

.about-svg {
    width: 100%;
    height: auto;
    max-width: 300px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px hsl(var(--shadow));
    transition: var(--transition);
    border: 1px solid hsl(var(--border));
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px hsl(var(--shadow));
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-lg);
}

.icon {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-primary));
}

.service-card p {
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-secondary));
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.service-features span {
    background: hsl(var(--background));
    color: hsl(var(--text-secondary));
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Destinations Section */
.destinations {
    background: hsl(var(--background));
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.destination-card {
    background: hsl(var(--surface));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px hsl(var(--shadow));
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px hsl(var(--shadow));
}

.destination-image {
    height: 200px;
    overflow: hidden;
}

.destination-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-info {
    padding: var(--space-xl);
}

.destination-info h3 {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-primary));
}

.destination-info p {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-secondary));
}

.destination-info ul {
    list-style: none;
    padding-left: 0;
}

.destination-info li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: hsl(var(--text-secondary));
    font-size: var(--font-size-sm);
}

.destination-info li::before {
    content: '📍';
    position: absolute;
    left: 0;
}

/* Reviews Section */
.reviews {
    background: hsl(var(--surface));
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.review-card {
    background: hsl(var(--background));
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    position: relative;
}

.review-stars {
    color: hsl(var(--accent));
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.review-card blockquote {
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-secondary));
    line-height: 1.7;
}

.review-author strong {
    display: block;
    color: hsl(var(--text-primary));
    margin-bottom: var(--space-xs);
}

.review-author span {
    color: hsl(var(--text-light));
    font-size: var(--font-size-sm);
}

/* Newsletter Section */
.newsletter {
    background: hsl(var(--primary));
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-group input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: 8px;
    font-size: var(--font-size-base);
}

.newsletter-privacy {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-privacy a {
    color: white;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: hsl(var(--background));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-primary));
}

.contact-item p {
    margin-bottom: 0;
    color: hsl(var(--text-secondary));
}

.social-links h3 {
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icons a {
    width: 48px;
    height: 48px;
    background: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: hsl(var(--primary-dark));
    transform: translateY(-2px);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

/* Form Styles */
.contact-form {
    background: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px hsl(var(--shadow));
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: hsl(var(--text-primary));
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: hsl(var(--text-primary));
    color: white;
    padding: var(--space-3xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--space-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    color: white;
}

/* Utilities */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: hsl(var(--surface));
        box-shadow: 0 4px 6px -1px hsl(var(--shadow));
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --space-3xl: 2rem;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .modal-content {
        padding: var(--space-lg);
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .newsletter,
    .contact {
        display: none;
    }
    
    .hero,
    .about,
    .services,
    .destinations,
    .reviews {
        page-break-inside: avoid;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: 0 0% 0%;
        --shadow: 0 0% 0% / 0.3;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}
