/* 
   PIZZA TAURA - Rediseño: La Dolce Vita Moderna
   Estética: Mediterránea, Luminosa, Artesanal
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --taura-bg: #ffffff;
    --taura-surface: #fcf7f2;
    --taura-terracotta: #b05b38;
    --taura-terracotta-hover: #8e492d;
    --taura-olive: #4a5d4e;
    --taura-gold: #c5a059;
    --taura-text: #1d1d1d;
    --taura-text-light: #666666;

    /* Typography */
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-max: 1300px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--taura-bg);
    color: var(--taura-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* --- REUSABLES --- */
.btn {
    padding: 16px 32px;
    border-radius: 4px;
    /* Un toque de suavidad */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--taura-terracotta);
    color: white;
    border: 1px solid var(--taura-terracotta);
}

.btn-primary:hover {
    background: var(--taura-terracotta-hover);
    border-color: var(--taura-terracotta-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(176, 91, 56, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: white;
    color: var(--taura-text);
    border-color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: var(--taura-terracotta);
    color: white;
}

/* --- NAVEGACIÓN --- */
header {
    background: var(--taura-olive);
    /* Cambio a verde oliva como solicitado */
    backdrop-filter: blur(10px);
    padding: 12px 5%;
    /* Ajuste de padding para compensar logo más grande */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    font-size: 36px;
}

.mobile-only {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: var(--transition);
}

.nav-logo img {
    height: 65px;
    width: auto;
    display: block;
}

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

/* --- HERO --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f0ede9 url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed; /* Efecto Parallax */
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Animación inicial del Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: heroFadeInUp 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 25px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: clamp(4rem, 10vw, 7.5rem);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    font-style: italic;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- ARTISAN SECTION --- */
.artisan-section {
    padding: 120px 5%;
    background: var(--taura-bg);
}

.artisan-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.artisan-image {
    position: relative;
}

.artisan-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 40px 40px 0px var(--taura-surface);
}

.artisan-text h2 {
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--taura-text);
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 400;
}

.artisan-text h2 span {
    font-style: italic;
    color: var(--taura-terracotta);
}

.artisan-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--taura-text-light);
}

.offer-box {
    background: var(--taura-surface);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(176, 91, 56, 0.1);
    display: flex;
    gap: 25px;
    align-items: center;
}

.offer-box .icon-prom {
    font-size: 3rem;
    color: var(--taura-terracotta);
}

.offer-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--taura-text);
    line-height: 1.5;
}

/* --- PEDIDOS (LOCATIONS) --- */
.order-section {
    padding: 120px 5%;
    background: var(--taura-surface);
}

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

.section-header .small-title {
    color: var(--taura-terracotta);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 400;
}

.locations-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: white;
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(176, 91, 56, 0.15);
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--taura-terracotta-hover);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--taura-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--taura-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.card-icon span {
    font-size: 35px;
    font-weight: 200;
}

.card h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.card .address {
    color: var(--taura-text-light);
    font-size: 0.95rem;
    margin-bottom: 35px;
    min-height: 50px;
}

.card .phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--taura-text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.card .phone:hover {
    color: var(--taura-terracotta);
    border-color: var(--taura-terracotta);
}

/* --- TAURA PROFESIONAL --- */
.prof-section {
    padding: 120px 5%;
}

.prof-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--taura-terracotta);
    padding: 80px;
    border-radius: 12px;
    color: white;
}

.prof-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.prof-logo-area {
    flex: 0 0 280px;
}

.prof-logo-img {
    width: 100%;
    filter: brightness(0) invert(1);
    /* Logo blanco sobre verde oliva */
}

.prof-text h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.prof-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(135deg, var(--taura-olive) 0%, #3a4a3e 100%);
    color: white;
    padding: 100px 5% 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.1;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 100px;
}

