/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    opacity: 0;
    animation: fadeIn 1.2s forwards ease-in-out;
}

/* Fade-in for entire page */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navbar */
nav {
    background-color: #800000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 25px;
    transform: translateY(-10px);
    opacity: 0;
    animation: menuDrop 0.8s forwards ease-out;
}

nav ul li:nth-child(1) { animation-delay: 0.2s; }
nav ul li:nth-child(2) { animation-delay: 0.4s; }
nav ul li:nth-child(3) { animation-delay: 0.6s; }

@keyframes menuDrop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    text-shadow: 0px 0px 8px white;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 8px black;
    animation: heroFade 1.4s ease-in-out;
}

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.hero h1 {
    font-size: 55px;
    margin: 0;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Content Container */
.container {
    width: 80%;
    margin: 50px auto;
    text-align: center;
    animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.container img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    margin-top: 20px;
    transition: transform 0.5s ease;
}

.container img:hover {
    transform: scale(1.03);
}

/* Contact Form */
form {
    width: 60%;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    text-align: left;
    animation: fadeUp 1.2s ease-out;
}

form label {
    margin-top: 15px;
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #800000;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

form input:focus, form textarea:focus {
    border-color: black;
    transform: scale(1.02);
}

form button {
    margin-top: 20px;
    padding: 12px;
    background-color: #800000;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

form button:hover {
    background-color: black;
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 25px;
    background: #800000;
    text-align: center;
    color: white;
}

footer nav ul li {
    display: inline-block;
    margin: 0 20px;
}

footer nav ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

footer nav ul li a:hover {
    color: black;
    text-shadow: 0px 0px 5px black;
}
