/* 
* Zeltrine - Nutrition Education Landing Page
* Main Stylesheet
*/

/* Base Styles & Reset */
:root {
    --primary-color: #4ECDC4;
    --secondary-color: #2BAE9F;
    --accent-color: #FFD166;
    --dark-color: #2A2A2A;
    --grey-color: #7A7A7A;
    --light-grey: #F5F5F5;
    --white-color: #FFFFFF;
    
    --primary-font: 'Raleway', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem;
    color: var(--grey-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: var(--primary-font);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    width: 140px;
}

.logo img {
    width: 100%;
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 1.5rem;
}

.desktop-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 2rem;
}

.mobile-nav ul li a {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    background-color: var(--white-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Benefits Section */
.benefits-section {
    background-color: var(--light-grey);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--white-color);
}

.steps-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.arrow-connector {
    width: 2px;
    height: 50px;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem;
    position: relative;
}

.arrow-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* Examples Section */
.examples-section {
    background-color: #f7f9fc;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide {
    display: none;
    animation: fadeEffect 1s;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.4;}
    to {opacity: 1;}
}

.example-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.example-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight {
    position: absolute;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: var(--transition);
}

.example-image:hover .highlight {
    opacity: 1;
}

.highlight.protein {
    top: 20px;
    left: 20px;
    background-color: #FFD166;
    color: var(--dark-color);
}

.highlight.fat {
    top: 20px;
    right: 20px;
    background-color: #FF6B6B;
    color: var(--white-color);
}

.highlight.carbs {
    bottom: 20px;
    left: 20px;
    background-color: #4ECDC4;
    color: var(--white-color);
}

.example-description {
    padding: 1.5rem;
}

.example-description h3 {
    margin-bottom: 0.5rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.carousel-prev, .carousel-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--secondary-color);
}

.carousel-dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Who For Section */
.who-for-section {
    background-color: var(--white-color);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.persona-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.persona-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.persona-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.persona-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Pricing Section */
.pricing-section {
    background-color: #f7f9fc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 15px;
    border-bottom-left-radius: 10px;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: #f8f8f8;
}

.pricing-card.free .pricing-header {
    background-color: rgba(78, 205, 196, 0.1);
}

.pricing-card.standard .pricing-header {
    background-color: rgba(78, 205, 196, 0.2);
}

.pricing-card.premium .pricing-header {
    background-color: rgba(78, 205, 196, 0.3);
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--grey-color);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.pricing-action {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.pricing-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.premium-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.premium-btn:hover {
    background-color: #e8b94a;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1rem;
}

.testimonial-info h4 {
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--grey-color);
}

/* Subscribe Section */
.subscribe-section {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.subscribe-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.subscribe-btn {
    border-radius: 0 30px 30px 0;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
}

.subscribe-btn:hover {
    background-color: #e8b94a;
    color: var(--dark-color);
}

.form-privacy {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-privacy a {
    color: var(--white-color);
    text-decoration: underline;
}

/* About Section */
.about-section {
    background-color: #f7f9fc;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* Contact Section */
.contact-section {
    background-color: var(--white-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    display: block;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.map-container {
    height: 300px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-legal h3,
.footer-newsletter h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #ddd;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--primary-color);
}

.footer-subscribe-form .form-group {
    margin-bottom: 0;
}

.footer-subscribe-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 0 5px 5px 0;
}

.footer-subscribe-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Media Queries */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .desktop-nav, .cta-button {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 30px;
        margin-bottom: 1rem;
    }
    
    .subscribe-btn {
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Policy Pages Styles */
.policy-page {
    padding-top: 100px;
    padding-bottom: 50px;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.policy-header {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 2rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

/* Success Page Styles */
.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f9fc;
}

.success-container {
    max-width: 500px;
    text-align: center;
    background-color: var(--white-color);
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.success-title {
    margin-bottom: 1rem;
}

.success-message {
    margin-bottom: 2rem;
}

.success-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}