/* CSS Variables */
:root {
    --color-primary: #E60000; /* Red */
    --color-primary-hover: #ff1a1a;
    --color-bg-dark: #0a0a0a;
    --color-bg-lighter: #141414;
    --color-bg-card: #1f1f1f;
    --color-text-main: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --section-padding: 5rem 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Defaults */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    letter-spacing: 1px;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 2rem;
}

.title-underline.center {
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-hash {
    color: var(--color-white); /* Or black if background is light, but here bg is dark */
}

.logo-text {
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

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

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle pattern or texture could go here */
    background-image: radial-gradient(circle at 50% 50%, rgba(230, 0, 0, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 5rem;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* About Section */
.about {
    background-color: var(--color-bg-dark);
}

.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.about-text strong {
    color: var(--color-white);
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--color-bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(230,0,0,0.1), transparent);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-primary);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-badge span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
}

/* Classes Section */
.classes {
    background-color: var(--color-bg-lighter);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background-color: var(--color-bg-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(255,255,255,0.05);
}

.class-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 0, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.class-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.schedule-days {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
}

.schedule-time {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.schedule-desc {
    color: var(--color-text-muted);
}

.address {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background-color: var(--color-bg-dark);
}

.gallery-desc {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--color-white);
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

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

/* Footer */
.footer {
    background-color: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo p {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-social p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    color: var(--color-white);
    transition: var(--transition-medium);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    
    .nav-list.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .class-card {
        padding: 2rem 1.5rem;
    }
}
