/* style.css - Modern Redesign & Lightbox */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #fbc02d; /* Banana Yellow */
    --secondary: #d84315; /* Deep Orange */
    --accent: #5d4037; /* Peanut Brown */
    --dark: #2c3e50;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 8px; }

/* Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand img { height: 70px; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1.1rem; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }
.nav-icon { font-size: 1.2rem; margin-left: 10px; color: var(--dark); }

.amazon-btn {
    display: inline-block;
    animation: shake 2s infinite;
}
.amazon-btn img { height: 40px; }

/* Hero Section */
.hero {
    background: linear-gradient(to right, #fffde7, #fff);
    padding: 4rem 20px;
}

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

.hero-text h1 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.5rem; }
.hero-text h2 { font-size: 1.8rem; color: var(--dark); margin-bottom: 1rem; }
.hero-text p { margin-bottom: 1.5rem; color: #555; }
.hero-contacts a { display: block; margin-bottom: 0.5rem; color: var(--secondary); font-weight: 600; }

.hero-img img { 
    max-height: 500px; 
    margin: 0 auto; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); 
}

/* Sections General */
.section {
    padding: 4rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--accent);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
}

/* Grids */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    cursor: pointer; /* Indicates clickable */
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; }

/* Testimonials */
.testimonials { background: var(--light); text-align: center; }
.review-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: inline-block;
    margin: 1rem;
    max-width: 500px;
    cursor: pointer;
}

/* Content & Video */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.video-wrapper video {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.text-wrapper ul { padding-left: 1rem; margin-top: 1rem; }
.text-wrapper li { margin-bottom: 0.5rem; list-style-type: disc; }

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 20px 1rem;
    text-align: center;
}
.footer-logo img { height: 60px; margin-bottom: 1.5rem; }
.footer-info p { margin-bottom: 0.8rem; color: #ccc; }
.footer-info a { color: var(--primary); }
.socials { margin: 2rem 0; }
.socials i { font-size: 1.5rem; margin: 0 10px; color: var(--white); }
.copyright { border-top: 1px solid #444; padding-top: 1rem; font-size: 0.9rem; color: #888; }
.visitor-counter { background: #444; color: #fff; padding: 10px; border-radius: 5px; display: inline-block; margin-top: 10px;}

/* Peanut Butter Specific */
.pb-hero { background: #efebe9; }
.pb-text p { margin-bottom: 1.5rem; }

/* --- LIGHTBOX STYLES (New) --- */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 2px solid #fff;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#lightbox-close:hover {
    color: var(--primary);
}

/* Animations */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .hero-container, .content-split { grid-template-columns: 1fr; text-align: center; }
    .nav-links { gap: 1rem; font-size: 0.9rem; }
    .hero-text h1 { font-size: 2rem; }
}
