/* ============================================================
   Site.css - Spice Garden Indian Restaurant
   Complete External Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --clr-deep-red: #8B1A1A;
    --clr-red: #C41E3A;
    --clr-gold: #D4A017;
    --clr-gold-light: #F0C75E;
    --clr-cream: #FFF8E7;
    --clr-cream-dark: #F5E6C8;
    --clr-white: #FFFFFF;
    --clr-dark: #1A1A1A;
    --clr-dark-soft: #2C2C2C;
    --clr-text: #333333;
    --clr-text-light: #666666;
    --clr-overlay: rgba(26, 26, 26, 0.65);

    --ff-heading: 'Playfair Display', Georgia, serif;
    --ff-body: 'Poppins', 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-text);
    background-color: var(--clr-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-main-content {
    flex: 1 0 auto;
    padding-top: 76px;
}

.site-footer {
    margin-top: auto;
}

/* ---------- jQuery Mobile Compatibility ---------- */
.ui-page {
    background: var(--clr-cream) !important;
}

.site-main-content.ui-content {
    padding: 0 !important;
}

.site-header.ui-header,
.site-footer.ui-footer {
    border: 0 !important;
}

.site-header.ui-header .ui-title,
.site-footer.ui-footer .ui-title {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--clr-deep-red);
    line-height: 1.3;
}

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

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: var(--clr-deep-red);
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--clr-text-light);
    margin-bottom: 48px;
    font-weight: 300;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-red));
    margin: 0 auto 16px;
    border-radius: 2px;
}

section {
    padding: 80px 0;
}

main > section {
    animation: pageFadeIn 0.45s ease-out;
}

main > section:first-child:not(.hero) {
    padding-top: 28px;
}

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
    background: rgba(12, 12, 12, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    font-size: 2rem;
}

.nav-logo-text {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: rgba(240, 199, 94, 0.96);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-logo-text span {
    color: var(--clr-white);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    color: rgba(255, 248, 231, 0.9);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 999px;
    transition: all var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--clr-gold);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-menu a:hover {
    color: var(--clr-white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-menu a:hover::after {
    width: 60%;
}

.nav-menu a.active {
    color: var(--clr-gold);
    background: transparent;
    box-shadow: none;
}

.nav-menu a.active::after {
    width: 60%;
}

.nav-menu-divider {
    width: 1px;
    height: 22px;
    margin: 0 8px;
    background: rgba(255, 248, 231, 0.18);
}

.nav-welcome {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(240, 199, 94, 0.35);
    background: rgba(240, 199, 94, 0.08);
    color: var(--clr-gold-light);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.nav-menu .nav-auth-link {
    border: 1px solid rgba(240, 199, 94, 0.3);
    border-radius: 999px;
    padding: 8px 14px;
}

.nav-menu .nav-auth-link::after {
    display: none;
}

.nav-menu .nav-auth-link.nav-auth-primary {
    background: linear-gradient(135deg, rgba(212,160,23,0.98), rgba(184,133,0,0.98));
    color: #181818;
    font-weight: 600;
}

.nav-menu .nav-auth-link.nav-auth-secondary,
.nav-menu .nav-account-link {
    background: rgba(255, 255, 255, 0.03);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--clr-cream);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .site-header {
        background: rgba(12, 12, 12, 0.96);
    }
    .site-main-content {
        padding-top: 76px;
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(139, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
    max-width: 750px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.6rem;
    color: var(--clr-white);
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-content h1 .highlight {
    color: var(--clr-gold-light);
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.92;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-red), var(--clr-deep-red));
    color: var(--clr-white);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.55);
    color: var(--clr-white);
}

/* ---------- WELCOME / ABOUT SECTION ---------- */
.welcome-section {
    background: var(--clr-white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.welcome-text p {
    color: var(--clr-text-light);
    margin-bottom: 16px;
    font-size: 1rem;
}

.welcome-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.welcome-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--clr-gold);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity var(--transition);
}

.welcome-image:hover::after {
    opacity: 1;
}

/* ---------- FEATURED DISHES ---------- */
.featured-section {
    background: linear-gradient(180deg, var(--clr-cream) 0%, var(--clr-white) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.featured-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(212,160,23,0.12);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-gold);
}

.featured-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-img {
    transform: scale(1.08);
}

.featured-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.featured-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.15));
    pointer-events: none;
}

.featured-card-body {
    padding: 24px;
}

.featured-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.featured-card-body p {
    color: var(--clr-text-light);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.featured-price {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    color: var(--clr-red);
    font-weight: 700;
}

/* ---------- OPENING HOURS WIDGET ---------- */
.hours-widget {
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-dark-soft));
    color: var(--clr-cream);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    margin: 0 auto;
}

.hours-widget h3 {
    color: var(--clr-gold);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
}

.hours-widget-icon {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.95rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
}

.hours-time {
    color: var(--clr-gold-light);
    font-weight: 400;
}

