/* CSS Custom Properties */
:root {
    /* Colors using HSL format */
    --primary: 15 85% 60%; /* #FF6B35 - Vibrant Orange */
    --secondary: 180 67% 65%; /* #4FD1C7 - Turquoise */
    --accent: 218 54% 37%; /* #2C5282 - Deep Blue */
    --text-primary: 215 28% 17%; /* #1A202C - Dark Gray */
    --text-secondary: 215 20% 65%; /* #718096 - Medium Gray */
    --background: 210 11% 98%; /* #F5F7FA - Light Gray */
    --surface: 0 0% 100%; /* #FFFFFF - White */
    --border: 214 13% 93%; /* #E2E8F0 - Light Border */
    --success: 142 76% 36%; /* #38A169 - Green */
    --warning: 38 92% 50%; /* #ED8936 - Orange */
    --error: 0 84% 60%; /* #E53E3E - Red */
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-3xl);
    color: hsl(var(--text-secondary));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--surface));
    border-top: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    margin-bottom: var(--spacing-sm);
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: hsl(var(--surface));
    margin: var(--spacing-lg);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid hsl(var(--border));
}

.modal-header h2 {
    margin-bottom: 0;
}

.close {
    color: hsl(var(--text-secondary));
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: hsl(var(--text-primary));
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid hsl(var(--border));
    text-align: right;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category div {
    flex: 1;
}

.cookie-category h3 {
    margin-bottom: var(--spacing-sm);
}

.cookie-category p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsl(var(--border));
    transition: var(--transition-fast);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: hsl(var(--primary));
}

input:disabled + .slider {
    background-color: hsl(var(--secondary));
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--surface) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 999;
    height: var(--header-height);
}

.navbar {
    height: 100%;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: hsl(var(--text-primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--text-primary));
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: hsl(var(--primary));
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--secondary) / 0.1) 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B35' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

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

.about-text h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background-color: hsl(var(--background));
}

.stat h3 {
    font-size: 2rem;
    color: hsl(var(--primary));
    margin-bottom: var(--spacing-sm);
}

.stat p {
    margin-bottom: 0;
    font-weight: var(--font-weight-medium);
}

/* Services Section */
.services {
    background-color: hsl(var(--background));
}

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

.service-card {
    background-color: hsl(var(--surface));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

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

.service-card p {
    margin-bottom: 0;
}

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

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

.destination-card {
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

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

.destination-content {
    padding: var(--spacing-lg);
}

.destination-content h3 {
    margin-bottom: var(--spacing-md);
}

.destination-content p {
    margin-bottom: var(--spacing-lg);
}

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

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

.review-card {
    background-color: hsl(var(--surface));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stars {
    margin-bottom: var(--spacing-lg);
}

.review-card p {
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.review-card p::before {
    content: '"';
    font-size: 3rem;
    color: hsl(var(--primary) / 0.3);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
}

.reviewer h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.reviewer span {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
}

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

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

.contact-info h3 {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: var(--spacing-xs);
}

.contact-item h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.contact-item p {
    margin-bottom: 0;
}

.social-links {
    margin-top: var(--spacing-xl);
}

.social-links h4 {
    margin-bottom: var(--spacing-md);
}

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

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

.social-icons a:hover {
    background-color: hsl(var(--secondary) / 0.1);
    transform: translateY(-2px);
}

.newsletter-signup {
    background-color: hsl(var(--background));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.newsletter-signup h3 {
    margin-bottom: var(--spacing-md);
}

.newsletter-signup p {
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

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

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

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--surface));
    margin-bottom: var(--spacing-lg);
}

.footer-section p {
    color: hsl(var(--text-secondary) / 0.8);
}

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

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

.footer-section ul li a {
    color: hsl(var(--text-secondary) / 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: hsl(var(--primary));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--text-secondary) / 0.3);
    padding-top: var(--spacing-lg);
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-3xl: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: hsl(var(--surface));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg) 0;
        gap: var(--spacing-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .services-grid,
    .destinations-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}

.animate-on-scroll.animated {
    animation-name: fadeInUp;
}

/* Focus Styles for Accessibility */
.btn:focus,
input:focus,
.nav-link:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .modal {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
}
