/* Main Style Sheet */

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, transform, box-shadow;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

/* Minimal custom styles */
.pin-card {
    transition: all 200ms ease;
}

.pin-card:hover {
    border-left: 3px solid #dc2626;
    transform: translateX(2px);
}

.border-l-accent {
    border-left: 4px solid #dc2626;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f3f4f6 4%, #e5e7eb 25%, #f3f4f6 36%);
    background-size: 1000px 100%;
}

/* ============================================
   LAYOUT STYLES - RIGHT SIDEBAR
   ============================================ */

/* Main Layout Container */
.main-layout {
    display: block;
    max-width: 1200px;
    /* Standardized width */
    margin: 40px auto 0;
    padding: 0 16px;
}

@media (max-width: 1024px) {
    .main-layout {
        margin-top: 0;
    }
}

.right-sidebar {
    display: none !important;
    /* Force hide any remaining sidebars */
}

@media (max-width: 640px) {
    /* Other mobile specific styles can go here */
}

/* Main Content Area */
.main-content {
    min-width: 0;
    /* Prevent overflow */
}

/* Right Sidebar - Fixed for Ads */
.right-sidebar {
    position: sticky;
    top: 100px;
    /* Below header */
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Ad Container Styles */
.ad-container {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    /* Increased to 40px for consistent white space */
    text-align: center;
    overflow: hidden;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ad-placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px dashed #d1d5db;
    border-radius: 4px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}

.ad-placeholder-large {
    min-height: 600px;
}

/* ============================================
   HERO SECTION - BANGALORE BACKGROUND
   ============================================ */

.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

/* Background Image with Overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/bangalore_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(153, 27, 27, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 350px;
        border-radius: 0;
        margin: 0 -16px 32px;
        /* Hero should touch the header/breadcrumb area on mobile */
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }
}

/* ============================================
   HERO BANNER AD
   ============================================ */
.hero-banner-container {
    max-width: 1200px;
    margin: 40px auto;
    /* 40px top and bottom margin for breathing room */
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-link {
    display: block;
    max-width: 100%;
    transition: transform 0.2s ease;
}

.hero-banner-link:hover {
    transform: scale(1.01);
}

.hero-banner-image {
    display: block;
    width: 100%;
    /* Ensure it fills container */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Much more prominent shadow */
    transition: box-shadow 0.3s ease;
}

/* Mobile Prominence - Edge-to-Edge Ads */
@media (max-width: 639px) {

    .hero-banner-container,
    .ad-container {
        padding: 0 !important;
        margin: 24px 0 !important;
        max-width: none !important;
    }

    .hero-banner-image,
    .ad-container img {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hero-banner-container {
        margin-top: 24px !important;
    }
}

/* ============================================
   SEARCH STYLES
   ============================================ */

.search-container {
    position: relative;
    z-index: 100;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #9ca3af;
    width: 20px;
    height: 20px;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 52px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
}

.search-dropdown.active {
    display: block;
}

.search-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-item:hover,
.search-item.selected {
    background: #fef2f2;
}

.search-item-pin {
    font-weight: 700;
    color: #dc2626;
    font-family: monospace;
    font-size: 1.1em;
}

.search-item-area {
    color: #111827;
    font-weight: 500;
}

.search-item-zone {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 20px;
}

.search-highlight {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
}

.loading-spinner {
    display: none;
    position: absolute;
    right: 20px;
}

.loading-spinner.active {
    display: block;
}

.no-results {
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

/* Popular Searches */
.popular-searches {
    margin-top: 24px;
}

.popular-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: block;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.popular-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.popular-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   CONTENT STYLES
   ============================================ */

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 24px;
}

.pin-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.pin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.zone-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #111827;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 20px 20px;
    color: #4b5563;
    line-height: 1.6;
}

/* Fix header overlap */
body {
    padding-top: 0;
}