/*
 * CSS for Veera Narasimha Yuva Committee - Login Page
 * New Theme: Saffron, Crimson, and Navy. Focus on Form design and security.
 */

/* General Styles */
body {
    font-family: 'Teko', sans-serif;
    margin: 0;
    /* Soft Ochre background */
    background: #fff8e6;
    color: #333;
    line-height: 1.6;
}

/* --- Header & Navigation (Consistent Styling) --- */
header {
    background: #ffcc33; /* Rich Saffron/Gold */
    color: #000;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2em;
    margin: 0;
    color: #a30000; /* Deep Crimson */
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a30000; /* Crimson on hover */
}

/* --- Hero Section (Focus on Login Box) --- */
.hero {
    /* Saffron Gradient */
    background: linear-gradient(to right, #ffde7d, #ffcc33);
    padding: 80px 20px 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Min height to push footer down cleanly */
    min-height: calc(100vh - 80px);
}

.hero-content {
    width: 90%;
    max-width: 450px; 
    margin: auto auto; /* Vertically center content */
    background: #fff; /* Clean white background for form */
    padding: 40px;
    border-radius: 10px; /* Sharper corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Stronger shadow */
}

.hero h1 {
    font-size: 2.8em;
    color: #a30000; /* Crimson for the main title */
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    font-family: sans-serif;
}

/* --- Login Form Styling --- */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    padding: 12px 15px;
    border: 1px solid #ffde7d; /* Light Saffron border */
    border-radius: 5px;
    font-size: 1em;
    font-family: sans-serif; /* Clean font for data entry */
    background: #fff8f0; /* Very light ochre background */
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    border-color: #a30000;
    outline: none;
    box-shadow: 0 0 5px rgba(163, 0, 0, 0.5);
}

.error-message {
    color: #cc0000;
    font-size: 1em;
    font-weight: 500;
    font-family: sans-serif;
}

.login-form .btn {
    /* Primary Crimson Button */
    display: inline-block;
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px; /* Angular corners */
    font-weight: 700;
    font-size: 1.3em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s;
    margin-top: 10px;
}

.login-form .btn:hover {
    background: #a30000;
    transform: translateY(-1px);
}

/* --- Footer --- */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-family: sans-serif;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .hero-content {
        width: 95%;
        padding: 30px 20px;
    }
}
