/* Modern Ella's Camper Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Variables for Color Palette */
:root {
    --primary-color: #2c7da0;
    --primary-dark: #1b5a7d;
    --secondary-color: #61a5c2;
    --accent-color: #f4a261;
    --accent-hover: #e76f51;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
}

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

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

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1.25rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-smooth);
}

header.scrolled {
    padding: 0.75rem 5%;
    box-shadow: var(--shadow-md);
}

header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav ul li::before {
    display: none;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-smooth);
}

nav a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher button {
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    border-radius: 8px;
    transition: all var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
}

.language-switcher button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.language-switcher button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), 
                url('img/hero.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 5% 120px;
    position: relative;
    margin-top: 80px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 20px rgba(244, 162, 97, 0.4);
    transition: all var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(244, 162, 97, 0.5);
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Sections */
section {
    padding: 100px 5%;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Accommodation Section */
#accommodation {
    background: var(--bg-white);
}

.accommodation-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.accommodation-details:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.accommodation-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Location Section */
#location {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.location-details {
    max-width: 1000px;
    margin: 0 auto;
}

.location-details > * {
    margin-bottom: 2.5rem;
}

.location-details h3 {
    color: var(--primary-color);
    margin-top: 2rem;
}

/* Gallery Section */
#gallery {
    background: var(--bg-white);
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,125,160,0.3), rgba(97,165,194,0.3));
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* About Section */
#about {
    background: linear-gradient(135deg, #2c7da0 0%, #61a5c2 100%);
    color: white;
}

#about h2 {
    color: white;
}

#about h2::after {
    background: white;
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Contact Section */
#contact {
    background: var(--bg-white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form p {
    margin-bottom: 1rem;
}

.contact-form a {
    font-weight: 600;
    transition: all var(--transition-fast);
}

.contact-form a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1b5a7d 0%, #2c7da0 100%);
    color: white;
    text-align: center;
    padding: 3rem 5%;
}

footer p {
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 1rem 5%;
    }

    header h1 {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    nav {
        width: 100%;
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 150px 5% 80px;
        margin-top: 200px;
        background-attachment: scroll;
    }

    section {
        padding: 60px 5%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .accommodation-details,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}