/* CSS Custom Properties */
:root {
    --primary-color: 255 215 0; /* #FFD700 - Gold */
    --secondary-color: 255 165 0; /* #FFA500 - Orange */
    --accent-color: 44 62 80; /* #2C3E50 - Dark Blue */
    --text-color: 33 37 41; /* #212529 - Dark Gray */
    --light-gray: 248 249 250; /* #F8F9FA */
    --border-color: 233 236 239; /* #E9ECEF */
    --white: 255 255 255; /* #FFFFFF */
    --success-color: 40 167 69; /* #28A745 */
    --danger-color: 220 53 69; /* #DC3545 */
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(var(--accent-color));
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

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

.btn-secondary:hover {
    background-color: rgb(var(--text-color));
    transform: translateY(-2px);
}

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

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

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(var(--accent-color));
    color: rgb(var(--white));
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

.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;
    flex-wrap: wrap;
}

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: rgb(var(--white));
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    background-color: rgb(var(--light-gray));
    border-radius: var(--border-radius);
}

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

.cookie-category span {
    font-size: 0.9rem;
    color: rgb(var(--text-color) / 0.8);
}

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

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

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgb(var(--accent-color));
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: rgb(var(--text-color));
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: rgb(var(--accent-color));
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgb(var(--light-gray)), rgb(var(--white)));
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, rgb(var(--primary-color)), rgb(var(--secondary-color)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgb(var(--text-color) / 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: rgb(var(--text-color) / 0.7);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.service-card {
    background-color: rgb(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgb(var(--border-color));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: rgb(var(--accent-color));
}

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

/* About Section */
.about {
    padding: 100px 0;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: rgb(var(--text-color) / 0.8);
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgb(var(--text-color) / 0.7);
    margin: 0;
}

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

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

.review-card {
    background-color: rgb(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgb(var(--border-color));
}

.review-stars {
    color: rgb(var(--primary-color));
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgb(var(--text-color) / 0.8);
}

.review-author strong {
    color: rgb(var(--accent-color));
    display: block;
}

.review-author span {
    color: rgb(var(--text-color) / 0.6);
    font-size: 0.9rem;
}

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

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

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

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    cursor: pointer;
}

.checkbox-label a {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: rgb(var(--light-gray));
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: rgb(var(--accent-color));
}

.contact-item p {
    margin: 0;
    color: rgb(var(--text-color) / 0.8);
}

/* Contact Form */
.contact-form {
    background-color: rgb(var(--light-gray));
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid rgb(var(--border-color));
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: rgb(var(--white));
}

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

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

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

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

.footer-section h3,
.footer-section h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgb(var(--white) / 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgb(var(--white));
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgb(var(--white) / 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile menu */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero section */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Stats */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact section */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Cookie banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Buttons */
    .hero-buttons {
        justify-content: center;
    }
    
    .cookie-buttons,
    .cookie-modal-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .services,
    .about,
    .reviews,
    .contact {
        padding: 60px 0;
    }
    
    .newsletter {
        padding: 50px 0;
    }
    
    .service-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.review-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid rgb(var(--primary-color));
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .mobile-menu-toggle,
    .hero-buttons,
    .newsletter,
    .contact-form {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .hero {
        background: white;
    }
    
    a {
        text-decoration: underline;
    }
}
