/* Base CSS - Reset, Typography, and Layout */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--accent-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    font-weight: 400;
}

h3 {
    font-size: 20px;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Buttons */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Form Elements */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

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

/* Lists */
ul, ol {
    list-style: none;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Utility Classes */
.section__title {
    text-align: center;
    margin-bottom: 1rem;
}

.section__description {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Color Variables */
:root {
    --white: #fff;
    --accent-color: #231F20;
    --accent-color-light: #4b4345;
    --border-color: #F3F0E6;
    --gray: #F3F0E6;
    --orange: #E27D60;
    --shadow: 0px 4px 30px 0px #0000001F;
    --shadow-hover: 0px 4px 20px 0px #0000001F;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Animations */
@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-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobile menu body lock */
body.menu-open {
    overflow: hidden;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

.cookie-banner__content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--orange);
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    opacity: 0.8;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__button {
    background: var(--white);
    color: var(--accent-color);
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    margin: 0;
    border: none;
}

.cookie-banner__button:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cookie-banner__button:active {
    transform: translateY(0);
}

/* Mobile styles for cookie banner */
@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner__text {
        min-width: auto;
    }
    
    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner__button {
        width: 100%;
        max-width: 200px;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .header,
    .footer,
    .cookie-banner {
        display: none;
    }
}
