/* ================================
   Modern Cozy Nest Guesthouse Styles
   ================================ */

/* Fonts are loaded from HTML <link> tags (preconnect + display=swap) to avoid duplicate requests and reduce flash-of-unstyled text */

:root {
    --primary-color: #d4913b;
    --secondary-color: #8b4513;
    --accent-color: #e2620d;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background-light: #fafafa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d4913b 0%, #e2620d 100%);
    --gradient-secondary: linear-gradient(135deg, #8b4513 0%, #d4913b 100%);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Header font stack used across header/topbar/nav/logo */
    --header-font: 'Dancing Script', 'Great Vibes', 'Poppins', cursive, sans-serif;
}

/* Ensure sections are visible by default */
section {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Skip to content link - hidden by default, shown on focus for accessibility */
.skip-to-content {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10001;
    transition: all 0.3s ease;
}

.skip-to-content:focus {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Rooms section must always be visible */
#rooms,
#rooms .rooms-grid,
#rooms .room-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

#rooms .rooms-grid {
    display: grid !important;
}

#rooms .room-card {
    display: flex !important;
    flex-direction: column !important;
}

/* Critical sections must always be visible */
.trust-indicators,
.quick-booking,
#quick-booking {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0) !important;
}

/* ================================
   Loading Screen Styles
   ================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
    animation: autoHide 5s forwards; /* Auto-hide after 5 seconds */
}

@keyframes autoHide {
    0%, 80% { 
        opacity: 1; 
        visibility: visible; 
    }
    100% { 
        opacity: 0; 
        visibility: hidden; 
        display: none; 
    }
}

.loading-content {
    text-align: center;
    max-width: 300px;
}

.loading-logo {
    height: 80px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

.loading-text {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 1rem 0;
    opacity: 0.8;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.loading-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* ================================
   Scroll Progress & Back to Top
   ================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ================================
   WhatsApp Float Button
   ================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* ================================
   Enhanced Hero Section
   ================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Ensure main tag doesn't interfere with hero section layout */
.hero-section main {
    height: 100%;
    width: 100%;
    position: relative;
}

/* Hero carousel must fill the entire section */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-inner {
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 100%;
}

.hero-image-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-text-animation {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title-line {
    display: block;
    font-size: 2.5rem;
    opacity: 0.9;
}

.hero-title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.9);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
}

/* ================================
   Enhanced CTA Buttons
   ================================ */

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
    text-decoration: none;
}

