/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: #002B5C; /* Deep Blue UNPAD vibe */
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px; /* Adjust based on actual logo aspect ratio */
    background-color: white; /* Optional if logo is transparent */
    border-radius: 4px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #FFD700; /* Gold accent */
}

/* Main Content */
main {
    padding: 2rem 5%;
    min-height: 80vh;
}

.hero-section {
    background: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.6)), url('https://si-unpad.ac.id/img.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
.section-title {
    text-align: center;
    color: #002B5C;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid #FFD700;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards for Majors/Prices */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #002B5C;
    margin-bottom: 1rem;
}

.price-tag {
    font-size: 1.2rem;
    color: #d9534f; /* Reddish for price */
    font-weight: bold;
    margin-top: 1rem;
    display: block;
}

/* Announcement Section */
.announcement-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.announcement-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.announcement-item:last-child {
    border-bottom: none;
}

.date-badge {
    background-color: #FFD700;
    color: #002B5C;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Location / Map */
.location-section {
    margin-bottom: 3rem;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #002B5C;
    color: white;
    padding: 3rem 5%;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}