/* ============================================================
   La Maison – Custom Styles
   ============================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: #1a1a1a;
    color: #f5f0e8;
}

/* ---------- Typography ---------- */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Navigation ---------- */
.nav-link {
    position: relative;
    color: rgba(245,240,232,0.75);
    transition: color 0.2s;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: #c8a96e;
    transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
    color: #c8a96e;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #c8a96e;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    transition: background-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.03em;
}
.btn-gold:hover {
    background-color: #a88848;
    box-shadow: 0 8px 24px rgba(200,169,110,0.25);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #c8a96e;
    color: #c8a96e;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    transition: background-color 0.2s, color 0.2s;
    letter-spacing: 0.03em;
}
.btn-outline-gold:hover {
    background-color: #c8a96e;
    color: #1a1a1a;
}

/* ---------- Section Divider Label ---------- */
.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c8a96e;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #f5f0e8;
}

.section-subtitle {
    color: rgba(245,240,232,0.6);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 42ch;
}

.gold-rule {
    width: 60px;
    height: 2px;
    background: #c8a96e;
    margin: 1.25rem 0;
}

/* ---------- Cards ---------- */
.card {
    background-color: #2d2d2d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* ---------- Menu Items ---------- */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    transition: background-color 0.2s;
}
.menu-item:last-child { border-bottom: none; }

.menu-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #f5f0e8;
}
.menu-item-desc {
    font-size: 0.8rem;
    color: rgba(245,240,232,0.55);
    margin-top: 0.25rem;
    line-height: 1.5;
}
.menu-item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #c8a96e;
    font-weight: 600;
    white-space: nowrap;
}

.menu-category-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 1px solid rgba(200,169,110,0.4);
    color: rgba(245,240,232,0.65);
    background: transparent;
    transition: all 0.2s;
}
.menu-category-tab.active,
.menu-category-tab:hover {
    background: #c8a96e;
    color: #1a1a1a;
    border-color: #c8a96e;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.65);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: #2d2d2d;
    border: 1px solid rgba(255,255,255,0.12);
    color: #f5f0e8;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c8a96e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}
.form-select option { background-color: #2d2d2d; }

.form-textarea { min-height: 120px; resize: vertical; }

/* ---------- Alerts ---------- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.alert-success {
    background-color: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
}
.alert-error {
    background-color: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #111;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }

/* ---------- Page Header ---------- */
.page-header {
    background-image: linear-gradient(rgba(26,26,26,0.78), rgba(26,26,26,0.78)),
                      url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1400&q=80');
    background-size: cover;
    background-position: center;
    padding: 7rem 1.5rem 5rem;
    text-align: center;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #2d2d2d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 2rem;
}
.stars { color: #c8a96e; font-size: 0.85rem; letter-spacing: 2px; }

/* ---------- Stats ---------- */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-card:last-child { border-right: none; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #c8a96e;
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.5);
    margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c8a96e;
    margin-bottom: 1.25rem;
}
.footer-link {
    color: rgba(245,240,232,0.6);
    transition: color 0.2s;
    display: inline-block;
}
.footer-link:hover { color: #c8a96e; }

.social-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(200,169,110,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245,240,232,0.6);
    font-size: 0.75rem;
    transition: all 0.2s;
}
.social-icon:hover {
    background: #c8a96e;
    border-color: #c8a96e;
    color: #1a1a1a;
}

/* ---------- Feature Icon ---------- */
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(200,169,110,0.12);
    border: 1px solid rgba(200,169,110,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a96e;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Scroll-to-top ---------- */
#scrollTop {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 42px; height: 42px;
    background: #c8a96e;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(200,169,110,0.3);
}
#scrollTop.show {
    opacity: 1;
    pointer-events: auto;
}
#scrollTop:hover { transform: translateY(-3px); }

/* ---------- Tooltip badge ---------- */
.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    text-transform: uppercase;
}
.badge-gold   { background: rgba(200,169,110,0.2); color: #c8a96e; border: 1px solid rgba(200,169,110,0.4); }
.badge-green  { background: rgba(34,197,94,0.15);  color: #86efac;  border: 1px solid rgba(34,197,94,0.3); }
.badge-red    { background: rgba(239,68,68,0.15);  color: #fca5a5;  border: 1px solid rgba(239,68,68,0.3); }
