/* CSS Custom Properties */
:root {
    --primary: 201 42% 54%; /* #C9A96E */
    --primary-dark: 201 42% 45%; /* #B39858 */
    --primary-light: 201 42% 65%; /* #D4B884 */
    --secondary: 220 14% 96%; /* #F5F7FA */
    --accent: 210 11% 15%; /* #222831 */
    --text-primary: 220 9% 20%; /* #2D3436 */
    --text-secondary: 220 9% 46%; /* #636E72 */
    --text-light: 220 13% 91%; /* #DDD6FE */
    --background: 210 11% 98%; /* #F5F7FA */
    --white: 0 0% 100%; /* #FFFFFF */
    --border: 220 13% 91%; /* #E0E0E0 */
    --shadow: 220 43% 11%; /* #0F172A */
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px 0 hsla(var(--shadow), 0.1);
    --shadow-md: 0 4px 6px -1px hsla(var(--shadow), 0.1);
    --shadow-lg: 0 10px 15px -3px hsla(var(--shadow), 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
}

.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: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: hsl(var(--text-primary));
    border: 2px solid hsl(var(--border));
}

.btn-secondary:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--white));
    border-top: 1px solid hsl(var(--border));
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 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);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: hsl(var(--white));
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
}

.cookie-option {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid hsl(var(--border));
    border-radius: var(--border-radius);
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-option p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Header */
.header {
    background-color: hsl(var(--white));
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: hsl(var(--text-primary));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 3px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: hsl(var(--white));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: hsl(var(--background));
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid hsl(var(--border));
}

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

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

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

/* About Section */
.about {
    padding: 80px 20px;
    background-color: hsl(var(--secondary));
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.stat-label {
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background-color: hsl(var(--white));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: hsl(var(--background));
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid hsl(var(--border));
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author strong {
    color: hsl(var(--text-primary));
    display: block;
}

.testimonial-author span {
    color: hsl(var(--text-secondary));
    font-size: 0.9rem;
}

.testimonial-rating {
    color: hsl(var(--primary));
    font-size: 1.2rem;
    margin-top: 15px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 20px;
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: hsl(var(--text-light));
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: hsl(var(--secondary));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    background-color: hsl(var(--white));
    padding: 15px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 5px;
}

.contact-form {
    background-color: hsl(var(--white));
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid hsl(var(--border));
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(var(--primary), 0.1);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: hsl(var(--accent));
    color: hsl(var(--text-light));
    padding: 60px 20px 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h3 {
    color: hsl(var(--white));
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: hsl(var(--text-light));
    transition: var(--transition);
}

.social-links a:hover {
    color: hsl(var(--primary));
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: hsl(var(--white));
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 40px 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
