/* L'Artisan | Hamburguesas de Autor - Stylesheet */
:root {
    --gourmet-bg: #f9f7f4;
    --gourmet-dark: #1a1a1a;
    --gourmet-brass: #bda07c;
    --gourmet-terracota: #a35c46;
    --gourmet-muted: #757575;
    --gourmet-border: rgba(26, 26, 26, 0.08);
}

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

body {
    background-color: var(--gourmet-bg);
    color: var(--gourmet-dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    border-bottom: 1px solid var(--gourmet-border);
    position: sticky;
    top: 0;
    background-color: rgba(249, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-icon {
    height: 32px;
    width: auto;
    filter: grayscale(1);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gourmet-dark);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

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

.cart-trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.cart-badge-circle {
    width: 22px;
    height: 22px;
    background-color: var(--gourmet-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 6rem 10% 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
}

.sub-title {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--gourmet-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.desc-text {
    color: var(--gourmet-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 480px;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.btn-primary {
    background-color: var(--gourmet-dark);
    color: white;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gourmet-dark);
}

.btn-text {
    border-color: transparent;
    color: var(--gourmet-dark);
    padding: 1rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-text:hover {
    color: var(--gourmet-brass);
    transform: translateX(5px);
}

.hero-image-block {
    display: flex;
    justify-content: center;
}

.image-frame {
    background-color: #f1ede8;
    border-radius: 200px 200px 0 0;
    padding: 2.5rem;
    width: 80%;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gourmet-border);
}

.main-gourmet-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

/* Philosophy Section */
.philosophy {
    padding: 5rem 10%;
    background-color: #f1ede8;
    border-top: 1px solid var(--gourmet-border);
    border-bottom: 1px solid var(--gourmet-border);
}

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

.phi-card {
    display: flex;
    flex-direction: column;
}

.phi-card .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--gourmet-brass);
    margin-bottom: 1rem;
    display: block;
}

.phi-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.phi-card p {
    color: var(--gourmet-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Signature Section */
.signature-section {
    padding: 8rem 10%;
}

.sig-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.sig-image {
    display: flex;
    justify-content: center;
}

.sig-burger-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
}

.special-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--gourmet-terracota);
    margin-bottom: 1rem;
    display: block;
}

.sig-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sig-info p {
    color: var(--gourmet-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.price-line {
    margin-bottom: 2.5rem;
}

.sig-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gourmet-dark);
}

.btn-outline {
    background: transparent;
    color: var(--gourmet-dark);
    border: 1px solid var(--gourmet-dark);
}

.btn-outline:hover {
    background: var(--gourmet-dark);
    color: white;
}

/* Menu Section */
.menu-section {
    padding: 8rem 10% 6rem;
    border-top: 1px solid var(--gourmet-border);
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gourmet-muted);
    font-size: 0.9rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.menu-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gourmet-border);
}

.item-visual {
    width: 130px;
    height: 130px;
    background: #f1ede8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    flex-shrink: 0;
}

.item-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.8rem;
}

.item-title-row h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gourmet-dark);
}

.ingredients {
    color: var(--gourmet-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.btn-add-order {
    background: transparent;
    border: none;
    color: var(--gourmet-terracota);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.btn-add-order:hover {
    border-color: var(--gourmet-terracota);
}

/* Booking Section */
.booking-section {
    padding: 8rem 10%;
    background-color: #f1ede8;
    border-top: 1px solid var(--gourmet-border);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.booking-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.booking-text p {
    color: var(--gourmet-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

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

.c-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.c-info i {
    color: var(--gourmet-brass);
}

.booking-form-box {
    background: var(--gourmet-bg);
    border: 1px solid var(--gourmet-border);
    padding: 3rem;
    border-radius: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--gourmet-muted);
}

.form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gourmet-dark);
    padding: 0.6rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* Footer Styling */
.footer {
    padding: 5rem 10% 3rem;
    border-top: 1px solid var(--gourmet-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gourmet-muted);
}

.footer-divider {
    height: 1px;
    background-color: var(--gourmet-border);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gourmet-muted);
}

.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-socials a {
    color: var(--gourmet-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--gourmet-dark);
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    position: absolute;
    right: -420px;
    top: 0;
    width: 420px;
    height: 100%;
    background: var(--gourmet-bg);
    border-left: 1px solid var(--gourmet-border);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer-overlay.active .drawer-panel {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--gourmet-border);
    padding-bottom: 1rem;
}

.drawer-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.5rem;
}

.btn-close-drawer {
    background: transparent;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
}

.drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.empty-msg {
    color: var(--gourmet-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 4rem;
}

.drawer-item-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.drawer-item-row img {
    width: 55px;
    height: 55px;
    background: #f1ede8;
    border-radius: 4px;
    object-fit: contain;
    padding: 0.3rem;
}

.item-name-qty {
    flex-grow: 1;
}

.item-name-qty h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.item-name-qty span {
    font-size: 0.8rem;
    color: var(--gourmet-muted);
}

.qty-adjust {
    display: flex;
    gap: 0.5rem;
}

.qty-adjust button {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid var(--gourmet-border);
    cursor: pointer;
    font-size: 0.8rem;
}

.qty-adjust button:hover {
    background: var(--gourmet-dark);
    color: white;
}

.drawer-footer {
    border-top: 1px solid var(--gourmet-border);
    padding-top: 2rem;
    margin-top: auto;
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.subtotal-row span:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gourmet-muted);
}

.subtotal-row span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

/* Success Modal Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-box {
    background-color: var(--gourmet-bg);
    border: 1px solid var(--gourmet-border);
    border-radius: 4px;
    padding: 4rem 3rem;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.success-art {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 2rem;
}

.success-box h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.success-box p {
    color: var(--gourmet-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Responsive grid media queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text-block {
        align-items: center;
    }
    .action-row {
        justify-content: center;
    }
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sig-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .booking-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .header {
        padding: 1.2rem 5%;
    }
    .nav-links {
        display: none; /* simple burger menu could be added, but for scope we focus on layouts */
    }
    .drawer-panel {
        width: 100%;
        right: -100%;
    }
}
