/*
Theme Name: Kurban Restaurant
Theme URI: https://kurban-restaurant.com
Author: Kurban Restaurant
Author URI: https://kurban-restaurant.com
Description: A premium, modern restaurant WordPress theme for Kurban Restaurant, Noshahra Cantt, KPK, Pakistan. Features full menu management, reservations, blog/journal, team showcase, gallery, and AI chatbot integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kurban
Tags: restaurant, food, one-page, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================= */
:root {
    --brand:        #DC2626;
    --brand-dark:   #B91C1C;
    --brand-yellow: #FACC15;
    --zinc-50:      #FAFAFA;
    --zinc-100:     #F4F4F5;
    --zinc-200:     #E4E4E7;
    --zinc-400:     #A1A1AA;
    --zinc-500:     #71717A;
    --zinc-600:     #52525B;
    --zinc-800:     #27272A;
    --zinc-900:     #18181B;
    --white:        #FFFFFF;
    --radius-sm:    1rem;
    --radius-md:    2rem;
    --radius-lg:    3rem;
    --shadow-xl:    0 20px 60px rgba(0,0,0,0.12);
    --shadow-brand: 0 10px 40px rgba(220,38,38,0.25);
    --transition:   all 0.3s ease;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--zinc-900);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

ul, ol { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { color: var(--zinc-500); line-height: 1.8; }

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brand);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: 900px; }
.container--mid    { max-width: 1080px; }

.section { padding: 6rem 0; }
.section--bg { background: var(--zinc-50); }

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
@media(max-width:900px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.flex-center  { display:flex; align-items:center; justify-content:center; }
.flex-between { display:flex; align-items:center; justify-content:space-between; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--zinc-900);
    color: var(--white);
    border-color: var(--zinc-900);
}
.btn-primary:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}
.btn-brand {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    box-shadow: var(--shadow-brand);
}
.btn-brand:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--zinc-900);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--zinc-900);
    border-color: var(--zinc-200);
}
.btn-outline:hover {
    background: var(--zinc-900);
    color: var(--white);
}
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.1rem; }

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
}
#site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 40px rgba(0,0,0,0.08);
    padding: 0.75rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#site-header.scrolled .site-logo { color: var(--zinc-900); }

.site-logo span { color: var(--brand); }

/* Primary Nav */
#primary-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
#primary-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    letter-spacing: 0.05em;
}
#site-header.scrolled #primary-nav a { color: var(--zinc-600); }
#primary-nav a:hover { color: var(--brand); }
#primary-nav .current-menu-item > a { color: var(--brand); }

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-cta .btn {
    font-size: 0.75rem;
    padding: 0.65rem 1.5rem;
}

/* Cart badge */
.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
#site-header.scrolled .cart-btn { color: var(--zinc-900); }
.cart-badge {
    position: absolute;
    top: -8px; right: -8px;
    width: 20px; height: 20px;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}
#site-header.scrolled .menu-toggle span { background: var(--zinc-900); }

@media(max-width:900px){
    #primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-top: 1px solid var(--zinc-100);
        box-shadow: var(--shadow-xl);
    }
    #primary-nav.open { display: block; }
    #primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    #primary-nav a { color: var(--zinc-700); font-size: 1rem; }
    .menu-toggle { display: flex; }
    .header-cta .btn { display: none; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--zinc-900);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 5rem;
    max-width: 780px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--brand-yellow);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 7vw, 6rem);
}
.hero h1 em {
    font-style: normal;
    color: var(--brand-yellow);
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin-bottom: 3rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-stats {
    position: absolute;
    bottom: 3rem; right: 2rem;
    display: flex;
    gap: 1.5rem;
    z-index: 2;
}
.hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    text-align: center;
    color: var(--white);
}
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--brand-yellow); }
.hero-stat span { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; }

@media(max-width:600px){ .hero-stats { display:none; } }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header { margin-bottom: 4rem; }
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* =========================================================
   FEATURES / BENTO GRID
   ========================================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bento-card {
    background: var(--white);
    border: 1px solid var(--zinc-100);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.bento-card.large { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(220,38,38,0.08);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}
.bento-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--zinc-900); }
.bento-card p  { font-size: 0.9rem; }
@media(max-width:768px){ .bento-grid { grid-template-columns: 1fr; } .bento-card.large { grid-column: span 1; } }

