/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================== */
   :root {
    /* Paleta de colores cálidos y modernos */
    --primary: #ff7300;       /* Naranja vibrante */
    --primary-light: #ff8c33;
    --primary-dark: #cc5c00;
    
    --secondary: #ffb703;     /* Amarillo ámbar */
    --accent: #fb8500;
    
    --text-dark: #1f140d;
    --text-light: #6a574b;
    --bg-white: #ffffff;
    --bg-off: #fff8f0;        /* Blanco cálido */
    
    /* Fuentes */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Sombras y transiciones */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(255, 115, 0, 0.15);
    --shadow-lg: 0 20px 40px -5px rgba(255, 115, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   COMPONENTES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-off);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 115, 0, 0.3);
    top: -100px;
    right: -100px;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 183, 3, 0.3);
    bottom: 50px;
    left: -50px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.main-drink-img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(255, 115, 0, 0.25);
    height: 550px;
    object-fit: cover;
    transform: rotate(5deg);
    transition: var(--transition);
}

.hero-image:hover .main-drink-img {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ==========================================================================
   PRODUCTOS (SABORES)
   ========================================================================== */
.products {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--bg-white);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 800;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.card-info {
    padding: 25px;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 45px;
}

.btn-add {
    width: 100%;
    background: var(--bg-off);
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

.btn-add:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   BANNER PROMO
   ========================================================================== */
.promo-banner {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1541624443171-ec8530ec3946?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(204, 92, 0, 0.8), rgba(31, 20, 13, 0.9));
}

.promo-content {
    position: relative;
    z-index: 10;
}

.promo-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #1a100a;
    color: #fff;
    padding: 80px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #a3948b;
    margin-bottom: 20px;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #a3948b;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a3948b;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a3948b;
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMACIONES & RESPONSIVE
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Clases para JS Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        margin-top: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-bg-shapes .shape-1 {
        right: -200px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 20px auto;
    }
    
    .socials {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplificado para móviles en esta versión */
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .main-drink-img {
        height: 400px;
    }
}
