/* Hotel Shree Harpal Palace - Hapur, UP Color Theme */

/* Hapur UP Color Palette */
:root {
    --primary-color: #b72c3b; /* Saffron/Brown - Traditional UP */
    --secondary-color: #FF9933; /* Saffron Orange */
    --accent-color: #138808; /* Green - UP Flag */
    --dark-color: #2C1810; /* Dark Brown */
    --light-color: #FFF8DC; /* Cornsilk - Light */
    --gold-color: #FFD700; /* Golden */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* Loading Animation */
body.loading {
    overflow: hidden;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 10000;
}

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

/* Enhanced Hover Effects */
.hero-content .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
 
.hero-content .btn-primary::before {
    content: '';
    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.5s ease;
    z-index: -1;
}

.hero-content .btn-primary:hover::before {
    left: 100%;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}
footer p {
    margin-bottom: 1rem;
    color: #e8cfb6;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-logo {
    width: 200px;
   
    margin-right: 10px;
    
    object-fit: cover;
}

.brand-text {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

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

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

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

.btn-book-now {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-book-now:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.23);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-color);
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Booking Section */
.booking-section {
    background: url('./../images/bg.png'), #b72c3b;
    color: var(--white);
}

.booking-card {
    background: var(--white);
    border-radius: 0px;
    padding: 2rem 3rem;
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.booking-form .form-group {
    margin-bottom: 0rem;
}

.booking-form label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.booking-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 0px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 51, 0.25);
}

/* Rooms Section */
.rooms-section {
    background: var(--white);
}

.room-card {
    background: var(--white);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.room-image {
    width: 100%;
    /* height: 250px; */
    object-fit: cover;
}

.room-content {
    padding: 2rem;
}

.room-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.room-description {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.room-features {
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 0px;
    font-size: 0.9rem;
    margin-right: 8px;
    margin-bottom: 8px;
}
.feature-tag::before{display:inline-block;
content:'\e315';
font-family: 'Material Symbols Outlined';}
.room-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.per-night {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 5px;
}

/* Facilities Section */
.facilities-section {
    background: var(--light-color);
}

.facility-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 10px var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.feature-item .material-symbols-outlined{color:var(--primary-color); margin-right:10px;}
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px #ddd;
    
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border:2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.facility-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.facility-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}
.facility-icon .material-symbols-outlined{color:var(--primary-color); font-size:30px;}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(183, 44, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

/* Attractions Section */
.attractions-section {
    background: var(--light-color);
}

.attraction-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.attraction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.distance {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-subtitle {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f5cfcf;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 51, 0.25);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Footer */
.footer-section {
    background: #580710;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-text {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

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

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

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

.social-links a:hover {
    background: var(--gold-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-color);
}

/* Buttons */

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 0;
    font-weight: 600;
    transition: var(--transition);
 


}
#booking .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 0;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;


}
.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}
.btn-second {
    background: var(--secondary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    font-weight: 600;
    transition: var(--transition);
    color:#fff;

}

.btn-second:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
     color:#fff;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Swiper Custom Styles */
.swiper-pagination-bullet {
    background: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-logo {
        margin-bottom: 5px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .booking-card {
        padding: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}


.whatsapp i {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: #fff;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background-color: #48c857;
    border-radius: 50%;
    z-index: 9999;
}