/* =========================================================
   MENU SECTION
   ========================================================= */
.menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid var(--zinc-200);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    background: none;
    transition: var(--transition);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--zinc-600);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--zinc-900);
    color: var(--white);
    border-color: var(--zinc-900);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.menu-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--zinc-100);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.menu-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.menu-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.menu-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.08); }
.menu-card-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    padding: 0.3rem 0.9rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--zinc-900);
}
.menu-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.menu-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.menu-card-name { font-size: 1.1rem; font-weight: 700; color: var(--zinc-900); }
.menu-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--zinc-500);
}
.star { color: var(--brand-yellow); }
.menu-card-desc { font-size: 0.85rem; color: var(--zinc-500); margin-bottom: 1.25rem; flex: 1; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--zinc-100);
    padding-top: 1rem;
}
.menu-card-price { font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.add-to-cart-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--zinc-900);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}
.add-to-cart-btn:hover { background: var(--brand); transform: scale(1.1); }
.menu-card.hidden { display: none; }

@media(max-width:900px){ .menu-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px){ .menu-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SIGNATURE SECTION
   ========================================================= */
.signature-section {
    background: var(--zinc-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.signature-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
    white-space: nowrap;
}
.signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.signature-img-wrap {
    position: relative;
}
.signature-img-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.signature-badge-float {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--brand);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    color: var(--white);
    font-weight: 700;
}
.signature-badge-float strong { display: block; font-size: 2rem; font-weight: 900; }
.signature-badge-float span { font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.signature-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.signature-content p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.signature-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.signature-tag {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

@media(max-width:768px){ .signature-grid { grid-template-columns: 1fr; gap: 3rem; } .signature-badge-float { right: 1rem; } }

/* =========================================================
   TESTIMONIALS MARQUEE
   ========================================================= */
.testimonials-section { overflow: hidden; }
.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.testimonial-card {
    width: 380px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--zinc-100);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testimonial-stars { color: var(--brand-yellow); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 0.1em; }
.testimonial-text { font-size: 0.95rem; color: var(--zinc-700); margin-bottom: 1.5rem; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--zinc-100);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand);
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--zinc-900); }
.testimonial-role { font-size: 0.75rem; color: var(--zinc-400); }

/* =========================================================
   TEAM / CHEFS
   ========================================================= */
.chefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.chef-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--zinc-100);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.chef-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.chef-img {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.chef-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.chef-card:hover .chef-img img { transform: scale(1.08); }
.chef-body { padding: 2rem; text-align: center; }
.chef-stars { color: var(--brand-yellow); margin-bottom: 0.75rem; }
.chef-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.chef-role { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand); margin-bottom: 1rem; }
.chef-bio { font-size: 0.85rem; color: var(--zinc-500); font-style: italic; margin-bottom: 1.25rem; line-height: 1.6; }
.chef-specialty { padding-top: 1.25rem; border-top: 1px solid var(--zinc-100); }
.chef-specialty-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--zinc-400); font-weight: 700; margin-bottom: 0.25rem; }
.chef-specialty-value { font-size: 0.95rem; font-weight: 700; color: var(--zinc-900); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-member-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    transition: var(--transition);
}
.team-member-card:hover { background: rgba(255,255,255,0.1); }
.team-member-card .name { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 0.25rem; }
.team-member-card .role { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-yellow); font-weight: 700; }
@media(max-width:900px){ .chefs-grid { grid-template-columns: 1fr 1fr; } .team-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px){ .chefs-grid { grid-template-columns: 1fr; } }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-masonry {
    columns: 4;
    column-gap: 1rem;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
@media(max-width:1024px){ .gallery-masonry { columns: 3; } }
@media(max-width:768px)  { .gallery-masonry { columns: 2; } }
@media(max-width:480px)  { .gallery-masonry { columns: 1; } }

/* =========================================================
   RESERVATIONS
   ========================================================= */
.reservations-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.reservation-info h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
.reservation-info p  { font-size: 1.05rem; margin-bottom: 3rem; }
.info-items { display: flex; flex-direction: column; gap: 2rem; }
.info-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.info-icon {
    width: 52px; height: 52px;
    background: rgba(220,38,38,0.08);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.info-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.info-item p  { font-size: 0.9rem; margin: 0; }

/* Form */
.reservation-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--zinc-100);
    box-shadow: var(--shadow-xl);
}
.form-group { margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--zinc-400);
    margin-bottom: 0.5rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: var(--zinc-50);
    border: 1px solid var(--zinc-100);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--zinc-900);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; }

