/* Base Styles and Variables */
:root {
    --primary-color: #3D6F5A;
    --accent-color-1: #D89F7C;
    --accent-color-2: #C9C6E0;
    --bg-color: #FAF8F2;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #1E1E1E;
    --border-radius: 1rem;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color-1);
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: #555;
}

img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #2A5C47;
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-hero {
    background-color: var(--accent-color-1);
    color: var(--dark-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-hero:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-secondary {
    background-color: var(--accent-color-2);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #B5B1D6;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        display: block;
    }
}

/* Header & Navigation Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    flex: 0 0 auto;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--light-color);
        width: 80%;
        max-width: 400px;
        height: 100vh;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 50;
    }

    .nav-links.active {
        right: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cta-button {
        margin-top: 1rem;
    }

    .cta-button a {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section Styles */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2C5B48 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/leaf-pattern.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero h1, 
.hero .subtitle {
    color: var(--light-color);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 10rem 0 6rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero .subtitle {
        max-width: 100%;
    }
}

/* About Nutrition Section Styles */
.about-nutrition {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.about-nutrition::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/dots-pattern.jpg');
    background-size: 20px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.about-nutrition .container {
    position: relative;
    z-index: 2;
}

.nutrition-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    flex: 1;
    max-width: 350px;
    transform: translateY(0);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    height: 100%;
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .nutrition-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 100%;
        width: 100%;
    }
}

/* Benefits Section Styles */
.benefits {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.benefits-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    border-top: 5px solid var(--accent-color);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
}

.benefit-icon img {
    height: 100%;
}

.benefit-card h3 {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem;
    }
}

/* How It Works Section Styles */
.how-it-works {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: url('images/leaf-single.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) {
    padding-right: 3rem;
}

.timeline-number {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-number {
    left: -25px;
}

.timeline-item:nth-child(even) .timeline-number {
    right: -25px;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-number,
    .timeline-item:nth-child(even) .timeline-number {
        left: -5px;
    }
}

/* Services & Packages Section Styles */
.services {
    background-color: var(--light-color);
    position: relative;
}

.packages {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.package {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    flex: 1;
    max-width: 350px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.package.highlight {
    transform: scale(1.05);
    border: 2px solid var(--accent-color-1);
}

.package.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color-1);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    z-index: 2;
}

.package-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.package-header h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.package-header .price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.package-body {
    padding: 2rem;
}

.package-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.package-body li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 1.5rem;
}

.package-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.package-footer {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 992px) {
    .packages {
        flex-direction: column;
        align-items: center;
    }

    .package,
    .package.highlight {
        max-width: 100%;
        width: 100%;
        transform: none;
    }

    .package.highlight {
        order: -1;
    }

    .package:hover,
    .package.highlight:hover {
        transform: translateY(-10px);
    }
}

/* Testimonials Section Styles */
.testimonials {
    background-color: var(--primary-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/quote-pattern.jpg');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials h2,
.testimonials .section-intro {
    color: var(--light-color);
}

.testimonials-slider {
    padding: 2rem 0;
    position: relative;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 0 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -0.5rem;
    color: var(--accent-color-1);
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color-1);
}

.author-info h4 {
    color: var(--light-color);
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    opacity: 0.7;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color-1);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial {
        padding: 1.5rem;
    }
}

/* Contact & Subscription Section Styles */
.contact-section {
    background-color: var(--bg-color);
    position: relative;
}

.contact-columns {
    display: flex;
    gap: 3rem;
}

.contact-form-container {
    flex: 1;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    text-align: left;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 111, 90, 0.1);
}

.consent {
    display: flex;
    align-items: flex-start;
}

.consent input {
    width: auto;
    margin-top: 0.3rem;
    margin-right: 0.7rem;
}

.map-subscription {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.map-container h3 {
    margin-bottom: 1.5rem;
}

.google-map {
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.address p {
    margin-bottom: 0.3rem;
}

.subscription {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.subscription h3 {
    margin-bottom: 1rem;
}

.subscription-form {
    margin-top: 1.5rem;
}

.subscription-form .form-group {
    position: relative;
}

.subscription-form input {
    padding-right: 140px;
}

.subscription-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 0 0.5rem 0.5rem 0;
}

@media (max-width: 992px) {
    .contact-columns {
        flex-direction: column;
    }

    .map-subscription {
        order: -1;
    }

    .subscription-form button {
        position: static;
        width: 100%;
        margin-top: 1rem;
        border-radius: 0.5rem;
    }

    .subscription-form input {
        padding-right: 1rem;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 0 100%;
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-nav,
.footer-policies,
.footer-contact {
    flex: 1;
}

.footer-top h4 {
    color: var(--light-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color-1);
}

.footer-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top li {
    margin-bottom: 0.7rem;
}

.footer-top a {
    color: #aaa;
    transition: var(--transition);
}

.footer-top a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav,
    .footer-policies,
    .footer-contact {
        flex: 1 0 100%;
    }
}