/* ===================================
   HOME PAGE STYLES
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(245, 130, 0, 0.1);
    border: 1px solid rgba(245, 130, 0, 0.2);
    color: var(--text-secondary);
    width: fit-content;
}

.hero-badge .material-icons {
    font-size: 18px;
    color: var(--primary-color);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
    margin-top: 0.25rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.stat-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-label .material-icons {
    font-size: 16px;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

/* Quick Links Card */
.quick-links-card {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    min-width: 260px;
}

.quick-links-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-light);
}

.quick-links-title .material-icons {
    font-size: 20px;
    color: var(--primary-color);
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin: 0.375rem 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.quick-link:hover {
    background: rgba(245, 130, 0, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

.quick-link .material-icons {
    font-size: 20px;
    flex-shrink: 0;
}

/* ===================================
   WELCOME SECTION
   =================================== */

.welcome-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.welcome-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    text-align: center;
    color: var(--primary-color);
    margin: 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(245, 130, 0, 0.2);
}

.welcome-tagline {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm);
    background: rgba(245, 130, 0, 0.05);
    border-radius: var(--border-radius-sm);
}

.welcome-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.welcome-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
}

.welcome-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-image {
        order: -1;
    }
    
    .quick-links-card {
        position: static;
        margin-top: var(--spacing-md);
        max-width: 100%;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .welcome-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        justify-content: flex-end;
    }
    
    .welcome-card {
        padding: var(--spacing-lg);
    }
    
    .section-title {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }
    
    .welcome-text p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .quick-links-card {
        min-width: auto;
    }
    
    .welcome-buttons {
        flex-direction: column;
    }
    
    .welcome-buttons .btn {
        width: 100%;
    }
    
    .welcome-image {
        max-width: 100%;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: slideInLeft 0.8s ease forwards;
}

.hero-image {
    animation: slideInRight 0.8s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .hero-text,
    .hero-image {
        animation: none;
    }
}