.success-msg {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}
.success-icon {
    width: 80px; height: 80px;
    background: var(--brand);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-brand);
}

@media(max-width:900px){ .reservations-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* =========================================================
   BLOG / JOURNAL
   ========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--zinc-100);
    transition: var(--transition);
    display: block;
    color: inherit;
}
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.blog-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-category {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: 0.3rem 0.9rem;
    background: var(--brand);
    color: var(--white);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.blog-card-body { padding: 1.75rem; }
.blog-card-meta { font-size: 0.75rem; color: var(--zinc-400); margin-bottom: 0.75rem; font-weight: 600; }
.blog-card-title { font-size: 1.15rem; font-weight: 700; color: var(--zinc-900); margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--zinc-500); margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { font-size: 0.8rem; font-weight: 700; color: var(--brand); display: flex; align-items: center; gap: 0.4rem; }
@media(max-width:900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px){ .blog-grid { grid-template-columns: 1fr; } }

/* Single Blog Post */
.post-hero {
    height: 500px;
    position: relative;
    overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}
.post-hero-content {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    padding: 0 2rem;
    color: var(--white);
}
.post-content-wrap {
    max-width: 750px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.post-content-wrap h2 { color: var(--zinc-900); margin: 2rem 0 1rem; font-size: 1.6rem; }
.post-content-wrap p  { margin-bottom: 1.5rem; color: var(--zinc-600); }
.post-content-wrap ul, .post-content-wrap ol { padding-left: 1.5rem; margin-bottom: 1.5rem; list-style: disc; color: var(--zinc-600); }

/* =========================================================
   PRIVACY POLICY / DISCLAIMER / SITEMAP
   ========================================================= */
.legal-wrap {
    max-width: 860px;
    margin: 8rem auto 6rem;
    padding: 0 1.5rem;
}
.legal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    border: 1px solid var(--zinc-100);
    box-shadow: var(--shadow-xl);
}
.legal-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.legal-icon {
    width: 50px; height: 50px;
    background: rgba(220,38,38,0.08);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand);
    font-size: 1.25rem;
}
.legal-card h1 { font-size: 2.5rem; }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--zinc-900); }
.legal-section p  { color: var(--zinc-600); }
.legal-section ul { padding-left: 1.5rem; list-style: disc; color: var(--zinc-600); }
.legal-section ul li { margin-bottom: 0.5rem; }
.legal-date { color: var(--zinc-900); font-weight: 600; font-size: 1rem; margin-bottom: 2rem; display: block; }

/* Sitemap specific */
.sitemap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.sitemap-section h2 { font-size: 1.3rem; border-bottom: 1px solid var(--zinc-100); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.sitemap-section ul { display: flex; flex-direction: column; gap: 0.75rem; }
.sitemap-section a { color: var(--zinc-500); font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; }
.sitemap-section a:hover { color: var(--brand); }
@media(max-width:580px){ .sitemap-grid { grid-template-columns: 1fr; } .legal-card { padding: 2rem; } }

/* =========================================================
   CART / CHECKOUT
   ========================================================= */
.cart-sidebar {
    position: fixed;
    top: 0; right: -480px;
    width: 480px; height: 100vh;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cart-sidebar.open { right: 0; }
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--zinc-100);
}
.cart-header h3 { font-size: 1.25rem; font-weight: 700; }
.cart-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--zinc-200);
    background: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    color: var(--zinc-600);
}
.cart-close:hover { background: var(--zinc-900); color: var(--white); border-color: var(--zinc-900); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--zinc-400);
    text-align: center;
    gap: 1rem;
}
.cart-empty .icon { font-size: 3rem; }
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--zinc-50);
    align-items: center;
}
.cart-item-img {
    width: 64px; height: 64px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; color: var(--zinc-900); }
