:root {
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-dark: #b45309;
    --bg-color: #fdfbf7;
    --text-dark: #2d2a26;
    --text-muted: #5c5955;
    --white: #ffffff;
    --border-color: #eaddcf;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif-font {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 12, 0.45);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 197, 107, 0.25);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(15, 15, 12, 0.85);
    padding: 8px 5%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar .logo img {
    height: 48px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.4s ease;
}

.navbar .logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: #fdfbf7;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #e6c56b;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #e6c56b;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-action {
    display: flex;
    align-items: center;
}

.btn-booking {
    position: relative;
    overflow: hidden;
    border: 1px solid #e6c56b;
    padding: 8px 22px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 3px;
    color: #e6c56b !important;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth) !important;
}

.btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.btn-booking:hover::before {
    left: 100%;
}

.btn-booking:hover {
    background-color: #e6c56b !important;
    color: #1a1917 !important;
    box-shadow: 0 4px 20px rgba(230, 197, 107, 0.5);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 60px 20px;
    background-image: linear-gradient(rgba(10, 10, 8, 0.65), rgba(10, 10, 8, 0.75)), url('images/Garden.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.hero-logo {
    max-width: 160px;
    margin-bottom: 20px;
    filter: drop-shadow(0px 8px 20px rgba(0,0,0,0.6));
    animation: floatIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
    font-size: 4rem;
    color: #e6c56b;
    margin-bottom: 0px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Cinzel', serif;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.6);
    font-weight: 700;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #e6c56b;
    margin: 18px 0;
    font-size: 1.2rem;
    animation: expandWidth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-divider span {
    display: block;
    width: 90px;
    height: 1px;
    background-color: #e6c56b;
    opacity: 0.8;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #e6c56b;
    letter-spacing: 4px;
    font-weight: 500;
    margin: 5px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.hero-tags {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #fdfbf7;
    letter-spacing: 6px;
    font-weight: 400;
    margin-bottom: 40px;
    margin-top: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

.btn-hero {
    position: relative;
    overflow: hidden;
    background-color: #d1a554;
    color: #1a1917 !important;
    padding: 16px 40px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-family: 'Montserrat', sans-serif;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    background-color: #e6c56b;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(230, 197, 107, 0.4);
}

@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
}

/* Sections */
section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--gold-dark);
    margin-bottom: 15px;
}

.section-header .divider {
    height: 2px;
    width: 80px;
    background-color: var(--gold);
    margin: 0 auto;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active .section-header .divider {
    width: 120px;
}

.section-header p {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Philosophy */
.philosophy {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy-text {
    max-width: 800px;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 2;
}

/* Facilities */
.facilities {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.gallery-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
    width: 100%;
}

.gallery-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.gallery-item:hover .gallery-image-wrapper::after {
    left: 150%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 25px;
    width: 100%;
}

.gallery-info h3 {
    font-size: 1.3rem;
    color: var(--gold-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-info h3 {
    color: var(--gold-light);
}

.gallery-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Wellness Menu */
.wellness-menu {
    background-color: var(--white);
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.menu-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.menu-container img:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(217, 119, 6, 0.12);
}

/* Collage Reference */
.collage-section {
    padding: 60px 8%;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collage-section img {
    max-width: 100%;
    border-radius: 8px;
    opacity: 0.85;
    transition: all 0.5s ease;
}

.collage-section img:hover {
    opacity: 1;
    transform: scale(1.01);
}

/* Booking Section */
.booking-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.booking-card {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    text-align: left;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

/* Image cursor */
.gallery-item img, 
.menu-container img, 
.collage-section img {
    cursor: pointer;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    user-select: none;
}

.lightbox-close:hover {
    color: #e6c56b;
    transform: rotate(90deg);
}

/* Footer */
footer {
    background-color: #27231e;
    color: #d8d3cd;
    padding: 80px 8% 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 1200px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    max-width: 250px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(10deg);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-col p, .footer-col a {
    color: #b5b0aa;
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: #8c8781;
}

/* Animations & Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.25s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.35s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.45s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.55s; }
.gallery-grid .gallery-item:nth-child(7) { transition-delay: 0.65s; }

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

@keyframes floatIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes expandWidth {
    from { opacity: 0; width: 0%; }
    to { opacity: 1; width: 100%; }
}