/* 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: #333;
    background-color: #fff;
}

.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: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #d63031;
    color: white;
}

.btn-primary:hover {
    background-color: #b71c1c;
}

.btn-secondary {
    background-color: #0984e3;
    color: white;
}

.btn-secondary:hover {
    background-color: #0652dd;
}

.btn-tertiary {
    background-color: #6c5ce7;
    color: white;
}

.btn-tertiary:hover {
    background-color: #5f3dc4;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d63031;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d63031;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 2rem;
}

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

/* Section Styles */
.section-title {
    text-align: center;
    color: #2d3436;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #d63031;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

.about-icon {
    width: 100%;
    max-width: 300px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #d63031;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-icon img {
    width: 50px;
    height: 50px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #636e72;
}

.testimonial-author strong {
    color: #2d3436;
    display: block;
}

.testimonial-author span {
    color: #636e72;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
}

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

.blog-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-icon {
    margin-bottom: 1rem;
}

.blog-icon img {
    width: 40px;
    height: 40px;
}

.blog-title a {
    text-decoration: none;
    color: #2d3436;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #d63031;
}

.blog-excerpt {
    color: #636e72;
    margin-bottom: 1rem;
}

.blog-date {
    color: #b2bec3;
    font-size: 0.9rem;
}

/* Blog Articles */
.blog-article {
    display: none;
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

.blog-article.active {
    display: block;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background-color: #2d3436;
    color: #fff;
}

.subscription .section-title {
    color: #fff;
}

.subscription-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #d63031;
}

/* Legal Section */
.legal {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    text-decoration: none;
    color: #636e72;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #d63031;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Footer */
.footer {
    background-color: #2d3436;
    color: #fff;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    color: #d63031;
    margin-bottom: 1rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item img {
    width: 20px;
    height: 20px;
}

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

.social-link img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #636e72;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.footer-links a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d63031;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3436;
    color: #fff;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

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

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.thanks-content {
    text-align: center;
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.thanks-content h1 {
    color: #d63031;
    margin-bottom: 1.5rem;
}

.thanks-content p {
    margin-bottom: 1.5rem;
    color: #636e72;
}

.thanks-content .social-links {
    justify-content: center;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .thanks-content {
        padding: 2rem;
        margin: 1rem;
    }
}
