/* ============================================
   HOUSE OF GRILL - Estilos principales
   ============================================ */

/* Variables */
:root {
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
    --color-cream: #f5f0e8;
    --color-cream-dark: #e8e0d0;
    --color-gold: #c9a227;
    --color-gold-light: #d4b84a;
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --font-display: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-darker);
    color: var(--color-text);
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

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

.nav-logo span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    display: none;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/ayuda.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(1.2) contrast(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.6)); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--color-gold);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
}

.hero-cta:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-text-muted);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-text);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 6rem 2rem;
    background: var(--color-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p strong {
    color: var(--color-text);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-cream);
    color: var(--color-dark);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: 6rem 2rem;
    background: var(--color-darker);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--color-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #3d2d1f 0%, #2a1f15 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-content {
    padding: 1.5rem;
    text-align: center;
}

.product-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.product-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.btn-quote {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-gold);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
}

.btn-quote:hover {
    background: transparent;
    color: var(--color-gold);
}

/* ============================================
   PRODUCT DETAIL SECTIONS
   ============================================ */
.product-detail {
    padding: 6rem 2rem;
    position: relative;
}

.product-detail:nth-child(even) {
    background: var(--color-dark);
}

.product-detail:nth-child(odd) {
    background: var(--color-darker);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-grid.reverse {
    direction: rtl;
}

.detail-grid.reverse > * {
    direction: ltr;
}

.detail-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #4a3828 0%, #2d1f15 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

.detail-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.detail-content .subtitle {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.detail-content .description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.detail-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(245, 240, 232, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
}

.detail-feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.detail-feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   FAQS SECTION
   ============================================ */
.faqs {
    padding: 6rem 2rem;
    background: var(--color-dark);
}

.faqs-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.faqs-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #4a3828 0%, #2d1f15 100%);
    border-radius: 12px;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

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

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.faq-item p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 6rem 2rem;
    background: var(--color-darker);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-dark);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a3828 0%, #2d1f15 100%);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.testimonial-card p {
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem 2rem 2rem;
    position: relative;
    background-color: #000; /* Color base por si la imagen no carga */
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand img {
    width: 60px;
    height: 60px;
}

.footer-brand span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.contact-item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-gold);
}

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

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content,
    .detail-grid,
    .faqs-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .detail-grid.reverse {
        direction: ltr;
    }

    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faqs-image {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .nav {
        padding: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .carousel-section{
        position: relative;
        width: calc(min(47rem, 90%));
        margin: 0 auto;
        min-height: 100vh;
        column-gap: 3rem;
        padding-block: min(20vh, 3rem);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}
