/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap');

:root {
    --primary-red: #cc0000;    /* Bold Red */
    --primary-dark: #8a0000;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;       
    --text-black: #111111;
    --text-grey: #555555;
    --border-color: #e5e5e5;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; color: var(--text-black); }
p { line-height: 1.6; color: var(--text-grey); font-weight: 400; }

/* --- Navigation --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: 0.3s ease;
}
.logo { font-size: 1.4rem; font-weight: 900; color: var(--text-black); letter-spacing: 1px; }
.logo span { color: var(--primary-red); }

.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: var(--text-black); text-decoration: none; margin-left: 25px;
    font-weight: 600; text-transform: uppercase; font-size: 0.8rem;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary-red); }

.nav-btn {
    background: var(--primary-red); color: white !important;
    padding: 12px 30px; border-radius: 4px;
}
.nav-btn:hover { background: var(--primary-dark); box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3); }

/* --- Hero Section (PARALLAX EFFECT) --- */
.hero {
    height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding-top: 60px;
    position: relative;
    overflow: hidden;
    
    background: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Locks background for parallax */
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.75); 
    z-index: 0;
}

.hero h1, .hero p, .hero a { position: relative; z-index: 2; will-change: transform; }

.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--text-black); }
.hero span { color: var(--primary-red); }
.hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; color: var(--text-black); font-weight: 600; }

.cta-btn {
    padding: 18px 50px; background: var(--text-black);
    color: white; font-weight: 700; text-decoration: none; text-transform: uppercase;
    border-radius: 4px; transition: 0.3s; position: relative; z-index: 2;
    letter-spacing: 1px;
}
.cta-btn:hover { background: var(--primary-red); transform: translateY(-3px); }

/* --- Sections --- */
.section { padding: 100px 8%; position: relative; z-index: 1; background: var(--bg-white); }
.bg-light { background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.section-title { margin-bottom: 60px; text-align: center; }
.section-title h2 { font-size: 2.5rem; display: inline-block; position: relative; }
.section-title h2::after {
    content: ''; display: block; width: 50px; height: 4px; 
    background: var(--primary-red); margin: 15px auto 0;
}
.dept-title {
    text-align: center; margin: 60px 0 30px; font-size: 1.5rem; 
    color: var(--text-grey); border-bottom: 1px solid #eee; padding-bottom: 10px;
}

/* --- Grid & Cards --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }

.card {
    background: var(--bg-white); border-radius: 0px; 
    transition: 0.4s ease; text-align: left; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-10px); }

.card img { 
    width: 100%; height: 320px; object-fit: cover; 
    filter: grayscale(100%); transition: 0.4s; 
    border-bottom: 4px solid var(--primary-red);
}
.card:hover img { filter: grayscale(0%); }

.card-content { padding: 20px 15px; }
.card h3 { font-size: 1.4rem; margin-bottom: 5px; }
.card .role { color: var(--primary-red); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- Registration Form --- */
.form-wrapper {
    max-width: 900px; margin: 0 auto;
    background: var(--bg-white); padding: 60px;
    box-shadow: var(--shadow); border-top: 5px solid var(--primary-red);
}
.form-header { text-align: center; margin-bottom: 40px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; color: #333; }
.form-control {
    width: 100%; padding: 15px; border: 1px solid #ddd;
    background: #fafafa; font-size: 1rem; color: #333; transition: 0.3s;
}
.form-control:focus { border-color: var(--primary-red); background: #fff; outline: none; }
.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 200px; }
small { display: block; margin-top: 5px; color: #777; font-size: 0.8rem; }

/* --- Footer --- */
footer { background: #000; color: white; padding: 80px 10%; text-align: center; position: relative; z-index: 10; }
.contact-box { 
    border: 1px solid #333; padding: 30px; display: inline-block; 
    margin-bottom: 30px; min-width: 300px;
}
.contact-box h4 { color: var(--primary-red); margin-bottom: 10px; }

/* Animation Classes */
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.show { opacity: 1; transform: translateY(0); }

/* --- MOBILE RESPONSIVE (Hamburger Menu) --- */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger .line { width: 25px; height: 3px; background-color: var(--text-black); transition: 0.3s; }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: absolute; top: 70px; right: 0;
        height: 100vh; width: 60%;
        background: var(--bg-white);
        flex-direction: column; align-items: center; justify-content: flex-start;
        padding-top: 50px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%); transition: transform 0.4s ease-in-out;
    }
    .nav-links a { margin: 20px 0; font-size: 1.2rem; display: block; }
    .nav-links.active { transform: translateX(0%); }
    
    .hamburger.toggle .line:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .line:nth-child(2) { opacity: 0; }
    .hamburger.toggle .line:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 60px 5%; }
}
