/* ============================================
   Chaturvi Elite Ladies PG - Stylesheet
   Colors: Cream, Beige, Gold, White, Dark Navy
   ============================================ */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FDF6E3;
    --beige: #F5F0E8;
    --gold: #C8A951;
    --gold-dark: #A68B3C;
    --white: #FFFFFF;
    --light-brown: #D4C5A9;
    --navy: #1B2A4A;
    --charcoal: #2C2C2C;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #E8E0D0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background-color: var(--navy);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.logo span {
    color: var(--white);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 169, 81, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 5rem 2rem;
}

.section-light {
    background-color: var(--white);
}

.section-cream {
    background-color: var(--cream);
}

.section-beige {
    background-color: var(--beige);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============================================
   Cards
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Intro Section
   ============================================ */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.intro-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--cream);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-3px);
}

.why-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--navy);
    color: var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.review-card .stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.review-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.review-card .reviewer {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   About Page
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2d4a7a 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--cream);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.value-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   Rooms Page
   ============================================ */
.room-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-card-image {
    background: linear-gradient(135deg, var(--beige), var(--cream));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.room-card-content {
    padding: 1.5rem;
}

.room-card-content h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.room-card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.room-feature-tag {
    background-color: var(--cream);
    color: var(--navy);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* ============================================
   Facilities Page
   ============================================ */
.facility-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.facility-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.facility-card h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.facility-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-text h4 {
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-item-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.contact-form h2 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: var(--beige);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--gold-dark);
}

/* Google Maps Embed */
.map-section {
    margin-top: 3rem;
}

.map-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder-text {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navy);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .header {
        position: relative;
    }

    /* Hero */
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Intro */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Page Hero */
    .page-hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .logo {
        font-size: 1.1rem;
    }
}

/* ============================================
   Floating Action Buttons (WhatsApp, Call, Chat)
   ============================================ */
.floating-buttons-right {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.floating-buttons-left {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.float-btn-whatsapp {
    background-color: #25D366;
}

.float-btn-call {
    background-color: #0088cc;
}

.float-btn-chat {
    background-color: var(--gold);
    color: var(--navy);
}

.float-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ============================================
   Chatbot Widget
   ============================================ */
.chatbot-overlay {
    display: none;
    position: fixed;
    bottom: 6rem;
    left: 1.5rem;
    width: 350px;
    max-width: calc(100vw - 2rem);
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow: hidden;
    flex-direction: column;
}

.chatbot-overlay.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--navy);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.chatbot-body {
    padding: 1.25rem;
    max-height: 350px;
    overflow-y: auto;
    background-color: var(--beige);
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
}

.chat-message.bot {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background-color: var(--navy);
    color: var(--white);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Formatted chatbot content */
.chat-price-table {
    width: 100%;
    margin: 0.5rem 0;
    font-size: 0.82rem;
}

.chat-price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.chat-price-row:last-child {
    border-bottom: none;
}

.chat-price-row .room-type {
    font-weight: 500;
    color: var(--navy);
}

.chat-price-row .room-price {
    font-weight: 700;
    color: var(--gold-dark);
}

.chat-highlight {
    background-color: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 0.4rem 0.6rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
}

.chat-facility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.5rem 0;
}

.chat-facility-tag {
    background-color: var(--beige);
    color: var(--navy);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

.chat-followup {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.chat-option-btn {
    background-color: var(--cream);
    color: var(--navy);
    border: 1px solid var(--gold);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.chat-option-btn:hover {
    background-color: var(--gold);
    color: var(--navy);
}

.chatbot-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.5rem;
    background-color: var(--white);
}

.chatbot-footer input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    background-color: var(--beige);
}

.chatbot-footer input:focus {
    border-color: var(--gold);
    background-color: var(--white);
}

.chatbot-footer button {
    background-color: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.chatbot-footer button:hover {
    background-color: var(--gold-dark);
}

@media (max-width: 480px) {
    .chatbot-overlay {
        left: 0.5rem;
        bottom: 5.5rem;
        width: calc(100vw - 1rem);
    }

    .floating-buttons-right {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-buttons-left {
        bottom: 1rem;
        left: 1rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .float-btn svg {
        width: 24px;
        height: 24px;
    }
}
