/* Variables CSS */
:root {
    --fondo: #0D0D0D;
    --texto: #FFFFFF;
    --rojo: #E60000;
    --rojo-oscuro: #B00000;
    --gris-oscuro: #1A1A1A;
    --gris-medio: #2A2A2A;
    --gris-claro: #CCCCCC;
}

/* Importar fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fondo);
    color: var(--texto);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--gris-oscuro);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Menú */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--texto);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--rojo);
}

/* Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--texto);
    transition: 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('images/6.jpg') center/cover no-repeat;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

/* HERO logo + título */
.hero-logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-logo {
    width: 380px; /* tamaño grande escritorio */
    height: auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

/* Subtítulo */
.hero-subtitle {
    max-width: 800px;
    margin: 1.2rem auto 2rem;
    font-size: 1.25rem;
    color: var(--gris-claro);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: var(--rojo);
    color: var(--texto);
}

.btn-primary:hover {
    background-color: var(--rojo-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,0,0,0.4);
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--gris-oscuro);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--gris-claro);
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: var(--gris-medio);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(230,0,0,0.3);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
}

.card-description {
    color: var(--gris-claro);
    margin-bottom: 1rem;
}

.card-price {
    color: var(--rojo);
    font-size: 1.25rem;
    font-weight: bold;
}

/* FORMULARIOS */
.order-form,
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* FOOTER */
.footer {
    background-color: var(--gris-oscuro);
    padding: 2rem 0;
    text-align: center;
    color: var(--gris-claro);
    border-top: 1px solid var(--gris-medio);
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 900px) {
    .hero-logo {
        width: 200px; /* tamaño intermedio */
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* Móvil */
@media (max-width: 600px) {
    .hero-logo {
        width: 140px; /* tamaño correcto en móvil */
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Menú móvil */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--gris-oscuro);
        transition: 0.3s;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
    }
}
