/* Responsive */
@media (max-width: 1400px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .cursor {
        height: 42px;
    }
    
    .booking-form-horizontal {
        grid-template-columns: repeat(3, 1fr) auto;
    }
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 42px;
    }
    
    .cursor {
        height: 38px;
    }
    
    .premium-rooms-grid,
    .experiences-grid,
    .testimonials-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-form-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .booking-form-horizontal button {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .cursor {
        height: 32px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-booking-widget {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .rates-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .luxury-nav {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--deep-charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        padding: 40px 20px;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-item {
        font-size: 18px;
        text-align: center;
        padding: 15px 0;
    }

    .nav-reserve {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        z-index: 1000;
    }

    .nav-login {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 32px;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .cursor {
        height: 32px;
        margin-left: 5px;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 11px;
        margin-bottom: 20px;
    }

    .hero-subtitle .line {
        width: 40px;
    }

    .mobile-hero-logo {
        display: block;
    }

    .hero-stars {
        gap: 6px;
    }

    .hero-text p {
        display: block;
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
        padding: 0 10px;
    }

    .desktop-typing-text,
    .desktop-cursor {
        display: none;
    }

    .hero-cta-group {
        display: none;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 12px;
        border-radius: 6px;
    }

    .hero-booking-widget {
        display: none;
    }

    .hero-booking-widget h3 {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .booking-form-vertical {
        gap: 15px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 14px 16px;
        font-size: 14px;
    }

    .form-group select option {
        font-size: 14px;
        padding: 12px;
    }

    .booking-submit {
        padding: 16px;
        font-size: 13px;
    }

    .premium-rooms-grid,
    .experiences-grid,
    .testimonials-carousel,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-wrapper {
        padding: 80px 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .section-intro h2 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .section-intro p {
        font-size: 15px;
        padding: 0 10px;
        line-height: 1.7;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .premium-rooms-grid,
    .experiences-grid,
    .testimonials-carousel,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rates-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rates-table {
        padding: 20px;
        overflow-x: auto;
        border-radius: 8px;
    }

    .rates-table table {
        min-width: 300px;
    }

    .rates-table th,
    .rates-table td {
        padding: 12px 10px;
        font-size: 12px;
        word-wrap: break-word;
    }

    .rates-table th:first-child,
    .rates-table td:first-child {
        max-width: 150px;
    }

    .info-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .info-section li {
        font-size: 13px;
        padding: 10px 0;
        line-height: 1.6;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .falling-leaves {
        display: none;
    }

    /* Mobile Modal Improvements */
    .booking-modal-content {
        padding: 25px 20px;
        max-width: 90%;
        margin: 20px;
    }

    .booking-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-right: 30px;
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
    }

    /* Card improvements on mobile */
    .card-image-wrapper {
        height: 280px;
    }

    .card-content {
        padding: 25px 20px;
    }

    .card-header h3 {
        font-size: 20px;
    }

    .card-content > p {
        font-size: 14px;
    }

    .experience-image {
        height: 220px;
    }

    .experience-content {
        padding: 25px 20px 20px;
    }

    .experience-content h3 {
        font-size: 18px;
    }

    .experience-content p {
        font-size: 14px;
    }

    /* Premium testimonial improvements */
    .premium-testimonial {
        padding: 30px 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    /* Why choose improvements */
    .why-choose-item {
        padding: 30px 20px;
    }

    .why-choose-item h4 {
        font-size: 18px;
    }

    .why-choose-item p {
        font-size: 13px;
    }
}

/* ==================== MOBILE PREMIUM LUXURY DESIGN ==================== */
@media (max-width: 768px) {
    /* Disable specific animations on mobile to prevent flickering */
    .animate-reveal,
    .animate-fade-up,
    .animate-card-reveal,
    .animate-experience-reveal {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    /* Allow spinner animation on mobile */
    .loading-screen .spinner-outer {
        animation: spin 1.5s linear infinite !important;
    }

    .loading-screen .spinner-inner {
        animation: spin 1s linear infinite reverse !important;
    }

    /* Mobile Navigation */
    .luxury-nav {
        padding: 16px 20px;
        background: rgba(26, 26, 26, 0.8);
        backdrop-filter: blur(20px);
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-brand {
        gap: 10px;
    }

    .nav-logo {
        height: 32px;
    }

    .nav-divider {
        display: none;
    }

    .nav-text {
        font-size: 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--deep-charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        padding: 40px 20px;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-hamburger {
        display: none;
    }

    .nav-login {
        padding: 8px 12px;
        font-size: 11px;
    }

    .nav-item {
        font-size: 18px;
        text-align: center;
        padding: 15px 0;
    }

    /* Mobile Hero Section - Full screen height */
    .premium-hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 24px;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 2px;
        justify-content: center;
    }

    .hero-subtitle .line {
        width: 40px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
        text-align: center;
    }

    .script-accent {
        font-size: 38px;
        color: var(--warm-gold);
        font-style: italic;
        text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
        letter-spacing: 1px;
    }

    .script-accent-image {
        height: clamp(50px, 15vw, 80px);
        width: auto;
        display: block;
        margin: 10px auto 0;
    }

    .cursor {
        height: 36px;
        width: 2px;
        margin-left: 4px;
    }

    .hero-text p {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 12px;
        border-radius: 6px;
    }

    /* Mobile Booking Widget - Show as modal instead */
    .hero-booking-widget {
        display: none;
    }

    .booking-section {
        display: none;
    }

    /* Mobile Booking Modal */
    .booking-modal-content {
        padding: 25px 20px;
        max-width: 90%;
        margin: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }

    .booking-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-right: 30px;
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
    }

    /* Mobile Scroll Indicator */
    .hero-scroll-indicator {
        display: none;
    }

    /* Mobile Falling Leaves */
    .falling-leaves {
        display: none;
    }

    /* Mobile Section Wrapper */
    .section-wrapper {
        padding: 60px 24px;
    }

    /* First section after hero should have less top padding */
    .section-wrapper:first-of-type {
        padding-top: 40px;
    }

    .section-intro {
        margin-bottom: 32px;
        text-align: center;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .section-intro h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .section-intro p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 0;
        padding: 0 10px;
    }

    /* Mobile Experience Cards - Horizontally Scrollable */
    .experiences-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .experiences-grid::-webkit-scrollbar {
        display: none;
    }

    .experience-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
        border-radius: 24px;
        overflow: hidden;
    }

    .experience-image {
        height: 200px;
    }

    .experience-icon {
        width: 40px;
        height: 40px;
        bottom: -15px;
        right: 20px;
    }

    .experience-content {
        padding: 28px 24px 24px;
    }

    .experience-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .experience-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .experience-link {
        font-size: 11px;
    }

    /* Mobile Statistics Section */
    .why-choose-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .why-choose-item {
        background: rgba(248, 246, 242, 0.03);
        border: 1px solid rgba(248, 246, 242, 0.08);
        border-radius: 20px;
        padding: 24px 20px;
        text-align: center;
    }

    .why-choose-icon {
        width: 48px;
        height: 48px;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
    }

    .why-choose-item h4 {
        font-family: 'Playfair Display', serif;
        font-size: 16px;
        margin-bottom: 8px;
        color: var(--ivory-white);
    }

    .why-choose-item p {
        font-size: 12px;
        line-height: 1.5;
        color: rgba(248, 246, 242, 0.6);
    }

    /* Mobile Premium Rooms */
    .premium-rooms-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .premium-rooms-grid::-webkit-scrollbar {
        display: none;
    }

    .premium-room-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: start;
        border-radius: 24px;
        overflow: hidden;
    }

    .card-image-wrapper {
        height: 280px;
    }

    .card-price-tag {
        top: 20px;
        right: 20px;
        padding: 10px 16px;
        border-radius: 12px;
    }

    .card-price-tag .price {
        font-size: 20px;
    }

    .card-price-tag .period {
        font-size: 9px;
    }

    .card-view-badge {
        bottom: 20px;
        left: 20px;
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 10px;
    }

    .card-content {
        padding: 28px 24px;
    }

    .card-header h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .room-size {
        font-size: 12px;
    }

    .card-content > p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .card-features {
        gap: 10px;
        margin-bottom: 24px;
    }

    .feature-item {
        font-size: 11px;
    }

    .card-reserve-btn {
        padding: 14px;
        font-size: 11px;
        border-radius: 12px;
    }

    /* Mobile Featured Room Section */
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 320px;
        scroll-snap-align: start;
        border-radius: 24px;
        overflow: hidden;
        height: 400px;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 24px;
        background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
    }

    .gallery-overlay span {
        font-family: 'Playfair Display', serif;
        font-size: 18px;
        color: var(--ivory-white);
    }

    /* Mobile Testimonials - Glassmorphism */
    .testimonials-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials-carousel::-webkit-scrollbar {
        display: none;
    }

    .premium-testimonial {
        flex: 0 0 300px;
        scroll-snap-align: start;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 32px 24px;
    }

    .testimonial-quote {
        margin-bottom: 20px;
        opacity: 0.3;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px;
        color: var(--ivory-white);
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .testimonial-author img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
    }

    .author-info h4 {
        font-family: 'Playfair Display', serif;
        font-size: 16px;
        margin-bottom: 4px;
        color: var(--ivory-white);
    }

    .author-info span {
        font-size: 12px;
        color: rgba(248, 246, 242, 0.5);
    }

    .testimonial-stars {
        display: flex;
        gap: 4px;
        margin-top: 8px;
    }

    /* Mobile Bottom Sticky Booking CTA */
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        padding: 16px 24px;
        z-index: 998;
        gap: 12px;
    }

    .mobile-sticky-cta .cta-primary {
        flex: 1;
        padding: 16px;
        font-size: 13px;
        justify-content: center;
    }

    .mobile-sticky-cta .cta-secondary {
        flex: 1;
        padding: 16px;
        font-size: 13px;
        justify-content: center;
    }

    /* Add padding to body for sticky CTA */
    body {
        padding-bottom: 80px;
    }

    /* Mobile Room Rates Table */
    .rates-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .rates-table table {
        min-width: 100%;
        width: 100%;
    }

    .rates-table th,
    .rates-table td {
        padding: 16px 12px;
        font-size: 13px;
    }

    /* Hide Complimentary and Rates headers on mobile */
    .rates-table th:nth-child(2),
    .rates-table th:nth-child(3) {
        display: none;
    }

    /* Hide Complimentary and Rates cells on mobile */
    .rates-table td:nth-child(2),
    .rates-table td:nth-child(3) {
        display: none;
    }

    /* Hide desktop-only columns on mobile */
    .desktop-only {
        display: none;
    }

    /* Show mobile-only chevron on mobile */
    .mobile-only {
        display: table-cell;
        text-align: right;
        width: 40px;
    }

    /* Clickable row styling */
    .clickable-row {
        cursor: pointer;
    }

    .clickable-row:hover {
        background: rgba(212, 175, 55, 0.2);
    }

    /* Nested row styling */
    .nested-row {
        background: rgba(212, 175, 55, 0.1);
        display: table-row !important;
    }

    .nested-content {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nested-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nested-item:last-child {
        border-bottom: none;
    }

    .nested-label {
        font-weight: 600;
        color: var(--warm-gold);
    }

    .nested-value {
        color: var(--ivory-white);
    }

    /* Hide desktop-only elements on mobile */
    .hero-scroll-indicator,
    .falling-leaves {
        display: none;
    }

    /* Increase section heights to occupy full screen on mobile */
    .premium-rooms {
        padding: 0;
        min-height: 100vh;
    }

    .premium-rooms > .section-wrapper {
        padding: 60px 24px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .experiences-section {
        padding: 0;
        min-height: 100vh;
    }

    .experiences-section > .section-wrapper {
        padding: 60px 24px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .why-choose-section {
        padding: 0;
        min-height: 100vh;
    }

    .why-choose-section > .section-wrapper {
        padding: 60px 24px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gallery-section {
        padding: 0;
        min-height: 100vh;
    }

    .gallery-section > .section-wrapper {
        padding: 60px 24px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .premium-testimonials {
        padding: 0;
        min-height: 100vh;
    }

    .premium-testimonials > .section-wrapper {
        padding: 60px 24px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Rolling Stats Section - Mobile Only */
    .rolling-stats-section {
        padding: 0;
        min-height: 50vh;
        background: var(--deep-charcoal);
    }

    .rolling-stats-section > .section-wrapper {
        padding: 40px 24px;
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* AI Chat Widget - Mobile */
    .ai-chat-widget {
        width: 90vw;
        max-width: 350px;
        height: 60vh;
        bottom: 100px;
        top: 32%;
        right: 20px;
    }

    .ai-chat-toggle {
        top: 83%;
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 56px;
        height: 56px;
    }
}
