:root {
    --primary-black: #0a0a0a;
    --primary-red: #c00000;
    --primary-white: #f8f8f8;
    --accent-gold: #d4af37;
    --light-gray: #e0e0e0;
    --dark-gray: #222;
    --medium-gray: #333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-black);
    color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Error styling for form validation */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--primary-red);
    border-width: 2px;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-white);
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    margin: 0 10px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--primary-white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-red);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.btn-secondary:hover {
    background: var(--primary-white);
    color: var(--primary-black);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--primary-white);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: var(--primary-red);
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--primary-white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

.cta {
    background: var(--primary-red);
    padding: 8px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.cta:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    background: var(--primary-black);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    background: rgba(34, 34, 34, 0.7);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.value-item h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.instructors {
    margin-top: 50px;
}

.instructors h3 {
    text-align: center;
    margin-bottom: 40px;
}

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

.instructor-card {
    background: var(--medium-gray);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.instructor-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary-red);
}

/* ===== Achievements Section ===== */
.achievements-section {
    background: var(--medium-gray);
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-item {
    display: flex;
    background: var(--primary-black);
    padding: 25px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(192, 0, 0, 0.3);
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.achievement-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* ===== Programs Section ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 25px;
}

.program-duration {
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 10px;
}

/* ===== Athletes Section ===== */
.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.athlete-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.athlete-image {
    position: relative;
}

.athlete-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.athlete-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition);
}

.athlete-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.athlete-card:hover .athlete-overlay {
    opacity: 1;
}

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

.achievements p {
    margin: 8px 0;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.athlete-info {
    padding: 20px;
    background: var(--medium-gray);
    text-align: center;
}

.athlete-info h3 {
    color: var(--primary-white);
    margin-bottom: 5px;
}

.athlete-info p {
    color: var(--light-gray);
    font-size: 1rem;
}

/* ===== Contact Section ===== */
.contact-container {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    margin-bottom: 30px;
    text-align: center;
}

.info-item h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--medium-gray);
    border: 1px solid var(--dark-gray);
    border-radius: 4px;
    color: var(--primary-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.map-placeholder {
    margin-top: 40px;
}

.map-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-gray);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--primary-white);
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: var(--primary-red);
    border-radius: 50%;
}

.footer-links a,
.footer-social a {
    color: var(--light-gray);
    text-decoration: none;
    margin-right: 20px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-bottom .site-credit {
    margin-top: 8px;
}

.footer-bottom .site-credit a {
    color: var(--accent-gold);
    text-decoration: none;
}

.footer-bottom .site-credit a:hover {
    color: var(--primary-red);
}

/* ===== Responsive Design ===== */
/* ===== Gallery Section ===== */
.gallery-section {
    background: var(--primary-black);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--medium-gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(192, 0, 0, 0.4);
    border-color: var(--primary-red);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        margin: 10px 0;
        width: 80%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .values {
        grid-template-columns: 1fr;
    }
    
    .instructor-grid,
    .achievements-container,
    .programs-grid,
    .athletes-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}

