/* 
   Shree Mahakaleshwar Bhakt Niwas - Modern visual layout system
   Compiled for high-end conversion, fast page loads, and GMB SEO authority.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

:root {
    --primary-color: #164a38;
    --primary-light: #206d53;
    --primary-hover: #0c2d22;
    --secondary-color: #fdf4e4;
    --accent-gold: #c59b27;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px -10px rgba(22, 74, 56, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
    --hover-shadow: 0 20px 40px -15px rgba(22, 74, 56, 0.12), 0 1px 10px rgba(0, 0, 0, 0.04);
}

/* Base resets & layout rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-hover);
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    transition: all 0.25s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.container, .container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Sticky frosted-glass Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 74, 56, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.navbar-brand h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
}

.navbar-brand h4 span {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 3px;
}

.navbar-nav .nav-item .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #334155 !important;
    padding: 10px 16px !important;
    transition: all 0.2s ease;
}

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

.navbar-nav .nav-item .nav-link.register {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(22, 74, 56, 0.15);
}

.navbar-nav .nav-item .nav-link.register:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
}

/* Heritage Decorative details */
.heritage-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px auto 25px;
}

.heritage-divider::before, .heritage-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

.heritage-divider i {
    color: var(--accent-gold);
    font-size: 14px;
}

/* Custom Trust Badges */
.trust-badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.trust-badge i {
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 14px;
}

/* Luxury Hero Banner */
.home1_banner_outer {
    background-color: var(--primary-hover);
}

.banner-con {
    padding: 100px 0 90px;
    background: linear-gradient(135deg, rgba(22, 74, 56, 0.96), rgba(12, 45, 34, 0.98)), url('../images/hotel-exterior.png') no-repeat center center;
    background-size: cover;
    background-position: center;
}

.banner_content h6 {
    font-size: 14px !important;
    color: var(--accent-gold) !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    margin-bottom: 12px;
}

.banner_content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white) !important;
}

.banner_content .text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* Premium Buttons */
.primary_btn, .btn-custom-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(22, 74, 56, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary_btn:hover, .btn-custom-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 8px 20px rgba(22, 74, 56, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366 !important;
    color: var(--white) !important;
    border: 2px solid #25D366 !important;
}

.whatsapp-btn:hover {
    background-color: #1eb857 !important;
    border-color: #1eb857 !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
}

/* About Us counters styling */
.about-con {
    background-color: var(--white);
}

.about-con ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 35px;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #ebdcb9;
}

.about-con ul li {
    text-align: center;
    padding: 10px 20px;
}

.about-con ul li .value {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.about-con ul li .text {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* Top Accommodation Feature Boxes */
.acc-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(22, 74, 56, 0.1);
}

.acc-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.acc-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.acc-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Room Cards Grid Layout */
.room-card {
    background: var(--white);
    border-radius: 20px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(22, 74, 56, 0.12) !important;
}

.room-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Pricing Table Styling */
.room-pricing-list {
    margin: 20px 0 10px;
    padding: 0;
    list-style: none;
}

.room-pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
    color: var(--text-dark);
}

.room-pricing-list li strong {
    font-weight: 500;
}

.room-pricing-list li span {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.room-pricing-list li span b {
    font-size: 16px;
}

/* Facilities Section Styling */
.service-con {
    background-color: var(--light-bg);
}

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

.service_wrapper .row > div {
    display: block;
    width: 100%;
}

.service-box {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--hover-shadow);
}

.service-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h5 {
    font-size: 19px;
    color: var(--primary-hover);
    margin-bottom: 12px;
}

.service-box p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Nearby Attractions Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.feature-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-hover);
}

.feature-description {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 0;
}

/* Why Choose Us list */
.propertise {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0 35px;
}

.propertise ul {
    flex: 1 1 280px;
    list-style: none;
}

.propertise ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.propertise ul li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

.propertise ul li p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Travel Guide Section styling */
.guide-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.guide-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--hover-shadow);
}

.guide-card h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-card h4 i {
    color: var(--accent-gold);
    font-size: 18px;
}

.guide-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* GMB Google Reviews widget styling */
.reviews-section {
    background-color: var(--light-bg);
}

.review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(22, 74, 56, 0.1);
}

.review-stars i {
    color: #ffb300;
    font-size: 16px;
}

.review-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--primary-hover);
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact box styling */
.contact-box {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    gap: 15px;
    align-items: flex-start;
}

.contact-box i {
    font-size: 26px;
    color: var(--primary-color);
}

.contact-box h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-hover);
}

.contact-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer layout rules */
.footer-con {
    background-color: #0c2d22;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-con h4, .footer-con h5 {
    color: var(--white) !important;
}

.footer-con .phone_wrapper i {
    font-size: 24px;
    color: var(--white);
    margin-right: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    display: inline-block;
    padding: 5px 0;
}

.footer-links li a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 13px;
}

/* Floating WhatsApp Animation (Glowing/Ripple Effect) */
.floating_btn {
    position: fixed;
    bottom: 25px;
    right: 22px;
    z-index: 1000;
    text-align: center;
}

.floating_btn .contact_icon {
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: whatsappPulse 2s infinite;
}

.floating_btn .my-float {
    color: #fff;
    font-size: 28px;
}

.floating_btn .text_icon {
    color: #fff;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.75);
    padding: 3px 8px;
    border-radius: 10px;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- MOBILE ERGONOMIC OPTIMIZATIONS --- */
@media (max-width: 991px) {
    section {
        padding: 50px 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        padding: 15px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item .nav-link {
        padding: 8px 12px !important;
    }
    
    .about-con ul {
        margin-top: 25px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    /* Fluid Font Scales */
    .banner-con h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .banner-con .text {
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 20px;
    }
    
    .banner_content h6 {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    /* Ergonomic Buttons (Full width on mobile for thumb tap) */
    .primary_btn, .btn-custom-primary, .whatsapp-btn {
        width: 100% !important;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .grid, .features-grid, .guide-grid, .service_wrapper .row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .about-con ul li {
        width: 100%;
        border-bottom: 1px dashed #e2e8f0;
        padding: 15px 0;
    }
    
    .about-con ul li:last-child {
        border-bottom: none;
    }
    
    .trust-badge-container {
        gap: 6px;
    }
    
    .trust-badge {
        font-size: 11px;
        padding: 5px 10px;
        width: 100%;
        justify-content: center;
    }
}
