/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #8b0000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 80px;
}

.navbar {
    flex: 1;
    text-align: right;
}

.nav-menu {
    list-style: none;
    display: inline-flex;
}

.nav-item {
    margin: 0 15px;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #ffd700;
}

/* Archery Info Section */
#archery-info {
    padding: 40px 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 30px;
    display: block;
}

.section-title {
    color: #8b0000;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.archery-description {
    text-align: justify;
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #444;
}

.image-button-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin: 20px 0; */
    justify-content: center;
}
.register-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-button {
    display: inline-block;
    background-color: #8b0000;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 20px 0;
}

.register-button:hover {
    background-color: #ffa500;
    transform: translateY(-2px);
}

.features-section {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.features-title {
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.features-list {
    max-width: 600px;
    margin: 0 auto;
    list-style-type: none;
    font-size: 1.1em;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.features-list li::before {
    content: "•";
    color: #8b0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    margin-top: auto;
}

.footer p {
    font-size: 0.9em;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: left;
    }

    .hero {
        height: 50vh;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-us,
    .vision,
    .mission,
    .testimonials,
    .contact-us {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Hide menu toggle button by default (desktop) */
.menu-toggle {
    display: none; /* Hide on desktop */
}
/* Common Mobile Responsive Styles - Add to each CSS file */

/* Base responsive typography */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    p, li {
        font-size: 1rem;
    }
}

/* Header responsive styles */
@media (max-width: 768px) {
    .header {
        position: relative;
        z-index: 1000;
    }
    
    .logo {
        height: 60px;
        margin-bottom: 10px;
    }
    
    .navbar {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #8b0000; /* Matching header color */
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item a {
        color: #fff;
        display: block;
        padding: 15px 20px;
        text-align: left;
        transition: all 0.3s ease;
    }

    .nav-item a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffd700;
        padding-left: 25px;
    }
    
    /* Mobile menu toggle button */
    .menu-toggle {
        display: block; /* Show only on mobile */
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
}

/* Hero section responsive */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
        padding: 20px;
    }
    
    .hero-content {
        width: 90%;
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
}

/* Services grid responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .service-item {
        padding: 15px;
    }
}

/* Contact form responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .contact-form,
    .contact-details {
        width: 100%;
        max-width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Chess and Abacus pages specific */
@media (max-width: 768px) {
    .chess-grid,
    .levels {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .chess-item,
    .level {
        margin-bottom: 15px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer {
        padding: 15px;
        text-align: center;
    }
}

/* Specific fixes for registration form */
@media (max-width: 768px) {
    .register-button {
        position: static;
        display: inline-block;
        margin: 10px auto;
        width: 90%;
        text-align: center;
    }
}

/* Additional utility classes for better mobile experience */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
    
    .mobile-padding {
        padding: 15px !important;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Animation for menu dropdown */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}