/* Common Styles for CoolAir Gurgaon */

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-light: #f3f4f6;
    --uc-purple: #673ab7;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-bottom: 80px; /* Space for bottom nav */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.bg-uc-purple { background-color: var(--uc-purple) !important; }
.text-uc-purple { color: var(--uc-purple) !important; }
.bg-indigo-600 { background-color: var(--primary-color) !important; }
.text-indigo-600 { color: var(--primary-color) !important; }

.btn-indigo {
    background-color: var(--primary-color);
    color: white;
    border-radius: 1rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-indigo:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
}

/* Desktop Navbar */
.desktop-nav {
    display: none;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1060;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.nav-link-custom {
    text-decoration: none;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--text-dark);
}

/* App Header (Mobile) */
.app-header {
    background-color: var(--uc-purple);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1050;
}

@media (min-width: 992px) {
    .app-header {
        display: none;
    }
}

.location-selector {
    font-size: 0.85rem;
    cursor: pointer;
}

/* Search Container */
.search-container {
    position: relative;
    margin-top: 1rem;
    background: white;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-container input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.9rem;
    background: transparent;
}

.search-results-dropdown {
    max-height: 300px;
    overflow-y: auto;
}

/* Hover effect for search results */
.hover-bg-light:hover {
    background-color: #f8f9fa !important;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    border-top: 1px solid #e2e8f0;
    z-index: 1050;
}

@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
}

.nav-item.active {
    color: var(--uc-purple);
}

.nav-item i {
    display: block;
    margin-bottom: 0.25rem;
    margin-left: auto;
    margin-right: auto;
}

/* Bottom Sheet */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 2000;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    max-height: 70vh;
    overflow-y: auto;
}

.bottom-sheet.show { transform: translateY(0); }

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.overlay.show { display: block; }

/* Section Headers */
.section-header {
    padding: 1.5rem 1rem 0.5rem;
    background: white;
}

@media (min-width: 768px) {
    .section-header {
        background: transparent;
        padding: 2rem 0 1rem;
    }
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Footer */
.footer-section {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

/* Modern Footer Styles */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand-logo .logo-icon {
    background: var(--uc-purple);
    border-radius: 0.75rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--uc-purple);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal-links {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
.x-small { font-size: 0.65rem; }
.fill-warning { fill: currentColor; }
[x-cloak] { display: none !important; }