.btn-secondary-modern {
    background: rgba(255,255,255,0.9);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn-outline-modern:hover {
    background: white;
    color: var(--text-dark);
    text-decoration: none;
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary-modern:hover .btn-shine {
    left: 100%;
}

/* ================================
   Trust Indicators
   ================================ */

.trust-indicators {
    background: white;
    padding: 4rem 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.trust-content h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-content p {
    color: var(--text-light);
    font-weight: 500;
}

/* ================================
   Testimonials Section
   ================================ */

.testimonials-section {
    position: relative;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin: 0 1rem;
    display: none;
}

.testimonial-card:first-child {
    display: block;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.author-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info small {
    color: var(--text-light);
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-color);
}

/* ================================
   Map Section
   ================================ */

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.interactive-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.info-card h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card h4 i {
    color: var(--primary-color);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: var(--text-light);
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card strong {
    color: var(--text-dark);
}

/* ================================
   Quick Booking Section
   ================================ */

.quick-booking {
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
    padding: 4rem 0;
    position: relative;
}

.quick-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.booking-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-modern {
    padding: 1rem 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
    transform: translateY(-2px);
}

.form-control-modern:hover {
    border-color: var(--primary-color);
}

.btn-search {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.btn-search:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-search i {
    font-size: 1.1rem;
}

/* Responsive adjustments for booking form */
@media (max-width: 768px) {
    .booking-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .booking-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-control-modern {
        padding: 0.8rem 1rem;
    }
    
    .btn-search {
        padding: 0.8rem 1.5rem;
        margin-top: 1rem;
    }
}

/* Animation for form elements */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.btn-search { animation-delay: 0.5s; }

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

/* Style improvements for select dropdowns */
.form-control-modern option {
    padding: 0.5rem;
    color: var(--text-dark);
    background: white;
}

.form-control-modern:invalid {
    color: #999;
}

.form-control-modern option:first-child {
    color: #999;
}

/* Loading state for booking button */
.btn-search.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-search.loading i {
    animation: spin 1s linear infinite;
}

/* ================================
   Form Control Global Styles
   ================================ */

.form-group-full {
    grid-column: 1 / -1;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

/* ================================
   General Section Styles
   ================================ */

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-heading {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Animation keyframes */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
        transform: scale(1.02);
    }
}

/* ================================
   Contact Section Styles
   ================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

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

.form-group-full {
    margin-bottom: 1rem;
}

.form-group-full textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    margin: 0;
}

/* ================================
   Footer Styles
   ================================ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    font-size: 0.9rem; /* slightly smaller footer text */
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Force all footer text to be clearly white and high-contrast */
.footer, .footer * {
    color: #ffffff !important;
}

/* Footer links should be white normally, and highlight to primary color on hover */
.footer a {
    color: #ffffff !important;
    opacity: 0.95;
    text-decoration: none;
}
.footer a:hover, .footer a:focus {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    opacity: 1 !important;
}

/* Ensure small text and footer-bottom are visible */
.footer .footer-bottom, .footer small, .footer p {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

/* Social icons contrast fix inside footer */
.footer .social-link, .footer .social-links a {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-highlight {
        font-size: 3rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer { font-size: 0.82rem; }
}

/* ================================
   Enhanced Hero Carousel Images
   ================================ */

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    object-fit: cover;
    object-position: center center;
    transition: all 0.8s ease;
}

.hero-carousel .carousel-item.active img {
    transform: scale(1.02);
}

/* Better positioning for hero badges */
.hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 3;
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced carousel indicators */
.hero-carousel .carousel-indicators {
    bottom: 2rem;
    z-index: 4;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Enhanced carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: 4;
}

.hero-carousel .carousel-control-prev {
    left: 2rem;
}

.hero-carousel .carousel-control-next {
    right: 2rem;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-carousel .carousel-item img {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .hero-carousel .carousel-control-prev {
        left: 1rem;
    }
    
    .hero-carousel .carousel-control-next {
        right: 1rem;
    }
}

/* ================================
   Modern Header & Navigation Styles
   ================================ */

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

/* Apply the header font to header / nav / logo elements so it's consistent site-wide */
.modern-header,
.header-top,
.navbar-brand,
.nav-link,
.site-logo-text,
.header-contact,
.main-nav {
    font-family: var(--header-font) !important;
}

/* High-specificity fallback to override any page-scoped or inline header fonts.
   This targets header/nav/logo helpers and uses both ID and class selectors
   so it wins over typical per-page rules. Keep this near the header section
   and late in the stylesheet to ensure precedence. */
#site-header.modern-header, header.modern-header, .modern-header .navbar, .modern-header .main-nav, .modern-header .site-logo-text, .modern-header .nav-link, .site-logo-text, .main-nav .nav-link {
    font-family: var(--header-font) !important;
}

/* Header Top Bar */
.header-top {
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.header-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    opacity: 0.9;
}

.header-contact a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-1px);
}

.header-contact i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Main Navigation */
.main-nav {
    padding: 1rem 0;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    margin-right: 2rem;
    padding: 0;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    max-width: 150px;
    transition: var(--transition);
}

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

/* Navigation Links */
.navbar-nav {
    align-items: center;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
    position: relative;
    transition: var(--transition);
    text-transform: capitalize;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.98);
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(212, 145, 59, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(212, 145, 59, 0.2);
}

/* Book Now Button */
.btn-book-now {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    margin-left: 1rem;
}

.btn-book-now:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.btn-book-now i {
    font-size: 0.85rem;
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    position: relative;
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(212, 145, 59, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(212, 145, 59, 0.1);
}

/* Simple 3-line hamburger icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4913b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
}

/* Position Badge */
.position-relative .badge {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-contact {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .header-contact span {
        display: none;
    }
    
    .navbar-brand img {
        height: 35px;
        max-width: 120px;
    }
    
    /* Simple mobile menu styling */
    .navbar-collapse {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid #e9ecef;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 6px;
        transition: all 0.3s ease;
        color: var(--text-dark) !important;
        font-weight: 500;
        border-bottom: none !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-color);
        color: white !important;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .btn-book-now {
        margin: 1rem 0 0 0;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        background: var(--gradient-primary);
        color: white;
        text-decoration: none;
        font-weight: 600;
    }
    
    .btn-book-now:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 145, 59, 0.3);
    }
    
    /* Simple dropdown styling */
    .dropdown-menu {
        box-shadow: none;
        background: #f8f9fa;
        margin: 0.5rem 0;
        padding: 0.5rem;
        border-radius: 6px;
        border: none;
    }
    
    .dropdown-item {
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        margin: 0.25rem 0;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: var(--primary-color);
        color: white;
    }
}

@media (max-width: 768px) {
    .header-top {
        text-align: center;
        padding: 0.3rem 0;
    }
    
    .header-contact {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .navbar-brand img {
        height: 30px;
        max-width: 100px;
    }
    
    .main-nav {
        padding: 0.5rem 0;
    }
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 120px;
}

/* Add space for fixed header */
body {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    html {
        scroll-padding-top: 100px;
    }
}

/* ================================
   Rooms & Accommodation Section
   ================================ */

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

.room-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.room-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(212, 145, 59, 0.3);
}

.room-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.room-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.room-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.room-feature i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.btn-book-room {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-top: auto;
}

.btn-book-room:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 145, 59, 0.3);
}

.btn-view-more-rooms {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    border-radius: 2rem !important;
    padding: 0.75rem 2.5rem !important;
    box-shadow: 0 2px 12px rgba(255,152,0,0.10) !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-more-rooms:hover {
    background: var(--gradient-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 145, 59, 0.3) !important;
    color: var(--white) !important;
}

/* ================================
   Section Padding & Layout
   ================================ */

.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Rooms Section Specific Enhancements */
#rooms {
    position: relative;
    overflow: hidden;
}

#rooms {
    position: relative;
    overflow: hidden;
}

#rooms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 60%, #f3f7f0 100%);
    z-index: -1;
}

