/* CSS Custom Properties */
:root {
    --primary-color: 35 90 79; /* #2D5A4F */
    --secondary-color: 74 124 89; /* #4A7C59 */
    --accent-color: 143 188 143; /* #8FBC8F */
    --text-dark: 33 37 41; /* #212529 */
    --text-light: 108 117 125; /* #6C757D */
    --background: 248 250 248; /* #F8FAF8 */
    --white: 255 255 255; /* #FFFFFF */
    --border: 222 226 230; /* #DEE2E6 */
    --shadow: 0 0 0; /* #000000 */
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(var(--shadow), 0.1);
    --shadow-md: 0 4px 8px rgba(var(--shadow), 0.15);
    --shadow-lg: 0 8px 16px rgba(var(--shadow), 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: rgb(var(--text-dark));
    background-color: rgb(var(--background));
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-secondary {
    background-color: rgb(var(--secondary-color));
    color: rgb(var(--white));
}

.btn-secondary:hover {
    background-color: rgb(var(--primary-color));
}

.btn-outline {
    background-color: transparent;
    color: rgb(var(--primary-color));
    border: 2px solid rgb(var(--primary-color));
}

.btn-outline:hover {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white));
}

/* Cookie Management Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(var(--white));
    border-top: 1px solid rgb(var(--border));
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--shadow), 0.5);
}

.cookie-modal-content {
    background-color: rgb(var(--white));
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    color: rgb(var(--text-light));
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: rgb(var(--text-dark));
}

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

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 2px;
}

.cookie-category span {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.cookie-category p {
    color: rgb(var(--text-light));
    font-size: 14px;
    margin: 0;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Header Styles */
header {
    background-color: rgb(var(--white));
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    padding: 15px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: rgb(var(--primary-color));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: rgb(var(--text-dark));
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(var(--primary-color));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(var(--primary-color));
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgb(var(--background)), rgb(var(--accent-color) / 0.2));
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgb(var(--primary-color));
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgb(var(--text-light));
    margin-bottom: 30px;
}

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

.hero-image svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: rgb(var(--white));
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 60px;
}

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

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

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 15px;
}

.service-card p {
    color: rgb(var(--text-light));
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: rgb(var(--background));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 30px;
}

.about-text p {
    color: rgb(var(--text-light));
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

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

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

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background-color: rgb(var(--white));
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 60px;
}

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

.review-card {
    background-color: rgb(var(--background));
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid rgb(var(--primary-color));
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    color: rgb(var(--text-light));
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.reviewer strong {
    color: rgb(var(--primary-color));
    display: block;
}

.reviewer span {
    color: rgb(var(--text-light));
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--secondary-color)));
    color: rgb(var(--white));
}

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

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
}

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

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: rgb(var(--background));
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 60px;
}

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

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

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

.contact-item svg {
    margin-top: 5px;
    flex-shrink: 0;
}

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

.contact-item p {
    color: rgb(var(--text-light));
    line-height: 1.5;
}

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

.contact-form h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

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

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white));
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-section ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(var(--white), 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(var(--white), 0.2);
    transform: translateY(-2px);
}

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

/* Blog Styles */
.blog-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgb(var(--background)), rgb(var(--accent-color) / 0.2));
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    color: rgb(var(--primary-color));
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    color: rgb(var(--text-light));
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 80px 0;
    background-color: rgb(var(--white));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: rgb(var(--background));
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgb(var(--border));
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(45deg, rgb(var(--primary-color)), rgb(var(--secondary-color)));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-content {
    padding: 30px;
}

.blog-meta {
    color: rgb(var(--text-light));
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-card h3 {
    color: rgb(var(--primary-color));
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card p {
    color: rgb(var(--text-light));
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card .btn {
    font-size: 14px;
    padding: 10px 20px;
}

/* Article Styles */
.article-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgb(var(--background)), rgb(var(--accent-color) / 0.2));
}

.article-meta {
    color: rgb(var(--text-light));
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.2rem;
    color: rgb(var(--text-light));
    line-height: 1.6;
}

.article-content {
    padding: 80px 0;
    background-color: rgb(var(--white));
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-body h2 {
    color: rgb(var(--primary-color));
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-body h3 {
    color: rgb(var(--secondary-color));
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-body p {
    color: rgb(var(--text-dark));
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    color: rgb(var(--text-dark));
    margin-bottom: 10px;
}

.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-back {
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgb(var(--background)), rgb(var(--accent-color) / 0.2));
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 20px;
}

.legal-content {
    padding: 80px 0;
    background-color: rgb(var(--white));
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    color: rgb(var(--primary-color));
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.legal-text p {
    color: rgb(var(--text-dark));
    margin-bottom: 15px;
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-text li {
    color: rgb(var(--text-dark));
    margin-bottom: 8px;
}

/* Thank You Page */
.thank-you {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgb(var(--background)), rgb(var(--accent-color) / 0.2));
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you h1 {
    font-size: 3rem;
    color: rgb(var(--primary-color));
    margin-bottom: 30px;
}

.thank-you p {
    font-size: 1.2rem;
    color: rgb(var(--text-light));
    margin-bottom: 40px;
    line-height: 1.6;
}

.thank-you-icon {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgb(var(--white));
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services h2,
    .about-text h2,
    .reviews h2,
    .newsletter h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .thank-you h1 {
        font-size: 2.2rem;
    }
}
