/*styling for navigation bar*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #800101;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.navbar-logo {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}

.navbar-menu {
    display: flex;
    list-style: none;
}

.navbar-item {
    margin-left: 2rem;
}

.navbar-link {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
}

.navbar-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #fff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.navbar-link:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.navbar-link:hover {
    color: #f39c12;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle-bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #800101;
    }

    .navbar-item {
        margin: 0;
        padding: 1rem;
        text-align: center;
    }

    .navbar-link {
        font-size: 1.2rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu.active {
        display: flex;
    }
}


/*styling for hero area*/
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #800101;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: fadeInDown 1.5s ease-in-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-in-out;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #800101;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 25px;
    transition: background-color 0.3s;
    animation: fadeInUp 1.5s ease-in-out;
    animation-delay: 0.5s;
}

.hero-button:hover {
    background-color: #e67e22;
}

.background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*style for countdown*/ 
.countdown-container {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #800101;
    color: white;
}

.countdown-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f39c12;
    animation: fadeIn 2s ease-in-out;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-item {
    background-color: #444;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 2s ease-in-out;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #ddd;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .countdown {
        flex-direction: column;
        align-items: center;
    }

    .countdown-item {
        margin-bottom: 1rem;
    }
}

/*styling for paragraph section*/
.content-section {
    padding: 3rem 2rem;
    background-color: #f4f4f4;
    color: #222;
    text-align: center;
    animation: slideInUp 2s ease-in-out;
}

.content-topic {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #800101;
    position: relative;
    animation: fadeInDown 1.5s ease-in-out;
}

.content-subtopic {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #800101;
    position: relative;
    animation: fadeInUp 1.5s ease-in-out;
    animation-delay: 0.5s;
}

.content-paragraph {
    font-size: 1.2rem;
    line-height: 1.6;
    animation: fadeIn 2s ease-in-out;
    animation-delay: 1s;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .content-topic {
        font-size: 2rem;
    }

    .content-subtopic {
        font-size: 1.5rem;
    }

    .content-paragraph {
        font-size: 1rem;
    }
}

/*styling for image gallery*/
.gallery-section {
    width: 100%;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    padding: 20px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-out;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-section.active .gallery-grid {
    opacity: 1;
    transform: translateX(0);
}

/*styling for news letter subcription box*/
.newsletter-section {
    background: var(--primary);
    color: var(--light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    width: 300px;
    outline: none;
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    background: var(--dark);
    color: var(--light);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--border);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 5px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/*styling for footer*/
.footer {
    background-color: #800101;
    color: white;
    padding: 3rem 1rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 1rem;
    min-width: 200px;
}

.footer-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h2::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: #f39c12;
    position: absolute;
    left: 0;
    bottom: -10px;
    animation: expand 1s ease-in-out;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}

.footer-section p, .footer-section ul {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e67e22;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background-color: #111;
    position: relative;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}