.cart-item-price { font-size: 0.85rem; color: var(--brand); font-weight: 600; }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.qty-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--zinc-200);
    background: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    transition: var(--transition);
    color: var(--zinc-700);
}
.qty-btn:hover { background: var(--zinc-900); color: var(--white); border-color: var(--zinc-900); }
.qty-num { font-weight: 700; min-width: 24px; text-align: center; font-size: 0.9rem; }

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--zinc-100);
    background: var(--zinc-50);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.cart-total span:last-child { color: var(--brand); }
.cart-checkout-btn { width: 100%; justify-content: center; }

@media(max-width:520px){ .cart-sidebar { width: 100%; right: -100%; } }

/* =========================================================
   CHATBOT
   ========================================================= */
.chatbot-toggle {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.chatbot-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-brand);
    transition: var(--transition);
}
.chatbot-btn:hover { transform: scale(1.1); background: var(--brand-dark); }
.whatsapp-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); }

.chatbot-window {
    position: fixed;
    bottom: 5.5rem; right: 1.5rem;
    width: 380px;
    height: 480px;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--zinc-200);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 150;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chatbot-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}
.chatbot-head {
    background: var(--brand);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}
.chatbot-head-title { font-weight: 700; font-size: 0.95rem; }
.chatbot-head-sub { font-size: 0.7rem; opacity: 0.8; }
.chatbot-close-btn {
    background: none; border: none; cursor: pointer;
    color: var(--white); opacity: 0.8; font-size: 1rem;
    padding: 0.25rem; transition: var(--transition);
}
.chatbot-close-btn:hover { opacity: 1; }
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--zinc-50);
}
.chat-msg {
    display: flex;
    max-width: 85%;
}
.chat-msg.user { margin-left: auto; }
.chat-bubble {
    padding: 0.65rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
    background: var(--white);
    border: 1px solid var(--zinc-200);
    color: var(--zinc-800);
    border-top-left-radius: 0.25rem;
}
.chat-msg.user .chat-bubble {
    background: var(--brand);
    color: var(--white);
    border-top-right-radius: 0.25rem;
}
.chatbot-input-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border-top: 1px solid var(--zinc-100);
}
.chatbot-input {
    flex: 1;
    background: var(--zinc-100);
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}
.chatbot-send-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.chatbot-send-btn:hover { background: var(--brand-dark); }
.typing-dots { display: flex; gap: 4px; padding: 0.65rem 1rem; }
.typing-dot {
    width: 8px; height: 8px;
    background: var(--zinc-300);
    border-radius: 50%;
    animation: dot-bounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce { 0%,80%,100%{ transform:translateY(0); } 40%{ transform:translateY(-8px); } }

@media(max-width:420px){ .chatbot-window { width: calc(100vw - 2rem); right: 1rem; } }

/* =========================================================
   CHECKOUT PAGE
   ========================================================= */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}
.checkout-card {
    background: var(--white);
    border: 1px solid var(--zinc-100);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.checkout-section-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--zinc-900); }
.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--zinc-50);
    font-size: 0.9rem;
}
.order-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--zinc-100);
}
@media(max-width:900px){ .checkout-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
    background: var(--zinc-900);
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand .site-logo { color: var(--white); font-size: 1.75rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col a:hover { color: var(--brand-yellow); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--brand-yellow); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-link:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media(max-width:580px){ .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* =========================================================
   PAGE HERO (Generic inner pages)
   ========================================================= */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--zinc-50);
    text-align: center;
    border-bottom: 1px solid var(--zinc-100);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; display: block; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* =========================================================
   UTILITY
   ========================================================= */
.hidden { display: none !important; }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--zinc-500);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}
.back-link:hover { color: var(--brand); }
