:root {
    --color-bg: #faf9f6;
    --color-dark: #0a0a0a;
    --color-gold: #c5a021;
    --color-gold-deep: #a6841a;
    --color-gold-light: #f4e4c1;
    --color-gold-gradient: linear-gradient(135deg, #c5a021 0%, #a6841a 100%);
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(197, 160, 33, 0);
    }

    50% {
        text-shadow: 0 0 20px rgba(197, 160, 33, 0.5);
    }
}

@keyframes slideBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 33, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 33, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 33, 0);
    }
}

@keyframes text-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

.stagger-1 {
    transition-delay: 100ms !important;
}

.stagger-2 {
    transition-delay: 200ms !important;
}

.stagger-3 {
    transition-delay: 300ms !important;
}

.stagger-4 {
    transition-delay: 400ms !important;
}

.stagger-5 {
    transition-delay: 500ms !important;
}

/* Package Menu Styles */
.pkg-tab {
    background: #f8fafc;
    color: #64748b;
}

.pkg-tab.active {
    background: var(--color-dark);
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diet-btn.active {
    background: white !important;
    border-color: var(--color-gold) !important;
    color: var(--color-dark) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.diet-btn:hover:not(.active) {
    transform: translateX(10px);
}

.menu-card-mini {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.menu-card-mini:hover {
    background: white;
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(197, 160, 33, 0.08);
    transform: translateY(-8px) scale(1.02);
}

.gold-shimmer {
    background: linear-gradient(90deg, #c5a021, #f4e4c1, #c5a021);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Typography Refinements */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

.gold-text {
    color: var(--color-gold);
}

.premium-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.premium-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 2px;
}

/* Sticky Premium Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

header.scrolled {
    height: 70px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
    transform: scale(1.1);
}

.hero-slider-img.active {
    opacity: 1;
    z-index: 1;
    animation: kenBurns 10s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
    transform: translateY(30px);
}

#about-parallax-img {
    will-change: transform;
}

/* Animation Engine Pro */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: opacity 1.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active,
.reveal-blur.active {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* Premium Cards */
.card-service {
    background: var(--color-dark);
    border-radius: 24px;
    padding: 4rem 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    color: white;
}

.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.5) 0%, rgba(18, 18, 18, 0.9) 100%);
    z-index: 1;
}

.card-service:hover .service-bg {
    transform: scale(1.15);
}

.card-service:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--color-gold);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: pulse-gold 2s infinite;
}

.card-service>* {
    position: relative;
    z-index: 2;
}

.card-service p {
    color: rgba(255, 255, 255, 0.8);
}

/* Menu Item Hover */
.menu-item {
    transition: var(--transition);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid transparent;
}

.menu-item:hover {
    background: rgba(197, 160, 33, 0.03);
    border-color: rgba(197, 160, 33, 0.1);
    transform: scale(1.02);
}

/* Gallery Hover */
.gallery-img {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    position: relative;
    cursor: pointer;
}

.gallery-img img,
.gallery-img video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(222, 208, 160, 0.9);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: rgb(42, 41, 41);
    text-align: center;
    padding: 20px;
}

.gallery-img:hover img,
.gallery-img:hover video {
    transform: scale(1.1);
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.gallery-img.playing:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.play-indicator {
    pointer-events: none;
}

/* Gallery Filter Tabs */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 2rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.tab-button.active,
.tab-button:hover {
    background: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
    box-shadow: 0 10px 20px rgba(197, 160, 33, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    transition: all 0.5s ease;
    animation: fadeIn 0.5s ease backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Carousel Navigation */
.carousel-nav {
    margin-top: 4rem;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border: 2px solid rgba(197, 160, 33, 0.3);
    background: white;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 33, 0.4);
    transform: scale(1.1);
}

/* Modern Contact Form Styling */
.form-input-group {
    position: relative;
    transition: var(--transition);
}

.form-input-group i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    font-size: 1rem;
}

.form-input-group input:focus~i,
.form-input-group select:focus~i,
.form-input-group textarea:focus~i {
    color: var(--color-gold);
}

.premium-input {
    width: 100%;
    padding: 0.75rem 0 0.75rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    transition: var(--transition);
    outline: none;
}

.premium-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 33, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.premium-input::placeholder {
    color: #6b7280;
    /* Unified muted color (gray-500 equivalent) */
    font-weight: 500;
}

/* Style for selects when the default/placeholder option is selected */
select.premium-input:invalid,
select.premium-input option[value=""][disabled] {
    color: #6b7280 !important;
}

/* Ensure text becomes white once a selection is made */
select.premium-input:not(:invalid),
input[type="date"].premium-input:not(:placeholder-shown),
input[type="date"].premium-input:focus,
input[type="date"].premium-input:valid {
    color: white;
}

/* Specific fix for date input placeholder color */
input[type="date"].premium-input {
    color: #6b7280;
}

/* Target browser-native date picker icon and internal text */
input[type="date"].premium-input::-webkit-calendar-picker-indicator {
    filter: invert(0.5) sepia(0) saturate(0) brightness(1);
    /* Mutes the white/black icon to gray */
    cursor: pointer;
    transition: var(--transition);
}

input[type="date"].premium-input:focus::-webkit-calendar-picker-indicator,
input[type="date"].premium-input:valid::-webkit-calendar-picker-indicator {
    filter: invert(1);
    /* Makes the icon bright white when active/filled */
}

/* Internal text styling for date inputs */
input[type="date"].premium-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"].premium-input::-webkit-datetime-edit-text,
input[type="date"].premium-input::-webkit-datetime-edit-month-field,
input[type="date"].premium-input::-webkit-datetime-edit-day-field,
input[type="date"].premium-input::-webkit-datetime-edit-year-field {
    color: inherit;
}

.contact-card-glass {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.btn-premium {
    position: relative;
    overflow: hidden;
    background: var(--color-gold-gradient);
    color: white !important;
    border: none !important;
    transition: var(--transition);
    z-index: 1;
}

.bg-gold-gradient {
    background: var(--color-gold-gradient);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(197, 160, 33, 0.4);
    filter: brightness(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}

/* Hide Scrollbar for Horizontal Scrollers */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Back to Top Premium Style */
.back-to-top-premium {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 60px;
    height: 60px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.back-to-top-premium.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-premium:hover {
    background: var(--color-gold);
    color: #121212;
    transform: translateY(-5px) scale(1.05);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(197, 160, 33, 0.3);
}

.back-to-top-premium svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.back-to-top-premium:hover svg {
    transform: translateY(-2px);
}