/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #ff0011;
    --dark: #0a0a0a;
    --gray: #333;
    --light: #f5f5f5;
}

html, body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;   /* ✅ horizontal scroll band */
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden; /* ✅ safe */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(255, 0, 0, 0.333);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #a00d17;
    transform: translateY(-3px);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary);
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: hidden;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.nav-links :active {
    color: (var(--primary));
}

/* Logo link and image in navbar */
.navbar > a {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 32px;
    text-decoration: none;
    overflow: hidden;
}

.navbar > a img {
    height: 56px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    background: transparent;
}

.navbar > a:hover img {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Responsive: logo smaller on mobile */
@media (max-width: 600px) {
    .navbar > a img {
        height: 44px;
    }
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.244), rgba(0, 0, 0, 0.276)), url('./images/image5.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow-x: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    color: var(--primary);
    margin-top: -30px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: 'Times New Roman', serif;
    font-weight: 600;
    margin-top: -55px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    opacity: 0.9;
    font-family: 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Events Section */
.events {
    background-color: #111;
}

.event-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
}

.event-category {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-category:hover .event-image img {
    transform: scale(1.1);
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.event-info p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
    font-weight: 600;
}

.event-list {
    columns: 2;
    column-gap: 20px;
}

.event-list li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(193, 18, 31, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Video Section */
.video-section {
    background-color: #111;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(193, 18, 31, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s;
}

.video-thumbnail:hover .play-button {
    background-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.r-logo{
    font-size: 2.8rem; 
    vertical-align: super; 
    margin-left: 2px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-family: 'Times New Roman', serif;
    font-weight: 600;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #111;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-logo{
    width: 80px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    font-family: 'Times New Roman', serif;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 4rem;
        margin-top: -20px;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-top: -40px;
    }
    
    .event-list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
        margin-top: -15px;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
        margin-top: -30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.3rem;
        margin-top: -10px;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        margin-top: -25px;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .event-categories {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-family: 'Zuume Rough Bold', sans-serif;
}

.gallery {
    padding: 50px 0;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    position: relative;
    width: 250px;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-overlay.slide-top    { top: -100%; left: 0; }
.gallery-overlay.slide-right  { top: 0; left: 100%; }
.gallery-overlay.slide-bottom { top: 100%; left: 0; }
.gallery-overlay.slide-left   { top: 0; left: -100%; }

.gallery-overlay.in  { top: 0; left: 0; }
.gallery-overlay.out-top    { top: -100%; left: 0; }
.gallery-overlay.out-right  { top: 0; left: 100%; }
.gallery-overlay.out-bottom { top: 100%; left: 0; }
.gallery-overlay.out-left   { top: 0; left: -100%; }