/* ---------- VIDEO SECTION ---------- */
.video-section {
    background: var(--clr-white);
    text-align: center;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- MENU PAGE ---------- */
.menu-section {
    background: var(--clr-cream);
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.category-btn {
    background: var(--clr-white);
    color: var(--clr-text);
    border: 2px solid var(--clr-cream-dark);
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.category-btn:hover,
.category-btn-active {
    background: linear-gradient(135deg, var(--clr-red), var(--clr-deep-red));
    color: var(--clr-white);
    border-color: var(--clr-red);
    box-shadow: 0 4px 15px rgba(196,30,58,0.3);
    transform: translateY(-2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.menu-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.menu-card-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-card-body {
    padding: 20px;
}

.menu-card-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--clr-red);
    background: rgba(196,30,58,0.08);
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.menu-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.menu-card-body p {
    color: var(--clr-text-light);
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-price {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    color: var(--clr-red);
    font-weight: 700;
}

.menu-badge {
    font-size: 0.72rem;
    background: var(--clr-gold);
    color: var(--clr-dark);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ---------- RESERVATION PAGE ---------- */
.reservation-section {
    background: linear-gradient(180deg, var(--clr-cream) 0%, var(--clr-white) 100%);
}

.reservation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.reservation-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-dark-soft));
    color: var(--clr-cream);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.reservation-info h2 {
    color: var(--clr-gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

.reservation-info p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

.reservation-info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.reservation-form-panel {
    background: var(--clr-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212,160,23,0.1);
}

.reservation-form-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--clr-text);
    font-size: 0.92rem;
}

.form-group label .required {
    color: var(--clr-red);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--clr-cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--ff-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    background: var(--clr-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
    appearance: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, var(--clr-red), var(--clr-deep-red));
    color: var(--clr-white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196,30,58,0.4);
}

.validation-error {
    color: var(--clr-red);
    font-size: 0.82rem;
    margin-top: 4px;
    display: block;
}

.validation-summary {
    background: rgba(196,30,58,0.06);
    border: 1px solid rgba(196,30,58,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    color: var(--clr-red);
    font-size: 0.88rem;
}

.validation-summary ul {
    list-style: disc;
    padding-left: 20px;
}

.confirmation-msg {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: var(--clr-white);
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(39,174,96,0.3);
}

/* ---------- GALLERY PAGE ---------- */
.gallery-section {
    background: var(--clr-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: brightness(0.65);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--clr-white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    color: var(--clr-gold-light);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-item-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Vary item sizes for visual interest */
.gallery-item:nth-child(1) { grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 2; }

/* ---------- CONTACT PAGE ---------- */
.contact-section {
    background: var(--clr-cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-details {
    padding: 40px;
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-dark-soft));
    border-radius: var(--radius-md);
    color: var(--clr-cream);
    box-shadow: var(--shadow-lg);
}

.contact-details h2 {
    color: var(--clr-gold);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    font-size: 1.4rem;
    color: var(--clr-gold);
    margin-top: 2px;
    width: 24px;
    text-align: center;
}

.contact-detail-text h4 {
    color: var(--clr-white);
    font-family: var(--ff-body);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-detail-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.contact-form-panel {
    background: var(--clr-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 28px;
}

.map-wrapper {
    margin-top: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
    background: var(--clr-white);
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-story-text p {
    color: var(--clr-text-light);
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.about-story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-story-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-story-image:hover img {
    transform: scale(1.04);
}

.mission-section {
    background: linear-gradient(135deg, var(--clr-deep-red), #6B0F0F);
    color: var(--clr-white);
    text-align: center;
    padding: 80px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 80px;
}

.mission-section h2 {
    color: var(--clr-gold-light);
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.mission-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.8;
}

.team-section {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 48px;
}

.team-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--clr-cream), var(--clr-cream-dark));
    border: 3px solid var(--clr-gold);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-card .team-role {
    color: var(--clr-red);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--clr-text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: linear-gradient(135deg, var(--clr-dark) 0%, #111 100%);
    color: var(--clr-cream);
    padding: 54px 0 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand h3 {
    font-family: var(--ff-heading);
    color: var(--clr-gold);
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 46ch;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--clr-cream);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--clr-gold);
    color: var(--clr-dark);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--clr-gold);
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,248,231,0.65);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--clr-gold);
    padding-left: 4px;
}

.footer-col p {
    color: rgba(255,248,231,0.65);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col p i {
    color: var(--clr-gold);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.footer-bottom p {
    font-size: 0.82rem;
    opacity: 0.5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .welcome-grid,
    .about-story { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .reservation-wrapper { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .gallery-item:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--clr-dark);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu-divider {
        display: none;
    }

    .nav-welcome {
        justify-content: center;
        width: 100%;
        margin-top: 4px;
    }

    .nav-menu .nav-auth-link,
    .nav-menu .nav-account-link {
        text-align: center;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero { height: 70vh; min-height: 420px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-tagline { font-size: 1rem; }

    .featured-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }

    section { padding: 60px 0; }
    main > section:first-child:not(.hero) { padding-top: 18px; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .nav-logo-text { font-size: 1.2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- ASSIGNMENT 3: Auth, Dashboard, Error Pages ---------- */

.auth-section,
.dashboard-section,
.error-page-section {
    padding: 80px 0;
}

.auth-container {
    max-width: 560px;
}

.auth-card,
.error-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,231,0.98));
    border: 1px solid rgba(212, 160, 23, 0.18);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 34px;
}

.auth-card h1,
.error-card h1 {
    margin-bottom: 16px;
    color: var(--clr-deep-red);
}

.auth-card .section-subtitle,
.error-card p {
    color: var(--clr-text-light);
}

.auth-card label {
    color: var(--clr-text);
}

.auth-card .form-control {
    background: var(--clr-white);
    border: 2px solid var(--clr-cream-dark);
    color: var(--clr-text);
}

.auth-card .form-control::placeholder {
    color: #8a8a8a;
}

.auth-card .btn-submit {
    background: linear-gradient(135deg, var(--clr-red), var(--clr-deep-red));
    color: var(--clr-white);
}

.auth-card .btn-submit:hover {
    filter: brightness(1.05);
}

.auth-hint {
    margin-top: 16px;
    font-size: 0.92rem;
    color: var(--clr-text-light);
}

.auth-hint a {
    color: var(--clr-red);
    font-weight: 600;
}

.status-message {
    display: block;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-message.success {
    background: rgba(66, 145, 96, 0.16);
    color: #c7f4d6;
    border: 1px solid rgba(136, 224, 168, 0.45);
}

.status-message.error {
    background: rgba(198, 76, 76, 0.16);
    color: #ffd9d9;
    border: 1px solid rgba(255, 171, 171, 0.45);
}

.profile-summary {
    margin-bottom: 22px;
    background: rgba(31, 31, 51, 0.9);
    border: 1px solid rgba(240, 199, 94, 0.35);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    color: rgba(255,248,231,0.92);
    box-shadow: var(--shadow-sm);
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(31, 31, 51, 0.95);
    box-shadow: var(--shadow-sm);
    color: rgba(255,248,231,0.92);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dashboard-table th,
.dashboard-table td {
    border: 1px solid rgba(240, 199, 94, 0.28);
    padding: 10px;
    vertical-align: top;
    text-align: left;
    font-size: 0.88rem;
}

.dashboard-table th {
    background: rgba(212, 160, 23, 0.2);
    color: var(--clr-gold-light);
}

.dashboard-section .dashboard-table,
.dashboard-section .profile-summary {
    margin-top: 12px;
}

.dashboard-section .section-subtitle {
    margin-bottom: 28px;
}

.table-action {
    display: inline-block;
    margin-right: 8px;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 0.8rem;
}

.table-action.approve {
    background: #1f8b4c;
}

.table-action.cancel {
    background: #b62828;
}

.error-card {
    max-width: 700px;
    text-align: center;
}

.error-card p {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .dashboard-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .auth-card,
    .error-card {
        padding: 22px;
    }
}

/* ---------- Account / Dashboard ---------- */
.dashboard-shell {
    padding: 32px 0 80px;
}

.profile-hero,
.auth-card,
.dashboard-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,231,0.98));
    border: 1px solid rgba(212, 160, 23, 0.16);
    box-shadow: var(--shadow-lg);
}

.profile-hero {
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: auto -60px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,0.18), rgba(212,160,23,0));
}

.profile-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--clr-red);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.profile-hero h1 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.profile-hero p {
    color: var(--clr-text-light);
    max-width: 760px;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.profile-btn.primary {
    background: var(--clr-deep-red);
    color: var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.profile-btn.secondary {
    background: rgba(26, 26, 26, 0.05);
    color: var(--clr-dark);
}

.profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(212, 160, 23, 0.14);
    border-radius: var(--radius-md);
    padding: 18px;
}

.stat-card span {
    display: block;
    font-size: 0.82rem;
    color: var(--clr-text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-card strong {
    font-size: 1.8rem;
    color: var(--clr-deep-red);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.dashboard-panel {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.dashboard-panel h2 {
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(212, 160, 23, 0.12);
}

.info-label {
    color: var(--clr-text-light);
}

.info-value {
    font-weight: 600;
    color: var(--clr-dark);
    text-align: right;
}

.reservation-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(212, 160, 23, 0.14);
    margin-bottom: 14px;
}

.reservation-card h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.reservation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
    color: var(--clr-text-light);
    font-size: 0.92rem;
}

.reservation-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.12);
    color: var(--clr-deep-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.muted-note {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .profile-stats,
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .profile-hero,
    .dashboard-panel {
        padding: 20px;
    }

    .profile-stats,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
    }

    .info-value {
        text-align: left;
    }
}
