/*
Theme Name: Bee It - Replica
Theme URI: https://beeit.it/
Author: Replica Theme
Author URI: https://beeit.it/
Description: Tema réplica de Bee It - Cosméticos naturales para el cuidado de las abejas
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beeit
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
    --color-primary: #FFEB3B;
    --color-primary-dark: #FDD835;
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-gray: #666666;
    --color-gray-light: #f5f5f5;
    --color-turquoise: #00D4FF;
    --color-turquoise-light: #E8F9FF;
    --color-beige: #D4C4A8;
    --color-pink: #FFB6C1;
    --color-green: #90EE90;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* ========================================
   RESET Y BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   HEADER SUPERIOR (Barra negra)
   ======================================== */
.top-bar {
    background-color: var(--color-black);
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--color-white);
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.top-bar-text {
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-bar-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-icons a {
    color: var(--color-white);
    font-size: 18px;
    position: relative;
}

.top-bar-icons a:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   NAVEGACIÓN PRINCIPAL
   ======================================== */
.main-nav {
    background-color: var(--color-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-black);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

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

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

.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-center img {
    height: 50px;
    width: auto;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.language-switcher a.active {
    background: var(--color-black);
    color: var(--color-primary);
}

.language-switcher a:hover:not(.active) {
    background: rgba(0,0,0,0.1);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #FFB6C1 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.hero-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--color-white);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-products {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 3;
}

.hero-product-item {
    width: 200px;
    transition: var(--transition);
}

.hero-product-item:hover {
    transform: translateY(-20px);
}

.hero-product-item img {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Abejas animadas */
.bee {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 4;
    animation: fly 15s infinite linear;
}

.bee-1 { top: 20%; left: 10%; animation-delay: 0s; }
.bee-2 { top: 40%; right: 15%; animation-delay: 5s; }
.bee-3 { top: 60%; left: 20%; animation-delay: 10s; }

@keyframes fly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(10deg); }
    50% { transform: translate(200px, 0) rotate(0deg); }
    75% { transform: translate(100px, 50px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ========================================
   SECCIÓN HONEY CARE
   ======================================== */
.honey-care-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF8DC 100%);
    position: relative;
    overflow: hidden;
}

.honey-care-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFEB3B" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    color: var(--color-black);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.honey-care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.honey-care-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.honey-care-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.honey-care-card img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
}

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

.honey-care-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

/* ========================================
   SECCIÓN LESS PLASTIC
   ======================================== */
.less-plastic-section {
    padding: 100px 0;
    background: var(--color-white);
}

.less-plastic-header {
    text-align: center;
    margin-bottom: 50px;
}

.less-plastic-header h2 {
    font-size: 2.5rem;
    color: var(--color-turquoise);
    margin-bottom: 10px;
}

.less-plastic-header .badge {
    display: inline-block;
    background: var(--color-turquoise);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.less-plastic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.less-plastic-card {
    text-align: center;
}

.less-plastic-card img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.less-plastic-card:hover img {
    transform: scale(1.05);
}

.less-plastic-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.less-plastic-card span {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ========================================
   SECCIÓN LÍNEAS DE PRODUCTOS
   ======================================== */
.product-lines-section {
    padding: 100px 0;
    background: var(--color-gray-light);
}

.product-lines-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-lines-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.product-lines-header p {
    color: var(--color-gray);
}

.product-lines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-line-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.product-line-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-line-card:hover img {
    transform: scale(1.1);
}

.product-line-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.product-line-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-line-overlay .discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.product-line-overlay .discover-btn::after {
    content: '→';
    transition: var(--transition);
}

.product-line-card:hover .discover-btn::after {
    transform: translateX(5px);
}

/* ========================================
   SECCIÓN OASIS APISTICA
   ======================================== */
.oasis-section {
    padding: 100px 0;
    background: var(--color-beige);
}

.oasis-header {
    text-align: center;
    margin-bottom: 60px;
}

.oasis-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.oasis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.oasis-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.oasis-card h3 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.oasis-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* ========================================
   SECCIÓN PREMIOS
   ======================================== */
.awards-section {
    padding: 100px 0;
    background: var(--color-white);
}

.awards-header {
    text-align: center;
    margin-bottom: 60px;
}

.awards-header h2 {
    font-size: 2.5rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.award-card {
    text-align: center;
}

.award-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.award-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ========================================
   SECCIÓN BEST SELLERS
   ======================================== */
.bestsellers-section {
    padding: 100px 0;
    background: var(--color-gray-light);
}

.bestsellers-header {
    text-align: center;
    margin-bottom: 60px;
}

.bestsellers-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-card-image {
    position: relative;
    padding: 20px;
    background: var(--color-turquoise-light);
}

.product-card-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.product-card-content {
    padding: 20px;
    text-align: center;
}

.product-card-content h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
}

.product-price .original {
    text-decoration: line-through;
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-right: 10px;
}

.product-price .sale {
    color: #e74c3c;
}

.btn-buy {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

/* ========================================
   SECCIÓN IMPACTO
   ======================================== */
.impact-section {
    padding: 80px 0;
    background: var(--color-primary);
    text-align: center;
}

.impact-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.impact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-impact {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-impact:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--color-primary);
    color: var(--color-black);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--color-white);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ========================================
   PÁGINAS INTERNAS
   ======================================== */
.page-header {
    padding: 150px 0 80px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-content {
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Página de Productos */
.products-page-header {
    background: var(--color-primary);
    padding: 100px 0 60px;
    text-align: center;
}

.products-page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.products-page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-gray);
}

.products-filter {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.products-filter a {
    padding: 10px 25px;
    border-radius: 25px;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
    transition: var(--transition);
}

.products-filter a:hover,
.products-filter a.active {
    background: var(--color-black);
    color: var(--color-white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .honey-care-grid,
    .less-plastic-grid,
    .product-lines-grid,
    .bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .honey-care-grid,
    .less-plastic-grid,
    .product-lines-grid,
    .awards-grid,
    .bestsellers-grid,
    .oasis-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   UTILIDADES
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
