/* =====================================================
   CU Foods and Drinks — Ultra Premium Custom Styles
   ===================================================== */

:root {
    --gold-light: #F2D0A4;
    --gold: #C9956B;
    --gold-dark: #A5724B;
    --bg-dark: #1A1210;
    --bg-light: #FAF3E8;
    --text-main: #332118;
    --text-muted: #6B5540;
}

/* 1. Custom Scrollbar for Premium Feel */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); 
    border-radius: 6px; 
    border: 3px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); }

/* 2. Base Typography & Core Classes */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-padding { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .section-padding { padding-top: 10rem; padding-bottom: 10rem; } }

.container-narrow { 
    max-width: 1200px; 
    margin-left: auto; 
    margin-right: auto; 
    padding-left: 2rem; 
    padding-right: 2rem; 
}

.heading-xl { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1.1; 
    letter-spacing: -0.03em; 
    text-transform: uppercase;
}
@media (min-width: 768px) { .heading-xl { font-size: 5rem; } }
@media (min-width: 1024px) { .heading-xl { font-size: 6.5rem; } }

.heading-lg { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 2.5rem; 
    font-weight: 700; 
    line-height: 1.2; 
    letter-spacing: -0.02em; 
}
@media (min-width: 1024px) { .heading-lg { font-size: 3.5rem; } }

.body-lg { 
    font-size: 1.125rem; 
    line-height: 1.9; 
    color: var(--text-muted); 
    font-weight: 400; 
    letter-spacing: 0.01em;
}

.section-label { 
    display: inline-block; 
    font-size: 0.9rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.2em; 
    color: var(--gold); 
    margin-bottom: 1.5rem; 
    position: relative;
    padding-left: 3.5rem;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.5rem;
    height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}

.divider { 
    width: 6rem; 
    height: 4px; 
    background: linear-gradient(90deg, var(--gold), transparent); 
    border-radius: 2px; 
    margin-top: 2rem; 
    margin-bottom: 2rem; 
}

/* 3. Premium Buttons */
.btn-primary { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem;
    background: linear-gradient(135deg, #C9956B 0%, #8B5A33 100%);
    color: white !important; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.2rem 3rem; 
    border-radius: 50px; 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 30px -10px rgba(201, 149, 107, 0.6);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, #E6B894 0%, #A5724B 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 40px -10px rgba(201, 149, 107, 0.8);
}
.btn-primary:hover::before {
    opacity: 1;
}
.btn-primary::after {
    content: ''; 
    position: absolute; 
    top: 0; left: -100%; 
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.btn-primary:hover::after { left: 150%; }

.btn-secondary {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem;
    background: transparent; 
    color: white !important; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.1rem 2.8rem; 
    border-radius: 50px; 
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: white; 
    color: var(--text-main) !important;
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(255, 255, 255, 0.4);
}

/* 4. Animations */
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(50px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes fadeInDown { 
    from { opacity: 0; transform: translateY(-50px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in-up { opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-down { opacity: 0; animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Header & Navigation */
.nav-link {
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover {
    color: white;
}
.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#site-header.header-scrolled {
    background-color: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(240, 228, 208, 0.5);
}

/* 6. Premium Glassmorphism & Card Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
}
.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

/* 7. Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.img-hover-zoom img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-hover-zoom:hover img {
    transform: scale(1.1);
}
.img-hover-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    opacity: 0.3;
    transition: opacity 0.5s ease;
}
.img-hover-zoom:hover::after {
    opacity: 0.1;
}

/* Enhancing existing grid items directly through CSS */
#menu .bg-white, .rooms-list .bg-white {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(201, 149, 107, 0.2);
    border-radius: 20px;
    overflow: hidden;
}
#menu .bg-white:hover, .rooms-list .bg-white:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(201, 149, 107, 0.25);
    border-color: var(--gold);
}

/* Input Fields Focus Effect */
input, textarea {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
}
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(201, 149, 107, 0.2);
    border-color: var(--gold);
    outline: none;
}

/* Hero Section Enhancements */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 149, 107, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E6B894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