.brand-col .footer-logo {
    width: 160px;
    margin-bottom: 30px;
    filter: none;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- MENU PAGE SPECIFICS --- */
.menu-page-header {
    padding: 100px 5% 60px;
    text-align: center;
    background: var(--taura-bg);
}

.menu-page-header h1 {
    font-family: var(--font-title);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.menu-page-header h1 span {
    font-style: italic;
    color: var(--taura-terracotta);
}

/* --- CATEGORY NAV --- */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 5% 20px;
    margin-bottom: 50px;
    background: white;
    position: sticky;
    top: 89px;
    /* Justo debajo del header */
    z-index: 999;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.cat-link {
    white-space: nowrap;
    text-decoration: none;
    color: var(--taura-text-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--taura-surface);
    transition: var(--transition);
}

.cat-link:hover,
.cat-link.active {
    background: var(--taura-terracotta);
    color: white;
}

.menu-grid {
    max-width: var(--container-max);
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.menu-cat-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border-radius: 12px;
}

.menu-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    transition: var(--transition);
}

.menu-cat-card span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.menu-cat-card h3 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 400;
}

.menu-cat-card:hover img {
    transform: scale(1.05);
}

.menu-cat-card:hover .menu-cat-overlay {
    padding-bottom: 50px;
}

/* --- PIZZA LIST & CREA TU PIZZA --- */
.pizza-list-section,
.crea-section {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 5%;
}

.mitad-info {
    background: var(--taura-surface);
    color: var(--taura-terracotta);
    padding: 15px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    margin-bottom: 40px;
}

.pizza-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pizza-item:hover {
    padding-left: 10px;
    border-bottom-color: var(--taura-terracotta);
}

.pizza-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.pizza-info p {
    color: var(--taura-text-light);
    font-size: 0.95rem;
}

.pizza-prices {
    display: flex;
    gap: 30px;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-item .size {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.price-item .amount {
    font-weight: 600;
    color: var(--taura-terracotta);
}

/* Ingredients Grid */
.ingredients-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.category-box h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--taura-terracotta);
}

.category-list {
    list-style: none;
}

.category-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--taura-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list li::before {
    content: '•';
    color: var(--taura-gold);
}

/* Crea tu Pizza Styles */
.salsas-highlight {
    background: var(--taura-olive);
    padding: 60px;
    color: white;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 80px;
}

.salsas-highlight h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.salsas-list-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Pricing Table */
.crea-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 100px;
}

.crea-table th {
    text-align: left;
    padding: 20px;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 400;
    border-bottom: 2px solid var(--taura-terracotta);
}

.crea-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

.crea-table tr:last-child {
    color: var(--taura-terracotta);
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .artisan-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .artisan-image img {
        box-shadow: 20px 20px 0px var(--taura-surface);
    }

    .offer-box {
        justify-content: center;
    }

    .prof-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

/* --- ANIMATIONS (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (max-width: 1024px) {
    header {
        padding: 10px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        /* Se activará con JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--taura-olive);
        padding: 40px 5%;
        gap: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

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

    .nav-container .btn-outline:not(.mobile-only .btn) {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .menu-page-header h1 {
        font-size: 3rem;
    }

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

    .category-nav {
        margin-bottom: 25px;
        padding: 15px 5%;
        flex-wrap: wrap;
        overflow: visible;
        position: relative;
        top: 0;
        gap: 10px;
    }

    .cat-link {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .artisan-text h2 {
        font-size: 2.8rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .brand-col p {
        margin: 0 auto;
    }

    .menu-cat-card {
        height: 350px;
    }

    .menu-cat-card h3 {
        font-size: 1.8rem;
    }

    .pizza-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .pizza-prices {
        width: 100%;
        justify-content: space-between;
    }

    .crea-table thead {
        display: none;
    }

    .crea-table,
    .crea-table tbody,
    .crea-table tr,
    .crea-table td {
        display: block;
        width: 100%;
    }

    .crea-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .crea-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 20px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--taura-terracotta);
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .pizza-prices {
        flex-wrap: wrap;
        gap: 15px;
    }

    .price-item {
        align-items: flex-start;
    }
}
/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--taura-olive);
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--taura-gold);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .btn {
        width: 100%;
        justify-content: center;
    }
}
