:root {
    --color-arctic: #D3D1CE;
    --color-apres-ski: #6C6D74;
    --color-slopes: #B3B7BA;
    --color-midnight: #090F15;
    --color-mountainside: #262E36;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;

    --transition: all 0.3s ease-in-out;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-arctic);
    color: var(--color-midnight);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

[class^="section-"] {
    padding: 6rem 0;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-two-cols {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.grid-three-cols {
    grid-template-columns: repeat(3, 1fr);
}

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

.sub-heading {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-apres-ski);
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-nav-cta {
    border-color: var(--color-slopes);
    color: var(--color-slopes);
}

.btn-nav-cta:hover {
    background-color: var(--color-mountainside);
    border-color: var(--color-mountainside);
    color: var(--color-arctic);
}

.btn-primary-cta {
    background-color: var(--color-mountainside);
    color: var(--color-arctic);
    border-color: var(--color-mountainside);
    font-size: 1rem;
    padding: 1rem 2.5rem;
}

.btn-primary-cta:hover {
    background-color: var(--color-apres-ski);
    border-color: var(--color-apres-ski);
}

.btn-secondary-cta {
    background-color: var(--color-arctic);
    color: var(--color-midnight);
    border-color: var(--color-arctic);
    font-size: 1rem;
    padding: 1rem 2.5rem;
}

.btn-secondary-cta:hover {
    background-color: var(--color-slopes);
    border-color: var(--color-slopes);
}

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-midnight);
    color: var(--color-arctic);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-slopes);
}

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

.navbar.scrolled {
    background-color: rgba(9, 15, 21, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-arctic);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-midnight);
    opacity: 0.6;
    z-index: -1;
}

.hero-content {
    animation: fadeIn 1.5s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-slopes);
    margin-bottom: 2.5rem;
}

/* --- About --- */
.section-about {
    background-color: var(--color-arctic);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* --- Services --- */
.section-services {
    background-color: var(--color-mountainside);
    color: var(--color-arctic);
}

.section-services .section-title {
    color: var(--color-arctic);
    margin-bottom: 4rem;
}

.service-card {
    border: 1px solid var(--color-apres-ski);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--color-midnight);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-slopes);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.service-card h3 {
    color: var(--color-arctic);
}

.service-card p {
    color: var(--color-slopes);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- Portfolio --- */
.section-portfolio .section-title {
    color: var(--color-midnight);
    margin-bottom: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    display: block;
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 46, 54, 0.9);
    color: var(--color-arctic);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* --- Testimonials (slider) --- */
.section-testimonials {
    background-color: var(--color-slopes);
    color: var(--color-midnight);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-content blockquote {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--color-midnight);
}

.testimonial-content cite {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    color: var(--color-mountainside);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(9, 15, 21, 0.3);
    color: var(--color-arctic);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--color-midnight);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

/* --- CTA Section --- */
.section-cta {
    background-color: var(--color-midnight);
    color: var(--color-arctic);
}

.section-cta h2 {
    font-size: 3rem;
}

.section-cta p {
    font-size: 1.1rem;
    color: var(--color-slopes);
    margin-bottom: 2.5rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-midnight);
    color: var(--color-apres-ski);
    padding-top: 4rem;
    font-size: 0.9rem;
}

.footer .grid-three-cols {
    align-items: flex-start;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-arctic);
}

.footer-links li,
.footer-socials li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: var(--color-arctic);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-mountainside);
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2rem; }

    .grid-two-cols,
    .grid-three-cols {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
        margin-bottom: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .btn-nav-cta {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    
    [class^="section-"] {
        padding: 4rem 0;
    }

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

    .testimonial-content blockquote {
        font-size: 1.5rem;
    }

    .footer .grid-three-cols {
        text-align: center;
    }

    .footer-socials {
        text-align: center;
        margin-top: 1.5rem;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        line-height: 30px;
    }
}
