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

html {
    font-size: 16px;
    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.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
}

h2 {
    font-size: 2rem;
    color: #2c5aa0;
}

h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}


/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.btn-primary:hover {
    background-color: #1e3d6f;
    border-color: #1e3d6f;
}

.btn-secondary {
    background-color: transparent;
    color: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-secondary:hover {
    background-color: #2c5aa0;
    color: white;
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

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

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

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

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

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

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

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

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

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

/* Sections */
section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background-color: #f8f9ff;
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

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

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    margin-bottom: 1.5rem;
}

.feature h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
}

/* Testimonials */
.testimonials {
    background-color: #f8f9ff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

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

.testimonial-author span {
    color: #888;
}

/* Newsletter */
.newsletter {
    background-color: #2c5aa0;
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

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

.newsletter-form button {
    background-color: white;
    color: #2c5aa0;
    border: none;
}

.newsletter-form button:hover {
    background-color: #f8f9ff;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: white;
}

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

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

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

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c5aa0;
    color: white;
    padding: 1rem;
    z-index: 10000;
    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;
    flex-wrap: wrap;
}

.cookie-content p {
    color: white;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background-color: white !important;
    color: #2c5aa0 !important;
}

.btn-accept-all:hover {
    background-color: #f8f9ff !important;
}

.cookie-buttons button:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin: 1rem 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.btn-save, .btn-cancel {
    padding: 10px 20px;
    border: 1px solid #2c5aa0;
    border-radius: 4px;
    cursor: pointer;
}

.btn-save {
    background-color: #2c5aa0;
    color: white;
}

.btn-cancel {
    background-color: white;
    color: #2c5aa0;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 4rem 0;
    text-align: center;
}

.blog-articles {
    padding: 4rem 0;
}

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

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.article-category {
    background-color: #2c5aa0;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.article-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #333;
}

.article-content h2 a:hover {
    color: #2c5aa0;
}

.read-more {
    color: #2c5aa0;
    font-weight: 600;
}

/* Blog Post Styles */
.blog-post {
    padding: 2rem 0;
}

.article-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #2c5aa0;
}

.reading-time {
    color: #888;
}

.article-intro {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    border-left: 4px solid #2c5aa0;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

.article-image {
    text-align: center;
    margin: 2rem 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

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

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.recipe-box {
    background-color: #f8f9ff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.frequency-table ul {
    background-color: #f8f9ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.article-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    background-color: #e8f2ff;
    color: #2c5aa0;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.article-cta {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9ff;
    padding: 3rem 0;
}

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

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

.success-icon {
    font-size: 4rem;
    margin: 1rem 0;
}

.thank-you-info {
    margin: 3rem 0;
    text-align: left;
}

.info-steps {
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    background-color: #2c5aa0;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-reminder {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: bold;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .article-content {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    .hamburger,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .article-content {
        max-width: none;
    }
}
