/*
 * PIND PAHADI Premium Luxury Redesign Stylesheet
 * Brand Accent: Rich Mountain Gold (#C48A2D)
 * Backgrounds: Pristine White & Warm Luxury Cream (#FAF9F6)
 */

:root {
    --gold: #C48A2D;
    --gold-hover: #AA7320;
    --gold-light: #FBF7F0;
    --dark: #121212;
    --gray-dark: #2D2D2D;
    --gray-medium: #666666;
    --gray-light: #F1F1F1;
    --light-bg: #FAF9F6;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(196,138,45,0.06);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.05);
    --border-luxury: rgba(196, 138, 45, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: var(--white);
    color: var(--gray-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gold-light);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sticky Headers & Navigation */
.navbar-luxury {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-luxury);
    padding: 18px 0;
}

.nav-link-luxury {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark) !important;
    position: relative;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link-luxury::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link-luxury:hover::after, .nav-link-luxury.active::after {
    transform: scaleX(1);
}

.nav-link-luxury:hover, .nav-link-luxury.active {
    color: var(--gold) !important;
}

/* Cinematic Hero Slider */
.hero-slider-luxury {
    position: relative;
    height: 95vh;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transform: scale(1.05);
    transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.3) 100%);
    z-index: 3;
}

.hero-content-inner {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.hero-content-inner h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
}

.scroll-indicator-luxury {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Premium Section Headers */
.section-luxury-padding {
    padding: 120px 0;
}

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

.section-header-gold span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 12px;
}

.section-header-gold h2 {
    font-size: 2.8rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-header-gold h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}

/* Food Cards Advanced Styling */
.food-card-premium {
    background: var(--white);
    border: 1px solid var(--border-luxury);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.food-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196,138,45,0.3);
}

.food-card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.food-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.food-card-premium:hover .food-card-image-wrapper img {
    transform: scale(1.08);
}

.food-badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.food-badge-item {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.badge-veg { background-color: #25D366; color: white; }
.badge-nonveg { background-color: #DC3545; color: white; }
.badge-special { background-color: var(--gold); color: white; }
.badge-popular { background-color: #007BFF; color: white; }

.food-card-actions-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.food-card-premium:hover .food-card-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.action-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.action-icon-btn:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* Quick View Popup Panel */
.quickview-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.quickview-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-luxury);
}

.quickview-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.quickview-close-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* Floating Cart Slide-Out Panel */
.cart-sidebar-wrapper {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-luxury);
}

.cart-sidebar-wrapper.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--gray-light);
    background-color: var(--light-bg);
}

.cart-backdrop-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    display: none;
}

/* Cart Float Button */
.cart-floating-trigger {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--white) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(196,138,45,0.3);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}

.cart-floating-trigger:hover {
    transform: scale(1.08) translateY(-3px);
    background-color: var(--gold-hover);
}

/* Mobile Bottom Sticky Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.06);
    z-index: 1040;
    border-top: 1px solid var(--border-luxury);
}

.mobile-nav-item {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.75rem;
    text-decoration: none;
    padding: 10px 0;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 2px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--gold);
}

/* FAQs Accordion Custom */
.faq-accordion-btn {
    background: var(--white);
    border: 1px solid var(--border-luxury);
    border-radius: 12px !important;
    padding: 20px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

.faq-accordion-btn:not(.collapsed) {
    background-color: var(--gold-light);
    color: var(--gold);
    border-color: var(--gold);
}

/* Cookie Notice */
.cookie-notice-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    border: 1px solid var(--border-luxury);
    padding: 20px;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
