/* Ohmycrunch - Shared Styles */
:root {
    --white: #ffffff;
    --peanut: #B47A31;
    --peanut-dark: #A0522D;
    --peanut-light: #D4A76A;
    --pistachio: #525737;
    --pistachio-dark: #3A4528;
    --pistachio-light: #7A8B5C;
    --text-dark: #2C2C2C;
    --text-medium: #555555;
    --text-light: #888888;
    --bg-light: #FAFAF8;
    --bg-cream: #F5F0E8;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Navbar Logo */
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--peanut-dark);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.navbar .logo span {
    color: var(--pistachio);
}

.logo-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 50px;
    border-radius: 6px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--peanut-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--peanut);
    border-radius: 1px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--peanut-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 163, 90, 0.3);
}

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

.btn-secondary:hover {
    background: var(--pistachio-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
}

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

.btn-outline:hover {
    background: var(--peanut);
    color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--bg-cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero h1 .highlight-peanut {
    color: var(--peanut-light);
}

.hero h1 .highlight-pistachio {
    color: var(--pistachio-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--peanut);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== PRODUCTS ===== */
.products-section {
    padding: 80px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.product-image {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
}

.product-image .product-icon {
    font-size: 5rem;
    opacity: 0.9;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition);
}

.product-card:hover .product-photo {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-peanut {
    background: var(--peanut);
    color: var(--white);
}

.badge-pistachio {
    background: var(--pistachio);
    color: var(--white);
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-info .product-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.product-info .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--peanut-dark);
    margin-bottom: 20px;
}

.product-info .product-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ===== FEATURES ===== */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}

.feature-icon.peanut-bg {
    background: var(--peanut-light);
}

.feature-icon.pistachio-bg {
    background: #D4E8D4;
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--bg-cream);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-values {
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.value-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-medium);
}

/* ===== REVIEWS ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--white);
}

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

.review-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.review-stars {
    color: var(--peanut);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}

.review-avatar.peanut {
    background: var(--peanut);
}

.review-avatar.pistachio {
    background: var(--pistachio);
}

.review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.review-product {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.contact-item a:hover {
    color: var(--peanut-dark);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--peanut);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

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

/* ===== BLOG ===== */
.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-image.peanut {
    background: var(--bg-cream);
}

.blog-image.pistachio {
    background: #F0F5F0;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--peanut-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    color: var(--peanut);
    gap: 10px;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text-dark);
}

.legal-section p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 1rem;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section ul li {
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: #aaa;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Logo - separate from navbar logo */
.footer-brand .logo {
    color: var(--peanut);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.footer-brand .logo span {
    color: var(--pistachio);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #999;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-column ul li a {
    font-size: 0.9rem;
    color: #999;
}

.footer-column ul li a:hover {
    color: var(--peanut);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-bottom a {
    color: #999;
    margin: 0 12px;
}

.footer-bottom a:hover {
    color: var(--peanut);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 2.2rem;
        color: #ffffff;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 280px;
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        color: #ffffff;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .logo-img {
        height: 32px;
    }
}
