/* Pushkar Villas Resort - Main Stylesheet */

/* Base Styles & Variables */
:root {
    /* Rajasthani Color Palette */
    --saffron: #FF9933;
    --royal-blue: #1F3C88;
    --maroon: #800000;
    --gold: #D4AF37;
    --sandstone: #E6CCB3;
    --cream: #F5F0E6;
    --green: #2E8B57;
    --dark-blue: #0A1931;
    --light-blue: #DAE1E7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: var(--cream);
    line-height: 1.6;
    padding-top: 80px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, var(--maroon), var(--royal-blue));
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
}

.logo-text {
    font-size: 1.8rem;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--gold);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    bottom: -5px;
    left: 0;
}

.btn-book {
    background-color: var(--gold) !important;
    color: var(--maroon) !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: #c19b2c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner-carousel .item {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/1400X300-A.jpg');
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/1400x300-B.jpg');
}

.slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/1400x300-C.jpg');
}

.slide-4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/1400X300-D.jpg');
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
}

.banner-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-banner {
    background-color: var(--gold);
    color: var(--maroon);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-banner:hover {
    background-color: #c19b2c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--maroon);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.welcome-section {
    background-color: white;
}

/* Room Cards */
.room-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-top {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .card-img-top {
    transform: scale(1.05);
}

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--gold);
    color: var(--maroon);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.card-title {
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.room-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.room-features li {
    margin-bottom: 8px;
}

.room-features i {
    color: var(--green);
    margin-right: 10px;
}

.room-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--maroon);
}

/* Map Section */
.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-info h4 {
    color: var(--maroon);
    margin-bottom: 10px;
}

.map-info p {
    margin-bottom: 5px;
    color: #555;
}

.map-info i {
    color: var(--gold);
    width: 20px;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(to right, var(--dark-blue), var(--royal-blue));
    color: white;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--saffron);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 10px;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--maroon);
    transform: translateY(-3px);
}

.newsletter input {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 10px 20px;
}

.btn-newsletter {
    background-color: var(--gold);
    color: var(--maroon);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-newsletter:hover {
    background-color: #c19b2c;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright i {
    color: #ff6b6b;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
}

.whatsapp {
    background-color: #25D366;
}

.phone {
    background-color: var(--saffron);
}

/* Buttons */
.btn-primary {
    background-color: var(--maroon);
    border-color: var(--maroon);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #660000;
    border-color: #660000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--maroon);
    border-color: var(--maroon);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--maroon);
    border-color: var(--maroon);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.4rem;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .hero-banner, .banner-carousel .item {
        height: 250px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-info {
        position: relative;
        max-width: 100%;
        bottom: 0;
        left: 0;
        margin-top: 0;
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-banner, .banner-carousel .item {
        height: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Newsletter Unsubscribe Link */
.unsubscribe-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 3px;
}

.unsubscribe-link:hover {
    color: var(--gold) !important;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

.unsubscribe-link i {
    font-size: 0.8rem;
}

/* Newsletter Message Styling */
.newsletter-message {
    animation: fadeIn 0.3s ease;
    margin-top: 10px !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    font-size: 0.9rem;
}

.newsletter-message.alert-success {
    background-color: rgba(25, 135, 84, 0.9) !important;
    color: white !important;
    border: 1px solid #198754 !important;
}

.newsletter-message.alert-danger {
    background-color: rgba(220, 53, 69, 0.9) !important;
    color: white !important;
    border: 1px solid #dc3545 !important;
}

.newsletter-message.alert-warning {
    background-color: rgba(255, 193, 7, 0.9) !important;
    color: #212529 !important;
    border: 1px solid #ffc107 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}