/* Modern Mountain Aesthetic - Refined */
:root {
    --primary-color: #1A2633;
    /* Darker Slate for more premium feel */
    --accent-color: #C5A085;
    /* Warm Wood / Gold - key for "Rural" feel */
    --text-color: #444444;
    --bg-color: #FDFDFD;
    --white: #ffffff;
    --header-height: 100px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Playfair Display', serif;
    /* Elegant serif for body */
    --nav-font: 'Playfair Display', serif;
    /* Switching nav to Serif for "Rural" elegance */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1.1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

/* Fade In Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    /* Wood accent */
}

.section-title.center {
    text-align: center;
}

/* Section Variations */
.section-dark {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.section-dark .section-title {
    color: var(--accent-color);
    /* Gold title on dark bg */
}

.section-dark .section-title::after {
    background-color: var(--white);
    /* White accent line */
}

.section-dark .lead {
    color: #e0e0e0 !important;
    /* Lighter text for dark bg */
}

.section-warm {
    background-color: #f7f5f2;
    /* Warm beige characteristic of "Rural" */
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #A8856A;
    /* Darker wood tone */
    color: var(--white);
    transform: translateY(-3px);
    border-color: #A8856A;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Navbar - Modern Rural with HUGE Logo */
/* Navbar - Modern Rural with HUGE Logo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
    border: none;
    border-radius: 0;
    transform: none;
    box-shadow: none;
}

.navbar.scrolled {
    background-color: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--accent-color);
    padding: 0;
    top: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0 20px;
}

/* Drastic Logo Increase - Hanging Style */
.logo {
    z-index: 1001;
    position: absolute;
    left: 20px;
    top: 0;
    margin: 0;
    display: block;
}

.logo img {
    height: 350px;
    /* SUPER MASSIVE */
    width: auto;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.6));
    margin: 0;
    padding: 0;
}

.navbar.scrolled .logo img {
    height: 60px;
    top: 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: auto;
    /* Push to right */
    padding-right: 20px;
}

.nav-links li a {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--nav-font);
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.mobile-menu-btn .bar {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    margin: 8px 0;
    transition: 0.3s;
}

/* Hero Section - Ken Burns */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    animation: kenBurns 25s infinite alternate linear;
    /* Extremely slow */
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    z-index: 1;
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out forwards;
    animation-delay: 0.5s;
    max-width: 800px;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    text-transform: none;
    color: var(--white);
    /* Force white color for contrast */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    /* Stronger shadow */
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    font-weight: 300;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.15rem;
}

.about-text .lead {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    /* Thicker border */
    z-index: -1;
}

.about-image img {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.download-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Features Section */
.features {
    background-color: #f7f5f2;
    /* Warm grey/beige */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: transparent;
    padding: 40px;
    border: 1px solid rgba(197, 160, 133, 0.2);
    /* Accent border prompt */
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.feature-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: #777;
    font-size: 1rem;
    font-family: var(--font-heading);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 5px solid var(--accent-color);
    /* Wood accent top */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 50px;
    flex-direction: column;
    /* Center everything in footer for balance */
    text-align: center;
}

.footer-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-style: italic;
}

.footer-logo img {
    height: 350px;
    /* ENORMOUS FOOTER LOGO */
    width: auto;
    opacity: 1;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0;
        height: 70px;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .navbar.scrolled {
        background-color: rgba(26, 38, 51, 0.98);
    }

    .nav-container {
        justify-content: space-between;
    }

    .logo {
        position: absolute;
        left: 10px;
    }

    .logo img {
        height: 140px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        justify-content: center;
        gap: 30px;
        padding-right: 0;
    }

    .nav-links.active {
        display: flex;
        /* Fix active state display */
        z-index: 999;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        margin-right: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .footer-logo img {
        height: 200px;
        /* Smaller on mobile but still big */
    }
}

/* Slider Styles */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.6);
}

.slide.active {
    opacity: 1;
}

/* Chalet Cards */
.chalet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.chalet-card {
    display: block;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.chalet-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chalet-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chalet-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-info {
    padding: 30px;
    text-align: center;
}

.card-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info p {
    color: #666;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .chalet-grid {
        grid-template-columns: 1fr;
    }
}