/* CSS Variables */
:root {
    --primary: 45 100% 51%; /* #00D4FF */
    --primary-dark: 45 100% 41%; /* #00A4CC */
    --secondary: 120 100% 25%; /* #008000 */
    --accent: 60 100% 50%; /* #FFFF00 */
    --text-primary: 0 0% 13%; /* #222222 */
    --text-secondary: 0 0% 40%; /* #666666 */
    --text-light: 0 0% 100%; /* #FFFFFF */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --border: 210 11% 90%; /* #E5E7EB */
    --shadow: 210 11% 85%; /* #D1D5DB */
    
    --font-family: '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 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Button Styles */
.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: hsl(var(--primary));
    color: hsl(var(--text-light));
}

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

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--text-light));
}

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

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--text-light));
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: hsl(var(--text-primary));
}

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

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

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

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

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Navigation */
.navbar {
    background-color: hsl(var(--surface));
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

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

.nav-menu a {
    font-weight: 500;
    color: hsl(var(--text-primary));
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

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

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

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-graphic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: hsl(var(--text-primary));
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: hsl(var(--text-secondary));
}

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

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

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

.service-card {
    text-align: center;
    padding: 40px 20px;
    background-color: hsl(var(--background));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

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

.service-card p {
    color: hsl(var(--text-secondary));
    line-height: 1.7;
}

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

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

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

.about-text p {
    font-size: 1.1rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 40px;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 8px;
}

.stat p {
    color: hsl(var(--text-secondary));
    font-weight: 500;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: hsl(var(--surface));
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-item img {
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: hsl(var(--text-primary));
}

.feature-item p {
    color: hsl(var(--text-secondary));
}

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

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

.testimonial-card {
    background-color: hsl(var(--surface));
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: hsl(var(--text-secondary));
    line-height: 1.7;
}

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

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

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--text-light));
}

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

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

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

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

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

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3);
}

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

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

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

.footer-section p,
.footer-section li {
    margin-bottom: 8px;
    opacity: 0.8;
}

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

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

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

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border));
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: hsl(var(--primary));
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: hsl(var(--text-primary));
}

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

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

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

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: hsl(var(--surface));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: hsl(var(--text-primary));
}

.blog-card p {
    color: hsl(var(--text-secondary));
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-meta {
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 16px;
}

.read-more {
    color: hsl(var(--primary));
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Styles */
.article-header {
    padding: 120px 0 60px;
    background-color: hsl(var(--background));
    text-align: center;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: hsl(var(--text-primary));
}

.article-meta {
    color: hsl(var(--text-secondary));
    font-size: 1.1rem;
}

.article-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: hsl(var(--text-primary));
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: hsl(var(--text-primary));
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: hsl(var(--text-secondary));
}

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

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: hsl(var(--text-secondary));
}

/* Page Styles */
.page-header {
    padding: 120px 0 60px;
    background-color: hsl(var(--background));
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: hsl(var(--text-primary));
}

.page-subtitle {
    color: hsl(var(--text-secondary));
    font-size: 1.2rem;
}

.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background-color: hsl(var(--surface));
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 80px 0;
}

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

.thank-you p {
    font-size: 1.2rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .article-title,
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
