/* Homepage Styles for FUEP CBT */

:root {
    --fuep-primary: #134F47;
    --fuep-secondary: #1a472a;
    --notice-warning: #ffc107;
    --notice-info: #007bff;
    --notice-danger: #dc3545;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
}

body.homepage {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Section */
.homepage-header {
    background: var(--fuep-primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.homepage-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.homepage-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.homepage-logo img {
    height: 80px;
    width: auto;
}

.homepage-logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.homepage-logo-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--fuep-primary) 0%, var(--fuep-secondary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Notice Section - Prominent and Eye-catching */
.notice-section {
    margin: 2rem 0;
}

.notice-card {
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
    border-left: 6px solid;
}

.notice-card.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left-color: var(--notice-warning);
    color: #856404;
}

.notice-card.info {
    background: linear-gradient(135deg, #e7f3ff 0%, #b3d9ff 100%);
    border-left-color: var(--notice-info);
    color: #004085;
}

.notice-card.danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left-color: var(--notice-danger);
    color: #721c24;
}

.notice-card.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
    color: #155724;
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.notice-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.notice-content strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.notice-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.notice-links a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--fuep-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.notice-links a:hover {
    background: var(--fuep-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(19, 79, 71, 0.3);
    }
}

/* Quick Links Section */
.quick-links-section {
    padding: 3rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fuep-primary);
    margin-bottom: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-link-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--fuep-primary);
}

.quick-link-icon {
    font-size: 3rem;
    color: var(--fuep-primary);
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--fuep-primary);
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.quick-link-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--fuep-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link-btn:hover {
    background: var(--fuep-secondary);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* University Info Section */
.university-info-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-content h3 {
    font-size: 1.8rem;
    color: var(--fuep-primary);
    margin-bottom: 1rem;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Footer */
.homepage-footer {
    background: var(--fuep-secondary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.homepage-footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.homepage-footer a {
    color: white;
    text-decoration: underline;
}

.homepage-footer a:hover {
    color: #fff;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .notice-title {
        font-size: 1.4rem;
    }
    
    .notice-content {
        font-size: 1rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-logo {
        flex-direction: row;
        text-align: left;
    }
    
    .notice-links {
        flex-direction: column;
    }
    
    .notice-links a {
        width: 100%;
        text-align: center;
    }
}

/* Additional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-card,
.quick-link-card {
    animation: fadeInUp 0.6s ease-out;
}
