/* ============================================
   Sri Ganga Sadan - Premium Hotel Website CSS
   Modern, Responsive, SEO-Friendly Design
   Fonts: Poppins (Headings) + DM Sans (Body)
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0d4f8b;
    --primary-dark: #083a66;
    --primary-light: #1a6bb5;
    --secondary: #c9a227;
    --secondary-dark: #a6851f;
    --accent: #e8f4fc;
    --text-dark: #1a1a2e;
    --text-muted: #5a6577;
    --text-light: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top a {
    color: white;
    opacity: 0.9;
}

.header-top a:hover {
    opacity: 1;
}

.header-top .contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-main {
    padding: 12px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-text .logo-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--accent);
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 100px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,79,139,0.85) 0%, rgba(8,58,102,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 40px 0;
}

.hero-content .badge {
    display: inline-block;
    background: rgba(201,162,39,0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-feature i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card .card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.room-card .card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-card h3 {
    margin-bottom: 8px;
}

.room-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.room-card .price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.room-features span {
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.room-card .card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* Amenity Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.amenity-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.amenity-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.amenity-card h4 {
    margin-bottom: 10px;
}

/* Why Choose */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.why-card .icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,79,139,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,79,139,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

/* FAQ */
.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 25px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,0.8);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--secondary);
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary);
}

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    margin-top: 100px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 100px;
}

.page-hero h1 {
    color: white;
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Notice Board */
.notice-board {
    background: linear-gradient(135deg, #fff8e6, #fff3d0);
    border: 1px solid var(--secondary);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 30px;
}

.notice-board h4 {
    color: var(--secondary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid-3, .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 5px;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .header-cta .btn-outline {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 80vh;
        margin-top: 80px;
    }
    .page-hero, .breadcrumb {
        margin-top: 80px;
    }
    .header-top {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Utility */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* Schema / SEO helpers - visually hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
