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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #faf8f3;
}

/* Organic Color Palette */
:root {
    --primary-blue: #1e3a8a;
    --ocean-blue: #0ea5e9;
    --sand-beige: #f5f1e8;
    --warm-white: #fefdfb;
    --sage-green: #6b7280;
    --sunset-orange: #fb923c;
    --coral-pink: #f87171;
    --deep-navy: #0f172a;
    --soft-gray: #f3f4f6;
    --gold-accent: #f59e0b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    color: var(--warm-white);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.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-consent button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

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

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

.cookie-consent button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-consent.hidden {
    display: none;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--deep-navy);
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    fill: var(--ocean-blue);
}

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

.nav-link {
    text-decoration: none;
    color: var(--deep-navy);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--deep-navy);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--primary-blue) 100%);
    color: var(--warm-white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    background: var(--sunset-orange);
    color: var(--warm-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 146, 60, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 146, 60, 0.4);
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.wave-animation {
    width: 120%;
    height: 100px;
    animation: wave 20s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes wave {
    0%, 100% { transform: translateX(-10%) rotateZ(0deg); }
    50% { transform: translateX(-5%) rotateZ(0.5deg); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 1rem auto;
    display: block;
    fill: var(--ocean-blue);
}

/* About Section */
.about {
    background: var(--warm-white);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.about-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--soft-gray);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    fill: var(--ocean-blue);
}

.feature-item h3 {
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    background: var(--sand-beige);
}

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

.service-card {
    background: var(--warm-white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ocean-blue), var(--sunset-orange));
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    fill: var(--ocean-blue);
}

.service-card h3 {
    color: var(--deep-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ocean-blue);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background: var(--warm-white);
}

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

.testimonial-card {
    background: var(--soft-gray);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--ocean-blue);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--deep-navy);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--sage-green);
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background: var(--sand-beige);
}

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

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

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

.blog-image {
    padding: 2rem;
    text-align: center;
    background: var(--soft-gray);
}

.article-icon {
    width: 60px;
    height: 60px;
    fill: var(--ocean-blue);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: var(--deep-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--ocean-blue);
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--sage-green);
    font-size: 0.9rem;
}

.read-more {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 500;
}

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

/* Article Sections */
.article-section {
    padding: 5rem 0;
    background: var(--warm-white);
}

.article-section.hidden {
    display: none;
}

.back-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 2rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: var(--warm-white);
}

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

.contact-info h3 {
    color: var(--deep-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

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

.contact-item strong {
    color: var(--deep-navy);
}

.contact-form {
    background: var(--soft-gray);
    padding: 3rem;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--warm-white);
    color: var(--deep-navy);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
}

.btn-submit {
    background: var(--ocean-blue);
    color: var(--warm-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Legal Section */
.legal {
    background: var(--sand-beige);
    padding: 2rem 0;
}

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

.legal-link {
    color: var(--sage-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--ocean-blue);
}

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

.modal-content {
    background-color: var(--warm-white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: var(--sage-green);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 1.5rem;
}

.close:hover {
    color: var(--deep-navy);
}

.modal-content h2 {
    color: var(--deep-navy);
    margin-bottom: 2rem;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: var(--warm-white);
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    fill: var(--ocean-blue);
}

.footer-brand-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-section h3 {
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ocean-blue);
    color: var(--warm-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--sunset-orange);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--sage-green);
    color: var(--sage-green);
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--primary-blue) 100%);
    color: var(--warm-white);
    text-align: center;
    padding: 2rem;
}

.thanks-content {
    max-width: 600px;
}

.success-icon {
    width: 100px;
    height: 100px;
    fill: var(--sunset-orange);
    margin-bottom: 2rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.thanks-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.thanks-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.thanks-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.thanks-actions .btn-primary {
    background: var(--sunset-orange);
    color: var(--warm-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.thanks-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 146, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--warm-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .thanks-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
    }
}
