/* ==========================================
   HOME.CSS - Home Page Styles
   ========================================== */

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Apply negative margin to remove app-main top padding */
.home-container.page-no-top-padding {
    margin-top: -1rem !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #E84E1B 0%, #D04317 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(232, 78, 27, 0.3);
    margin-left: -1rem;
    margin-right: -1rem;
}

@media (min-width: 768px) {
    .hero-section {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #E84E1B;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #2B2B2B;
}

/* Quick Actions Grid */
.quick-actions {
    padding: 0 1rem 3rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(232, 78, 27, 0.2);
    border-color: #E84E1B;
}

.action-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E84E1B 0%, #D04317 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.action-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2B2B2B;
}

.action-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 3rem 1rem;
    background: white;
    border-radius: 2rem 2rem 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #E84E1B;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(232, 78, 27, 0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E84E1B;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E84E1B;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Recent Section */
.recent-section {
    margin-top: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2B2B2B;
    padding-left: 0.5rem;
    border-left: 4px solid #E84E1B;
}

.empty-state-card {
    background: #F9F9F9;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px dashed #D0D0D0;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A5A5A5;
}

.empty-state-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.empty-state-card .btn {
    display: inline-block;
    text-decoration: none;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-item {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.recent-item:hover {
    border-color: #E84E1B;
    box-shadow: 0 2px 8px rgba(232, 78, 27, 0.1);
    transform: translateX(5px);
}

.recent-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E84E1B;
    flex-shrink: 0;
}

.recent-details {
    flex: 1;
    min-width: 0;
}

.recent-location {
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-date {
    font-size: 0.875rem;
    color: #666;
}

.recent-item .badge {
    flex-shrink: 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2B2B2B;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
