/* ========================================
   BLACK SITE FITNESS - STYLESHEET
   Brand Colors: #303031, #BC1818, #C94646
   Fonts: Conthrax (SemiBold, Light Italic, Bold)
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #303031;
    background-color: #ffffff;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    color: #BC1818;
}

h2 {
    font-size: 1.75rem;
    color: #BC1818;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    color: #303031;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
}

a {
    color: #BC1818;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C94646;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #BC1818;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #C94646;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(188, 24, 24, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #BC1818;
    border: 2px solid #BC1818;
}

.btn-secondary:hover {
    background-color: #BC1818;
    color: #ffffff;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.main-header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-title {
    font-size: 2.8rem;
    color: #303031;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
}

.logo-primary {
    height: 120px;
    width: auto;
}

.logo-secondary {
    height: 80px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #303031;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #BC1818;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .site-title {
        font-size: 1.8rem;
        order: -1;
    }
    
    .logo-group {
        gap: 15px;
    }
    
    .logo-primary {
        height: 80px;
    }
    
    .logo-secondary {
        height: 60px;
    }
    
    .main-nav {
        width: 100%;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .main-nav a {
        font-size: 0.75rem;
        padding: 5px 4px;
        white-space: nowrap;
    }
}

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.announcement-bar {
    background: linear-gradient(135deg, #BC1818 0%, #C94646 100%);
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}

/* ========================================
   HERO SECTION - OPTIMIZED FOR MOBILE
   ======================================== */
.hero-section {
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    z-index: 2;
    padding: 20px;
}

.hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #BC1818;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #303031;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.badge {
    display: inline-block;
    background-color: #ffffff;
    color: #303031;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #BC1818;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-media {
    position: relative;
    width: 100%;
}

/* VIDEO - REDUCED HEIGHT ON MOBILE */
.hero-video {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    background-color: #000;
}

.hero-image-mobile {
    display: none;
}

/* Mobile Optimization - Show image instead of video */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .badge {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    /* Hide video on mobile, show static image */
    .hero-video {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
        width: 100%;
        max-height: 250px;
        object-fit: contain;
        border-radius: 8px;
        background-color: #f8f8f8;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
}

/* Desktop Layout */
@media (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 60px 20px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .hero-video {
        max-height: 500px;
        object-fit: contain;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #BC1818;
}

.about-card h3 {
    color: #BC1818;
    margin-bottom: 15px;
}

.image-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.image-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-intro .btn-primary {
    margin-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #BC1818;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(188, 24, 24, 0.2);
}

.service-card h3 {
    color: #BC1818;
    margin-bottom: 15px;
}

.testimonial-box {
    background: linear-gradient(135deg, #BC1818 0%, #C94646 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.testimonial-box blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    font-weight: 300;
}

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

/* ========================================
   FOUNDER SECTION
   ======================================== */
.founder-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.founder-text h2 {
    margin-bottom: 25px;
}

.founder-text p {
    margin-bottom: 20px;
}

.founder-cta {
    margin-top: 30px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #BC1818;
}

.highlight {
    font-weight: 600;
    color: #303031;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
    padding: 60px 20px;
    background-color: #303031;
    color: #ffffff;
}

.gallery-section h2 {
    color: #BC1818;
    text-align: center;
    margin-bottom: 15px;
}

.gallery-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(188, 24, 24, 0.3);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(188, 24, 24, 0.3);
    border-color: #BC1818;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h3 {
    color: #C94646;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gallery-caption p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
    padding: 40px 20px;
    background: rgba(188, 24, 24, 0.1);
    border-radius: 12px;
    border: 2px solid #BC1818;
}

.gallery-cta p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-cta .btn-primary {
    display: inline-block;
}

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

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

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    color: #BC1818;
    margin-bottom: 10px;
}

.contact-item a {
    color: #303031;
    font-weight: 600;
}

.contact-item a:hover {
    color: #BC1818;
}

.contact-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-cta {
    text-align: center;
    padding: 50px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #BC1818;
}

.booking-cta h3 {
    color: #BC1818;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.booking-cta p {
    margin-bottom: 25px;
}

.booking-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background-color: #303031;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

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

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-info a {
    color: #C94646;
    text-decoration: underline;
}

.footer-info a:hover {
    color: #BC1818;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .main-header,
    .announcement-bar,
    .hero-media,
    .main-footer {
        display: none;
    }
    
    body {
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}