#rooms .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

#rooms .section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

#rooms .section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#rooms .section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Room Card Animation on Scroll - Progressive Enhancement */
.room-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Animation states - only used when JavaScript adds classes */
.room-card.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.room-card.will-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.room-card:nth-child(1) { transition-delay: 0.1s; }
.room-card:nth-child(2) { transition-delay: 0.2s; }
.room-card:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced Room Image Overlay Effects */
.room-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.room-card:hover .room-image::after {
    opacity: 1;
}

/* Room Feature Icons Enhancement */
.room-features .room-feature i {
    background: rgba(212, 145, 59, 0.1);
    padding: 0.3rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Price Badge Animation */
.room-price {
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Room Card Hover State Enhancements */
.room-card:hover .room-title {
    color: var(--primary-color);
    transition: var(--transition);
}

.room-card:hover .room-features .room-feature i {
    background: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

/* ================================
   About Section Styles
   ================================ */

.about-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.about-content-card {
    height: 100%;
}

.about-text-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    height: 100%;
    backdrop-filter: blur(10px);
}

.about-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.about-card-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(212, 145, 59, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(212, 145, 59, 0.15);
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.about-image-card {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 145, 59, 0.8), rgba(226, 98, 13, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.about-image-card:hover .image-overlay {
    opacity: 1;
}

.about-image-card:hover .about-main-image {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.overlay-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.feature-card-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badges .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-card-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .about-card-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .about-text-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .about-image-card {
        min-height: 300px;
        margin-top: 2rem;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .overlay-content i {
        font-size: 3rem;
    }
    
    .overlay-content span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text-card {
        padding: 1rem;
    }
    
    .about-card-title {
        font-size: 1.4rem;
    }
    
    .feature-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .about-highlights {
        gap: 0.5rem;
    }
    
    .highlight-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Animation for About Section */
.about-content-card,
.about-image-card,
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-content-card.animate,
.about-image-card.animate,
.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure About Section is always visible */
#about,
#about .about-content-card,
#about .about-image-card,
#about .feature-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ================================
   Services Section Styles
   ================================ */

.services-section {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 145, 59, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}

/* Professional branch buttons */
.branch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-weight: 700;
    border-radius: 999px;
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(2,6,23,0.08);
    transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms, opacity 160ms;
    min-width: 140px;
    text-align: center;
}

.branch-btn.primary {
    background: linear-gradient(90deg, var(--brand-accent-2), var(--brand-accent));
}

.branch-btn.secondary {
    background: linear-gradient(90deg, #2b8bd3, #1f6fb0);
}

.branch-btn:hover{ transform: translateY(-4px); box-shadow: 0 22px 46px rgba(2,6,23,0.12); }
.branch-btn:active{ transform: translateY(-2px); }
.branch-btn:focus{ outline: 3px solid rgba(66,153,225,0.18); outline-offset:4px; }

@media (max-width: 576px){
    .branch-btn{ padding: 10px 14px; min-width: 120px; font-size: 0.95rem; }
}

/* Icon inside branch button */
.branch-btn i {
    font-size: 1rem;
    opacity: 0.95;
}

.branch-btn span {
    display: inline-block;
    vertical-align: middle;
}

/* Active / selected state */
.branch-btn.active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 28px 60px rgba(2,6,23,0.18);
}

.branch-btn.active.primary {
    box-shadow: 0 28px 60px rgba(255,136,34,0.18);
}

.branch-btn.active.secondary {
    box-shadow: 0 28px 60px rgba(27,111,176,0.14);
}

/* Inactive/deselected branch button state */
.branch-btn.inactive{
    opacity: 0.7;
    transform: none;
    filter: grayscale(6%) contrast(95%);
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 145, 59, 0.02), rgba(226, 98, 13, 0.02));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: rgba(212, 145, 59, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(212, 145, 59, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(212, 145, 59, 0.4);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-title {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: #4a5568;
}

/* Featured service card */
.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
    border-color: transparent;
}

.service-card.featured .service-icon {
    background: var(--white);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.service-card.featured .service-icon i {
    color: var(--primary-color);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: var(--white);
}

/* Responsive Design for Services */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
}

/* Section Title Enhancements */
.services-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-section .section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.services-section .section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.services-section .section-description {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Pulse animation for service icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

/* Animation for Services Section */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

/* Ensure Services Section is always visible */
.services-section,
.services-section .services-grid,
.services-section .service-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ================================
   Modern Booking Section
   ================================ */

.modern-booking-section {
    position: relative;
}

.form-control-ultra-modern:focus {
    outline: none;
    border-color: #ff9800 !important;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15) !important;
    transform: translateY(-2px);
}

.form-control-ultra-modern:hover {
    border-color: #ffb74d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

.btn-check-availability:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5) !important;
}

.btn-check-availability:hover .btn-shine {
    left: 100%;
}

.modern-booking-card {
    animation: fadeInUp 0.8s ease-out;
}

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

.feature-item {
    opacity: 0;
    animation: fadeInStagger 0.6s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

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

/* Responsive Design for Modern Booking */
@media (max-width: 768px) {
    .modern-booking-card {
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .booking-title {
        font-size: 1.8rem !important;
    }
    
    .booking-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .btn-check-availability {
        min-width: 200px !important;
        padding: 1rem 2rem !important;
    }
}

@media (max-width: 480px) {
    .modern-booking-section {
        padding: 3rem 0 !important;
    }
    
    .modern-booking-card {
        margin: 0 1rem !important;
    }
    
    .booking-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .booking-icon i {
        font-size: 1.5rem !important;
    }
}

/* ================================
   ENHANCED MOBILE RESPONSIVENESS
   ================================ */

/* Mobile First Approach - Enhanced Responsive Design */
@media (max-width: 991px) {
    /* Tablet and Mobile Navigation */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        border-radius: var(--border-radius);
        background: var(--background-light);
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(212, 145, 59, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4913b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        margin-top: 1rem;
        border: 1px solid rgba(212, 145, 59, 0.1);
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
        border-radius: 8px;
        transition: var(--transition);
        color: var(--text-dark) !important;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient-primary);
        color: var(--white) !important;
        transform: translateX(5px);
    }
    
    .nav-link::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.8rem;
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        opacity: 1;
    }
    
    .btn-cta-nav {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: var(--border-radius);
        background: var(--gradient-primary);
        color: var(--white);
        text-decoration: none;
        text-align: center;
        font-weight: 600;
        transition: var(--transition);
    }
    
    .btn-cta-nav:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
        color: var(--white);
    }
}

/* Desktop and Tablet - Ensure hero section maintains full height */
@media (min-width: 769px) {
    .hero-section {
        height: 100vh !important;
        min-height: 600px !important;
        padding: 0 !important;
    }
    
    .hero-content-container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
        position: relative;
        z-index: 10;
    }
    
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 100vh !important;
    }
    
    .hero-image-container {
        height: 100vh !important;
    }
}

@media (max-width: 768px) {
    /* Mobile Typography */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }
    h4 { font-size: 1.25rem !important; }
    
    /* Mobile Header */
    .header-top {
        padding: 0.5rem 0;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-contact a {
        font-size: 0.85rem;
    }
    
    .main-nav {
        padding: 0.75rem 0;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    /* Mobile Hero Section */
    .hero-section {
        min-height: 80vh !important;
        height: 80vh !important;
        padding: 0;
    }
    
    .hero-section main {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .hero-content-container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
        position: relative;
        z-index: 10;
    }
    
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 80vh !important;
    }
    
    .hero-image-container {
        height: 80vh !important;
    }
    
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Mobile Quick Booking */
    .quick-booking-card {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .booking-form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .booking-form-col {
        flex: 1 1 100%;
    }
    
    .form-control-modern {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    /* Mobile Rooms Section */
    .rooms-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .room-card {
        margin: 0 1rem;
    }
    
    .room-image {
        height: 250px !important;
    }
    
    .room-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Mobile Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .gallery-item {
        height: 150px !important;
    }
    
    /* Mobile Services */
    .services-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-card {
        margin: 0 1rem;
    }
    
    /* Mobile Testimonials */
    .testimonial-card {
        margin: 0 1rem;
        text-align: center;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Mobile Contact Section */
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-card {
        text-align: center;
        padding: 1.5rem;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Mobile Buttons */
    .btn-primary,
    .btn-outline-primary {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    /* Mobile spacing adjustments */
    .section-padding {
        padding: 4rem 0 !important;
    }
    
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Devices */
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.35rem !important; }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.1;
    }
    
    .hero-content .lead {
        font-size: 0.9rem;
    }
    
    .quick-booking-card {
        margin: 1rem 0.5rem;
        padding: 1rem;
    }
    
    .room-card,
    .service-card,
    .testimonial-card {
        margin: 0 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .gallery-item {
        height: 200px !important;
    }
    
    .section-padding {
        padding: 3rem 0 !important;
    }
    
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Mobile-specific utility classes */
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-hide {
        display: none !important;
    }
    
    .mobile-show {
        display: block !important;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .room-card,
    .service-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improved tap targets */
    .card-link,
    .btn-link {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-size: cover;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .room-image,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles for mobile */
@media print {
    .mobile-hide-print {
        display: none !important;
    }
    
    .hero-section,
    .quick-booking {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* ================================
   MOBILE ACCESSIBILITY IMPROVEMENTS
   ================================ */

/* Mobile Sticky Booking Button */
.mobile-sticky-booking {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sticky-booking.show {
    opacity: 1;
    visibility: visible;
}

.mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(212, 145, 59, 0.4);
    transition: all 0.3s ease;
    min-width: 160px;
}

.mobile-book-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 145, 59, 0.5);
}

.mobile-book-btn i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

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

/* Focus indicators for mobile navigation */
@media (max-width: 768px) {
    .nav-link:focus,
    .btn:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Image hover caption overlay (disabled) */
/* Styles are preserved but neutralized so captions and hover transforms do not appear. */
.img-hover-wrap { position: static !important; display: inline-block; overflow: visible !important; }
.img-hover-wrap img { transition: none !important; transform: none !important; }
.img-hover-wrap:hover img { transform: none !important; }
.img-hover-caption { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 640px) {
    .img-hover-caption { display: none !important; }
}

/* Amenity-specific hover captions (enabled only for amenities) */
.amenity-hover { position: relative; display: inline-block; overflow: hidden; }
.amenity-hover img { display: block; width: 100%; height: auto; transition: transform .28s ease; }
.amenity-hover:hover img { transform: scale(1.03); }
.amenity-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 60%);
    color: #fff;
    padding: 0.6rem 0.9rem;
    transform: translateY(100%);
    transition: transform .28s ease, opacity .28s ease;
    opacity: 0;
    font-size: 0.95rem;
}
.amenity-hover:hover .amenity-caption { transform: translateY(0%); opacity: 1; }

/* High-specificity overrides to re-enable captions for amenity images only.
    These selectors target elements that have both the global and amenity classes
    so they override the global `!important` neutralization above. */
.img-hover-wrap.amenity-hover { position: relative !important; overflow: hidden !important; }
.img-hover-wrap.amenity-hover img { transition: transform .28s ease !important; }
.img-hover-wrap.amenity-hover:hover img { transform: scale(1.03) !important; }
.img-hover-caption.amenity-caption { display: block !important; visibility: visible !important; opacity: 0 !important; transform: translateY(100%) !important; transition: transform .28s ease, opacity .28s ease !important; }
.img-hover-wrap.amenity-hover:hover .img-hover-caption.amenity-caption { transform: translateY(0%) !important; opacity: 1 !important; }

