/* Hero Spacing Refinements - Optimized for Above-the-Fold Density */
.hero-container {
    padding-top: 1rem !important;
}

@media (min-width: 1024px) {
    .hero-container {
        padding-top: 2rem !important;
    }
}

.comm-badge {
    transform: translateY(-1.5rem);
    /* Raise the badge higher */
    padding: 0.75rem 1.5rem !important;
    /* Enlarge padding */
}

.comm-badge span {
    font-size: 13px !important;
    /* Enlarge text */
}

.hero-headline {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.0 !important;
}

/* Ensure bottom nav doesn't overlap content on small desktops */
@media (min-height: 700px) and (max-height: 900px) {
    .frosted-nav {
        transform: translateY(1rem);
    }
}

/* Primary Color Overrides */
.text-primary {
    color: #F25C54 !important;
}

.bg-primary {
    background-color: #F25C54 !important;
}

.border-primary {
    border-color: #F25C54 !important;
}

.shadow-primary\/30 {
    box-shadow: 0 10px 15px -3px rgba(242, 92, 84, 0.3);
}
/* The Dropdown Container */
.app-dropdown {
    position: relative;
    display: inline-block;
}

/* The Menu - Added a 'bridge' so it doesn't disappear */
.app-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%; /* Sits exactly at the bottom of the button */
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 8px;
    z-index: 1000;
}

/* This is the 'Bridge' - it fills the gap so the mouse never 'leaves' the area */
.app-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.app-dropdown:hover .app-menu {
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background-color: #f3f4f6;
    transform: translateX(5px);
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}
