/* Custom properties */
:root {
    --primary-bg: #0a0a0a;
    --primary-bg-light: #151515;
    --primary-red: #c0392b;
    --primary-gold: #d4af37;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-speed: 0.3s;
    --nav-height: 80px;
}

/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    width: 100%;
    position: relative;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-gold);
}

/* Accessiblity Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 900px;
}

.section-padding {
    padding: 5rem 0;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-transform: uppercase;
}

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

.text-center + .title-underline {
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.nav-transparent {
    background-color: transparent;
    padding-top: 1rem;
}

.nav-opaque {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* Mobile Nav Open State */
body.nav-open {
    overflow: hidden;
}

.nav-open #main-nav {
    background-color: var(--primary-bg);
}

.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.nav-open .nav-links a {
    font-size: 2rem;
}

.nav-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Desktop Nav */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,1) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-red);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform 0.2s ease;
}

.cta-button:hover, .cta-button:focus {
    background-color: #a93226;
    color: var(--text-main);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .hero-title { font-size: 6rem; }
    .hero-subtitle { font-size: 3rem; }
    .hero-slogan { font-size: 1.3rem; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.about-image img {
    border-radius: 4px;
    box-shadow: -15px 15px 0px var(--primary-red);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Motivation Section */
.motivation-section {
    background-color: var(--primary-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.motivation-content {
    max-width: 900px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.motivation-quote {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-gold);
    padding-left: 1.5rem;
    text-align: left;
}

.motivation-cta {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-br {
    display: none;
}

@media (max-width: 480px) {
    .mobile-br {
        display: block;
    }
}

@media (min-width: 768px) {
    .motivation-quote {
        font-size: 2rem;
    }
}

/* Schedule Section */
.schedule-section {
    background-color: var(--primary-bg-light);
}

.schedule-note {
    color: var(--primary-gold);
    font-style: italic;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.schedule-card {
    background-color: var(--primary-bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.schedule-card:hover, .schedule-card:focus-within {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.schedule-day {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0.5rem 0;
}

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

@media (min-width: 768px) {
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pricing-card {
    background-color: var(--primary-bg-light);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: transform var(--transition-speed) ease;
}

.pricing-card:hover, .pricing-card:focus-within {
    transform: translateY(-10px);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-gold);
    color: var(--primary-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: center;
}

.pricing-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-card.highlighted {
        transform: scale(1.03);
        z-index: 2;
    }
    .pricing-card.highlighted:hover {
        transform: scale(1.03) translateY(-5px);
    }
}

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

.fixed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.fixed-grid .gallery-item {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .fixed-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    grid-auto-rows: auto;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.gallery-item:hover, .gallery-item:focus {
    transform: scale(1.02);
    opacity: 0.9;
}

.gallery-item-hidden, .video-item-hidden {
    display: none !important;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-video {
    width: 100%;
    border-radius: 4px;
    background-color: var(--primary-bg-light);
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform var(--transition-speed) ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-main);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-bg-light);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.lightbox.loading .lightbox-loader {
    display: block;
}

.lightbox.loading .lightbox-content {
    opacity: 0;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.contact-link:hover, .contact-link:focus {
    color: var(--primary-gold);
}

.contact-item.social .ig-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item.social .ig-link:hover, .contact-item.social .ig-link:focus {
    color: #E1306C;
}

.contact-map {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0 auto;
}

.contact-map a {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.contact-map a:hover img, .contact-map a:focus img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.site-footer {
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-img {
    height: 40px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-img:hover {
    opacity: 1;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social a {
    color: var(--text-muted);
}

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

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Animations Reveal Classes */
.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}
