
/****  BASE STYLES ****/
body{
    background: #3a3b3b
}
h1, h2, p { 
   font-family: Arial, Helvetica, sans-serif;
   color: white;
   padding:0px;
}
h1{ 
   font-size: 40px; 
   font-weight: 700;
}
h2{
   font-size: 30px; 
   font-weight: 600; 
}
p{ 
  font-size: 20px;
  font-weight: 500; 
}
/**** HEADER & Footer ****/
header {
    border: 3px solid #00ff9f;
    height: 60px; 
    display: flex; 
    align-items: center;    
    justify-content: space-between; 
    padding: 0 20px;
    background: #3a3b3b;
}
header h1 {
    margin: 0;
    padding-left: 0; 
    flex: 1;         
}
nav {
    flex: 2;        
    display: flex;
    justify-content: center; 
}
header::after {
    content: "";
    flex: 1;
}

nav a {
    margin: 0 15px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}
    nav a:hover {
    background: white;
    box-shadow: 0 0 20px #00ff9f;
    transition: 0.3s;
    color: black;
}
footer {
    border: 3px solid #00ff9f;
    padding: 20px;           
    display: flex; 
    flex-direction: column;  
    align-items: center;   
    justify-content: center;
    margin-top: 50px;        
}
footer p {
    padding-left: 0;         
    font-size: 14px;         
    margin: 5px 0;           
}
/**** Hero ****/
#hero{
    position: relative;
    height: 60vh;
    background-image: url(images/gympic.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.heroOverlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;   
}
.heroText{
    position: absolute;
    top:40px;
    left: 40px;
    color: #00ff9f;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 4rem;
    z-index: 1;
    text-align: left;
}
.hero-btn{
    position:absolute;
    bottom: 40px;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    padding:14px 28px;
    background: #00ff9f;
    color: black;
    border-radius: 6px;
    font-weight: bold;
    z-index: 2;}
    .hero-btn:hover {
    background: white;
    box-shadow: 0 0 20px #00ff9f;
    transition: 0.3s;
}
/**** Base CARD & Grid ****/
.grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1800px;
    margin: auto;
}
.cards {
    width: 100%;           
    height: auto;          
    min-height: 350px;     
    background: #222;
    color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;   
    font-size: 1.5rem;
    border: 3px solid #00ff9f;
    padding: 20px;
    box-sizing: border-box; 
}
.cards:hover {
    transform: scale(1.05);
}
/**** Membership Cards ****/
#memberships .cards {
    flex-direction: column;   
    justify-content: space-around; 
    padding: 20px;
    height: auto;             
    min-height: 450px;        
}
#memberships h1 {
    font-size: 45px;
    color: #00ff9f;         
    margin: 0;
    padding: 0;
}
#memberships h1 span {
    font-size: 16px;          
    color: white;
}
#memberships ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
#memberships li {
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 5px;
}
/**** Classes Cards ****/
.class-card.horizontal {
    display: flex;
    max-width: 1750px;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    border: 3px solid #00ff9f;
    background: black;
    border-radius: 12px;
    margin: 20px auto; 
}
/* Left Side: Branding */
.card-branding {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
/* Right Side: Content */
.card-content {
    flex: 1;
    text-align: left;
    padding-left: 30px; 
    border-left: 2px solid rgba(183, 1, 255, 0.986); 
}
.card-branding span {
    font-size: 2rem;
    color: #bc13fe;
    font-weight: 800;
    text-transform: uppercase;
}
.card-logo {
    width: 200px;
    filter: drop-shadow(0 0 10px #bc13fe);
}
.card-content p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}
/**** Trainers Cards ****/
#trainers .cards {
    flex-direction: column;   
    justify-content: space-between;
    padding: 30px 15px;
    height: auto;             
    min-height: 500px;        
    text-align: center;
}
.faceshot {
    width: 200px;             
    height: 200px;
    object-fit: cover;        
     object-position: top; 
    border-radius: 50%;       
    border: 3px solid #00ff9f; 
    filter: drop-shadow(0 0 10px #00ff9f);
    margin: 15px 0;
    box-shadow: 0 0 20px rgba(255, 0, 221, 0.3);
}
#trainers ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
#trainers li {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 8px;
    text-transform: capitalize;
}
#trainers h3 {
    padding-left: 0; 
    color: #00ff9f;
}
#trainers .cards p {
    padding-left: 0;         
    font-size: 14px;         
    color: #00ff9f;          
    font-style: italic;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding-top: 10px;
}
/**** FINAL COMBINED MOBILE FIX ****/
@media screen and (max-width: 768px) {
    body, html {
        overflow-x: hidden; 
        width: 100%;
    }
    h1, h2, h3, p {
        padding-left: 0 !important;
        text-align: center !important;
    }
    header {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px 0 !important;
    }
    header::after { display: none; }
    nav { 
        margin-top: 15px; 
        flex-wrap: wrap; 
        justify-content: center;
    }
    nav a { 
        margin: 5px 10px; font-size: 16px;
    }
    .heroText {
        font-size: 2.3rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 20px !important;
        text-align: center !important;
        width: 90%;
    } 
    .class-card.horizontal {
        flex-direction: column !important; 
        width: 90% !important;             
        max-width: 90% !important;
        margin: 20px auto !important;      
        padding: 20px !important;
        height: auto !important;          
    }
    .card-branding {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 10px;
    }
    .card-branding span { 
        font-size: 1.5rem !important;
    }
    .card-logo {
         width: 100px !important; height: auto;
    }
    .card-content {
        width: 100% !important;
        padding-left: 0 !important;      
        border-left: none !important;    
        border-top: 2px solid rgba(183, 1, 255, 0.3); 
        padding-top: 20px !important;
        text-align: center !important;
    }
    .card-content ul {
        display: inline-block;
        text-align: left; 
        margin: 10px auto !important;
        padding: 0 !important;
    }
    .card-content li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
}