/*
Theme Name: Burger Loco
Theme URI: https://burgerloco.com
Description: Tarjeta de presentación digital profesional para Burger Loco - Hamburguesas artesanales con diseño responsivo, galería, mapa interactivo y código QR.
Version: 1.0.0
Author: Burger Loco
Author URI: https://burgerloco.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: burger-loco
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

*/

/* ===================================
   BURGER LOCO - WORDPRESS THEME
   Paleta: Naranjas, Rojos, Amarillos
   =================================== */

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

:root {
    --primary-orange: #ea580c;
    --secondary-orange: #ff9800;
    --dark-orange: #d84315;
    --light-orange: #ffa726;
    --very-light-orange: #fff3e0;
    --deep-orange: #ff6f00;
    --red: #d32f2f;
    --green-whatsapp: #25d366;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-light: #ffe0b2;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #fafafa, #fff9f5);
}

/* ===================================
   CONTAINER & UTILITIES
   =================================== */

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

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-orange);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-orange);
    text-decoration: underline;
}

/* ===================================
   WORDPRESS SPECIFIC STYLES
   =================================== */

/* Contenedor principal */
#page {
    background: linear-gradient(to bottom, #fafafa, #fff9f5);
}

#content {
    margin: 0;
    padding: 0;
}

#primary {
    width: 100%;
}

/* Posts y páginas */
.post,
.page {
    margin-bottom: 2rem;
}

.entry-content {
    margin: 1.5rem 0;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

/* Comentarios */
.comments-area {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

/* ===================================
   NAVBAR HEADER
   =================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    margin: 0;
}

.whatsapp-btn {
    background: var(--green-whatsapp);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.whatsapp-btn:hover {
    background: #1f9e5d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--green-whatsapp);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    background: #1f9e5d;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   WELCOME SECTION
   =================================== */

.welcome-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.welcome-card {
    background: var(--white);
    border-left: 5px solid var(--primary-orange);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.welcome-card h3 {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.welcome-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.welcome-card strong {
    color: var(--primary-orange);
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(234, 88, 12, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
}

/* ===================================
   INFO SECTION
   =================================== */

.info-section {
    background: var(--primary-orange);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.info-section h3 {
    color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffe0b2;
}

.info-card h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-card small {
    color: #ffe0b2;
    font-size: 0.9rem;
}

.info-btn {
    background: var(--green-whatsapp);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: #1f9e5d;
    transform: scale(1.05);
}

/* ===================================
   ORDERS SECTION
   =================================== */

.orders-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 12px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.order-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.order-number {
    background: var(--primary-orange);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.order-card h4 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.order-card p {
    color: #666;
}

/* ===================================
   MAP SECTION
   =================================== */

.map-section {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.location-info {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.location-info i {
    font-size: 2rem;
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.location-info h4 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.location-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* ===================================
   QR CODE SECTION
   =================================== */

.qr-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 12px;
}

.qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.qr-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.qr-image {
    width: 250px;
    height: 250px;
    border: 4px solid var(--primary-orange);
    border-radius: 8px;
}

.qr-text {
    text-align: center;
    max-width: 400px;
}

.qr-text p {
    color: #666;
    margin-bottom: 1rem;
}

.qr-text small {
    color: #999;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: var(--primary-orange);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 12px;
    text-align: center;
}

.cta-section h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: #1f9e5d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   FOOTER
   =================================== */

.footer,
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-contact span {
    color: #bbb;
    font-size: 0.95rem;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .navbar-brand h1 {
        font-size: 1.3rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .info-grid, .orders-grid {
        grid-template-columns: 1fr;
    }

    .location-info {
        flex-direction: column;
        text-align: center;
    }

    .location-info i {
        margin-top: 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .qr-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar-brand {
        gap: 0.5rem;
    }

    .logo {
        height: 40px;
    }

    .navbar-brand h1 {
        font-size: 1rem;
    }

    .whatsapp-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        height: 300px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .welcome-card {
        padding: 1.5rem;
    }

    .welcome-card h3 {
        font-size: 1.3rem;
    }

    .info-card, .order-card {
        padding: 1.5rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .navbar,
    .cta-buttons,
    .whatsapp-btn {
        display: none;
    }

    body {
        background: white;
    }
}
