/*
Theme Name: BerryBurst
Theme URI: http://example.com/berryburst
Author: Antigravity
Author URI: http://example.com
Description: A premium animated fruit drink website converted to a WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berryburst
*/

/* Color Palette & Variables */
:root {
    --strawberry-red: #E62A4D;
    --dark-berry: #8B0A20;
    --soft-pink: #FFE5EC;
    --cream-white: #FFFDF9;
    --subtle-green: #4CAF50;
    --text-dark: #2C1820;
    --text-light: #5A4048;
    
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--cream-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-light);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--strawberry-red);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--strawberry-red);
    color: white;
    box-shadow: 0 10px 20px rgba(230, 42, 77, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-berry);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(139, 10, 32, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--strawberry-red);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--strawberry-red);
    color: var(--strawberry-red);
}

.btn-outline:hover {
    background-color: var(--strawberry-red);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--strawberry-red);
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--strawberry-red);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Placeholders */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(230, 42, 77, 0.5);
    background-color: rgba(230, 42, 77, 0.05);
    border-radius: 20px;
    color: var(--strawberry-red);
    font-weight: 600;
    text-align: center;
    padding: 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--cream-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.bottle-container {
    position: relative;
    width: 250px;
    height: 500px;
    z-index: 10;
    animation: floatBottle 6s ease-in-out infinite;
}

.bottle-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 125px; /* capsule shape */
    background: linear-gradient(to bottom, #ff7b93, var(--strawberry-red));
    color: white;
    box-shadow: inset -10px -10px 20px rgba(0,0,0,0.2), 0 20px 40px rgba(230, 42, 77, 0.4);
    border: none;
    font-size: 1.5rem;
    transform: rotate(5deg);
}

/* Decorative Splashes */
.splash {
    position: absolute;
    border-radius: 50%;
    background: rgba(230, 42, 77, 0.2);
    filter: blur(20px);
    z-index: -1;
}

.splash-left {
    width: 300px;
    height: 300px;
    top: 20%;
    left: -20%;
    animation: pulse 4s infinite alternate;
}

.splash-right {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: -10%;
    background: rgba(255, 229, 236, 0.8);
    animation: pulse 5s infinite alternate-reverse;
}

/* Floating Fruits */
.floating-fruit {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--strawberry-red);
    border-radius: 50% 10% 50% 50%;
    transform: rotate(45deg);
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.2);
    z-index: 5;
}

.floating-fruit::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: var(--subtle-green);
    border-radius: 50%;
}

.fruit-1 { top: 20%; left: 10%; animation: float 7s infinite; }
.fruit-2 { top: 15%; right: 20%; width: 30px; height: 30px; animation: float 5s infinite reverse; }
.fruit-3 { bottom: 20%; left: 20%; width: 40px; height: 40px; animation: float 6s infinite 1s; }
.fruit-4 { bottom: 30%; right: 10%; animation: float 8s infinite 2s; }

/* Droplets */
.droplet {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--strawberry-red);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.drop-1 { top: 40%; left: 30%; animation: drop 3s infinite; }
.drop-2 { bottom: 40%; right: 25%; animation: drop 4s infinite 1s; }
.drop-3 { top: 30%; right: 15%; width: 10px; height: 10px; animation: drop 2.5s infinite 0.5s; }


/* Interactive Section */
.interactive-section {
    padding: 10rem 5%;
    background-color: var(--soft-pink);
    transition: background-color 1s ease;
}

.interactive-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.interactive-text {
    flex: 1;
}

.interactive-text h2 {
    font-size: 2.5rem;
    color: var(--strawberry-red);
}

.text-left { text-align: right; padding-right: 4rem; }
.text-right { text-align: left; padding-left: 4rem; }

.interactive-bottle {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.bottle-placeholder-interactive {
    width: 200px;
    height: 400px;
    border-radius: 100px;
    background: linear-gradient(to right, #e01b3d, var(--strawberry-red), #ff4d6d);
    color: white;
    border: none;
    transition: transform 0.1s ease-out;
    box-shadow: 0 30px 60px rgba(139, 10, 32, 0.3);
}

/* Flavors Section */
.flavors {
    padding: 8rem 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.flavor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.flavor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(230, 42, 77, 0.15);
}

.card-visual {
    height: 200px;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.classic-bg { background: linear-gradient(135deg, #ff7b93, #E62A4D); }
.mint-bg { background: linear-gradient(135deg, #a8e6cf, #4CAF50); }
.cream-bg { background: linear-gradient(135deg, #ffe5ec, #ffb3c6); }

.flavor-placeholder {
    color: white;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
}
.mint-bg .flavor-placeholder { color: var(--text-dark); }
.cream-bg .flavor-placeholder { color: var(--text-dark); }

.flavor-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.flavor-card p {
    margin-bottom: 2rem;
}

/* Benefits Section */
.benefits {
    padding: 8rem 5%;
    background-color: var(--soft-pink);
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--soft-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--strawberry-red);
}

.benefit-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Ingredients Section */
.ingredients {
    padding: 10rem 5%;
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ingredients-content {
    flex: 1;
}

.ingredients-content h2 {
    color: var(--strawberry-red);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.ingredients-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.ingredients-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.ingredient-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(135deg, #a8e6cf 0%, #ffb3c6 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
}

.ingredient-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    animation: floatUp 4s infinite ease-in-out;
}

.b1 { width: 60px; height: 60px; bottom: 10%; left: -20px; animation-duration: 5s; }
.b2 { width: 40px; height: 40px; bottom: 30%; right: -10px; animation-duration: 4s; animation-delay: 1s; }
.b3 { width: 80px; height: 80px; top: -30px; left: 40%; animation-duration: 6s; animation-delay: 2s; }


/* Reviews Section */
.reviews {
    padding: 8rem 5%;
    background-color: var(--cream-white);
    text-align: center;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    text-align: left;
    background: white;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.reviewer {
    font-weight: 800;
    color: var(--dark-berry);
}

/* Final CTA Section */
.final-cta {
    padding: 10rem 5%;
    background: var(--strawberry-red);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 4rem;
    color: white;
}

.final-cta .highlight {
    color: #FFD700;
}

.final-cta p {
    color: var(--soft-pink);
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.cta-btn {
    background: white;
    color: var(--strawberry-red);
}

.cta-btn:hover {
    background: var(--dark-berry);
    color: white;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatUpParticle linear infinite;
}


/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--strawberry-red);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--strawberry-red);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--strawberry-red);
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.5);
}


/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(55deg); }
}

@keyframes floatBottle {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes drop {
    0% { transform: translateY(-20px) scale(0) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(50px) scale(1) rotate(45deg); opacity: 0; }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes floatUpParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }


/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .ingredients {
        flex-direction: column;
        text-align: center;
    }
    
    .interactive-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .text-left, .text-right {
        text-align: center;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .final-cta h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
