/* Homepage specific styles */
.category-header {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0 1rem 0;
    border-radius: 12px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.category-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.category-section {
    margin-bottom: 3rem;
}

.view-all-btn {
    display: inline-block;
    margin: 1rem 0 2rem 0;
    padding: 0.8rem 2rem;
    background: #0984e3;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #74b9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 185, 255, 0.3);
}

/* Homepage hero section */
.hero-main {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 50%, #a29bfe 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-main h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-main p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Logo link styling */
.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link .logo {
    margin: 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-main h1 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Ensure header is always visible */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    display: block !important;
}

/* Ensure nav menu is visible on desktop */
@media (min-width: 769px) {
    .nav-container {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu {
        display: flex !important;
    }
}

/* Hide property category menus in header - can be shown later */
.nav-menu li a[href="#pn2"],
.nav-menu li a[href="#pn3"] {
    display: none;
}