/* Everyday in Shape - Main Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d6a4f;
    --secondary-color: #40916c;
    --accent-color: #d8f3dc;
    --text-dark: #1b4332;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-cream: #fdfcf8;
    --border-color: #e9ecef;
    --footer-bg: #2d3436;
    --sponsored-bg: #fff3cd;
    --sponsored-border: #ffc107;
    
    /* Modern Header Variables */
    --color-primary: #2d6a4f;
    --color-primary-dark: #1b4332;
    --color-primary-light: #40916c;
    --color-accent: #74c69d;
    --color-warm: #f8f6f3;
    --color-cream: #faf9f7;
    --color-sage: #b7e4c7;
    --color-forest: #081c15;
    
    --gradient-hero: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    padding-top: 120px;
}

body.homepage-body {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
}

.logo {
    font-family: 'Lora', Georgia, serif;
}

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

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

.header-top {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top a {
    color: var(--accent-color);
    text-decoration: none;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

/* ============================================
   MODERN HEADER - Glass Morphism Design
   ============================================ */

.hp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out-expo);
}

.hp-header-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.hp-header-top {
    background: var(--color-primary);
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.hp-header-top a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hp-header-top a:hover {
    border-bottom-color: #fff;
}

.hp-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.hp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.hp-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.hp-nav {
    display: flex;
    gap: 8px;
}

.hp-nav-link {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.hp-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-sage);
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--ease-out-expo);
    z-index: -1;
}

.hp-nav-link:hover::before,
.hp-nav-link-active::before {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-image {
    height: 220px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    overflow: hidden;
}

.card-image i {
    font-size: 4rem;
    color: var(--primary-color);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 25px;
}

.card-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

/* Sponsored Content Badge */
.sponsored-badge {
    display: inline-block;
    background: var(--sponsored-bg);
    color: #856404;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid var(--sponsored-border);
}

/* Category Section */
.category-section {
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-cream);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.category-card:hover {
    border-color: var(--primary-color);
    background: var(--accent-color);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Editor's Pick */
.editors-pick {
    background: var(--bg-cream);
}

.highlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.highlight-image {
    height: 400px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

.highlight-image i {
    font-size: 5rem;
    color: var(--primary-color);
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.highlight-content {
    padding: 40px;
}

.highlight-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.highlight-content p {
    margin-bottom: 25px;
    color: #555;
}

/* Articles Section */
.articles-section {
    background: #fff;
}

/* Disclaimers Bar */
.disclaimers-bar {
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.disclaimers-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: center;
    font-size: 0.8rem;
    color: #666;
}

.disclaimer-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.disclaimer-icon {
    color: var(--primary-color);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3436;
    color: #fff;
    padding: 20px;
    z-index: 10000;
    display: none;
}

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--accent-color);
}

.cookie-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-btn:hover {
    background: var(--secondary-color);
}

/* Footer - Premium Design 2026 */
footer {
    background: linear-gradient(180deg, #1b4332 0%, #0f291e 100%);
    color: #fff;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(116, 198, 157, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.company-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.company-info strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #74c69d;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

.legal-links {
    display: flex;
    gap: 24px;
}

/* Footer Disclaimer */
.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-disclaimer strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 35px 0 15px;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 12px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

/* Preland Styles */
.preland-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
}

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

.preland-header {
    background: var(--sponsored-bg);
    border-bottom: 2px solid var(--sponsored-border);
    padding: 15px 0;
}

.preland-label {
    display: inline-block;
    background: var(--sponsored-border);
    color: #856404;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--accent-color);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* Blog List */
.blog-list {
    display: grid;
    gap: 30px;
}

.blog-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-thumb {
    height: 220px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    overflow: hidden;
}

.blog-thumb i {
    font-size: 3rem;
    color: var(--primary-color);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-info {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-info p {
    color: #666;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .blog-item {
        grid-template-columns: 1fr;
    }
    
    .blog-thumb {
        height: 220px;
    }
    
    .highlight-card {
        grid-template-columns: 1fr;
    }
    
    .highlight-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Learn Page Accordion */
.accordion-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.accordion-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.accordion-item.active .accordion-body {
    padding: 0 25px 20px;
    max-height: 500px;
}

.accordion-body p {
    color: #555;
    line-height: 1.7;
}
