/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body  > *:not(#avyott-widget){
    display: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#avyott-widget #avyott-close-button {
  display: none !important;
}

#avyott-chat-window {
   display: flex !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  width: 100dvw !important;
  height: 100vh !important;
  height: 100dvh !important; /* Dynamic viewport height for mobile */
  border-radius: 0 !important;
  max-height: none !important;
  /* iOS Safari specific fixes */
  min-height: 100vh !important;
  min-height: -webkit-fill-available !important;
}

#avyott-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important; /* Critical for flex child scrolling */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important; 
}

#avyott-chat-window > div:last-child {
  flex-shrink: 0 !important; /* Prevent input from shrinking */
}



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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-link:hover {
    color: #d4af37;
}

.booking-btn {
    background: #d4af37;
    color: #000 !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.booking-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
    color: white;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(212, 175, 55, 0.05) 100%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    width: 50%;
    max-width: 600px;
    margin-right: 50px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(45deg, #d4af37, #f4e4bc, #d4af37);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    letter-spacing: -0.02em;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    color: #e8e8e8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #b8941f 0%, #e6d7a3 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.hero-image {
    flex: 1;
    width: 50%;
    text-align: center;
    height: 600px;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.hero-image img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

/* Rooms Section */
.rooms {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.rooms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.rooms h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.rooms h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4e4bc);
    border-radius: 2px;
}

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

.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.room-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.room-card:hover::before {
    opacity: 1;
}

.room-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.02) contrast(1.05);
}

.room-card img:hover {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
}

.room-info {
    padding: 35px;
    position: relative;
    z-index: 2;
}

.room-info h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.room-info p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    font-weight: 400;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.room-features span {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.room-features span:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.room-features i {
    margin-right: 6px;
    color: #d4af37;
    font-size: 0.95rem;
}

.room-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    text-align: right;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Amenities Section */
.amenities {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.amenities h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.amenities h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4e4bc);
    border-radius: 2px;
}

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

.amenity-item {
    text-align: center;
    padding: 50px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.amenity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.amenity-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.amenity-item:hover::before {
    opacity: 1;
}

.amenity-item i {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.amenity-item:hover i {
    transform: scale(1.1);
    color: #b8941f;
}

.amenity-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 4px solid #d4af37;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    filter: brightness(1.05) contrast(1.1);
}

.amenity-image:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1) contrast(1.15);
}

.amenity-item h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.amenity-item p {
    color: #555;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Restaurant Section */
.restaurant {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.restaurant h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.restaurant h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4e4bc);
    border-radius: 2px;
}

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

.restaurant-info h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.restaurant-info p {
    color: #555;
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.1rem;
}

.menu-highlights h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.menu-highlights ul {
    list-style: none;
}

.menu-highlights li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-highlights li:hover {
    color: #d4af37;
    padding-left: 10px;
}

.restaurant-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1);
}

.restaurant-image img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1) contrast(1.15);
}

/* Booking Section */
.booking {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.booking h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #d4af37;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    background: #d4af37;
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #d4af37;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

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

.contact-form input,
.contact-form textarea {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d4af37;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4af37;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #d4af37;
    color: #000;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #b8941f;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

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

    .nav-item {
        margin: 10px 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #avyott-chat-window {
    height: 100vh !important;
    height: 100dvh !important; /* Use dynamic viewport height */
    min-height: -webkit-fill-available !important; /* iOS Safari fix */
  }
   #avyott-messages {
    padding: 15px !important;
    padding-bottom: 10px !important;
  }

    #avyott-chat-window > div:last-child {
    padding: 15px !important;
    padding-bottom: max(15px, env(safe-area-inset-bottom)) !important; /* iOS notch/home indicator */
    background: white;
    border-top: 1px solid #e9ecef;
  }

   #avyott-messages {
    padding: 15px !important;
    padding-bottom: 10px !important;
  }
   #avyott-message-input {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
  
  /* Make input area more prominent on mobile */
  /* #avyott-chat-window > div:last-child {
    padding: 15px !important;
    background: white;
    border-top: 1px solid #e9ecef;
  } */
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .rooms h2,
    .amenities h2,
    .restaurant h2,
    .booking h2,
    .contact h2 {
        font-size: 2rem;
    }

    .booking-form,
    .contact-form {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Fallback Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    background: #f0f0f0;
    border: 1px solid #ddd;
}

img[src=""], img:not([src]) {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    min-height: 200px;
}

img[src=""]:before, img:not([src]):before {
    content: "Image Not Found";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

