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

:root {
    --black: #0a0a0a;
    --gold: #d4af37;
    --cream: #f5f5dc;
    --dark-cream: #e8e4d0;
    --light-gold: #e6c95a;
    --gray: #333333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--gray);
    background-color: var(--cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   SCROLL ANIMATIONS FOR HEADINGS & NAVBAR
======================================== */

/* REPLACE your existing .navbar and .navbar.scrolled CSS with this: */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(0);
}

/* Navbar hides when scrolling down, shows when scrolling up */
.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.visible {
    transform: translateY(0);
    animation: slideDownSmooth 0.3s ease;
}

@keyframes slideDownSmooth {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Navigation Logo Animation */
.nav-logo {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation Menu Items Animation */
.nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.4s; }
.nav-menu li:nth-child(2) { animation-delay: 0.5s; }
.nav-menu li:nth-child(3) { animation-delay: 0.6s; }
.nav-menu li:nth-child(4) { animation-delay: 0.7s; }
.nav-menu li:nth-child(5) { animation-delay: 0.8s; }
.nav-menu li:nth-child(6) { animation-delay: 0.9s; }
.nav-menu li:nth-child(7) { animation-delay: 1s; }

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger Menu Animation */
.hamburger {
    opacity: 0;
    transform: scale(0);
    animation: scaleIn 0.5s ease 1.1s forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Section Titles Animation - Works with existing class */
.section-title {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Title Underline Animation */
.title-underline {
    width: 0 !important;
    transition: width 1s ease 0.4s;
}

.title-underline.visible {
    width: 80px !important;
}

/* Hero Title Animation */
.hero-title {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Footer Logo Animation */
.footer-logo {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Responsive: Reset animations for mobile menu */
@media (max-width: 768px) {
    .nav-menu.active li {
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInMobile 0.4s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.4s; }
    
    @keyframes slideInMobile {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.5)),
                url('https://images.pexels.com/photos/941861/pexels-photo-941861.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 40px;
    font-style: italic;
    letter-spacing: 2px;
}

.cta-button {
    padding: 18px 45px;
    font-size: 1.1rem;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    will-change: transform, box-shadow;
    /* subtle pulsing glow */
    animation: cta-pulse 4s ease-in-out infinite;
}

.cta-button:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    /* pause pulse so hover effect feels crisp */
    animation: none;
}

/* Keyframes for CTA pulsing glow */
@keyframes cta-pulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.28);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(212, 175, 55, 0.45);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.28);
    }
}

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

.fade-in {
    animation: fadeInUp 1s ease;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* ========================================
   SCROLL ANIMATIONS FOR HEADINGS
======================================== */

/* Section Titles Animation - Works with existing class */
.section-title {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Title Underline Animation */
.title-underline {
    width: 0 !important;
    transition: width 1s ease 0.4s;
}

.title-underline.visible {
    width: 80px !important;
}

/* Hero Title Animation */
.hero-title {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Footer Logo Animation */
.footer-logo {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    margin: 0 auto 60px;
}

.about-section {
    background-color: var(--white);
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.menu-section {
    background-color: var(--cream);
}

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

.menu-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.menu-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.menu-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item:hover .menu-image-wrapper img {
    transform: scale(1.1);
}

.menu-item h3 {
    padding: 20px 25px 10px;
    font-size: 1.5rem;
    color: var(--black);
}

.menu-item p {
    padding: 0 25px;
    color: var(--gray);
    margin-bottom: 15px;
}

.price {
    display: block;
    padding: 0 25px 25px;
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
}

.rooms-section {
    background-color: var(--white);
}

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

.room-card {
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.room-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.room-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.room-card:hover .room-image-wrapper img {
    transform: scale(1.1);
}

.room-content {
    padding: 30px;
}

.room-content h3 {
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 15px;
}

.room-content p {
    color: var(--gray);
    margin-bottom: 25px;
}

.room-button {
    padding: 12px 30px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.room-button:hover {
    background-color: var(--light-gold);
    transform: translateX(5px);
}

.gallery-section {
    background-color: var(--black);
}

.gallery-section .section-title {
    color: var(--gold);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    position: relative;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.2);
}
/* Updated Testimonials Section */
.testimonials-section {
    background-color: var(--cream);
    overflow: hidden;
}
/* Updated Testimonials Section */
.testimonials-section {
    background-color: var(--cream);
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin: 0 -20px;
}

.testimonials-carousel-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    width: fit-content;
}

.testimonials-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card-scroll {
    min-width: 320px;
    max-width: 320px;
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonial-card-scroll:hover::before {
    left: 100%;
}

.testimonial-card-scroll:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.testimonial-card-scroll .stars {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 25px;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.testimonial-card-scroll .testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-card-scroll .testimonial-author {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 8px;
    font-weight: 600;
}

.testimonial-card-scroll .testimonial-location {
    color: var(--gold);
    font-size: 0.95rem;
}

/* Remove old testimonial carousel styles */
.testimonials-carousel,
.testimonial-track,
.carousel-dots,
.carousel-dot {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card-scroll {
        min-width: 300px;
        max-width: 300px;
        padding: 30px 20px;
    }
    
    .testimonials-carousel-track {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .testimonial-card-scroll {
        min-width: 260px;
        max-width: 260px;
        padding: 25px 18px;
    }
    
    .testimonial-card-scroll .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-card-scroll .stars {
        font-size: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card-scroll {
        min-width: 350px;
        padding: 35px 25px;
    }
    
    .testimonials-carousel-track {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .testimonial-card-scroll {
        min-width: 280px;
        padding: 30px 20px;
    }
    
    .testimonial-card-scroll .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-card-scroll .stars {
        font-size: 1.5rem;
    }
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--dark-cream);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--gold);
    transform: scale(1.3);
}

.contact-section {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--dark-cream);
    background-color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray);
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: var(--white);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--gold);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.submit-button:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.info-item h3 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--gray);
    font-size: 1rem;
}

.footer {
    background-color: var(--black);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray);
    color: var(--gold);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
}

.footer-bottom p {
    color: var(--cream);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 40px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

#signin-container, #login-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

button {
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #1e40af;
}

input {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

.hidden {
    display: none;
}