@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Inter:wght@300;400;700&display=swap');

:root {
    --red: #e63946;
    --black: #000000;
    --dark-grey: #0b0b0b;
    --text-grey: #b0b0b0;
}
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #0b0b0b;
  color: #fff;
}



/* ==========================================================================
   2. NAVIGATION & DROPDOWN (PREMIUM CENTERED DESIGN)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

:root {
    --red: #ff0000;
    --transition: all 0.3s ease;
}

.xtreme-nav-header {
    background: #000;
    padding: 10px 0;
    border-bottom: 2px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* This pushes Logo Left and Nav Right */
    max-width: 100%;
    padding: 0 50px;
}

/* Ensure the nav-section doesn't grow and push the logo off-center */
.nav-section {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-container { padding: 0 20px; }
    
    .nav-section.right {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .nav-container.mobile-active .nav-section.right {
        display: flex;
    }
}
/* --- NAVIGATION LINKS --- */
.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    display: block;
}

/* RED UNDERLINE EFFECT */
.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px; /* Lifted slightly to look cleaner */
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav > li > a:hover::after,
.main-nav > li > a.active::after {
    transform: scaleX(1);
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
    color: var(--red);
}

/* --- LOGO STYLING --- */
.logo-horizontal {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-main-row { 
    display: flex; 
    align-items: baseline; 
    gap: 4px; 
}

.gregs { 
    color: var(--red); 
    font-family: 'Times New Roman', serif; 
    font-size: 1.8rem; 
    font-weight: bold; 
}

.x-accent { 
    color: var(--red); 
    font-family: Arial, sans-serif; 
    font-size: 2.2rem; 
    font-weight: 900; 
    font-style: italic; 
    line-height: 1; 
}

.treme { 
    color: #fff; 
    font-family: 'Times New Roman', serif; 
    font-size: 1.5rem; 
    font-weight: bold; 
}

.swoosh-line { 
    width: 100%; 
    height: 3px; 
    background: #8bc34a; 
    margin: 2px 0; 
    border-radius: 10px; 
}

.logo-sub-row { 
    color: #8bc34a; 
    font-family: 'Oswald', sans-serif; 
    font-size: 0.8rem; 
    letter-spacing: 4px; 
    text-align: center; 
    font-weight: 700; 
}

/* --- DROPDOWN & PORTAL LOGIC --- */
.dropdown { position: relative; }

/* Global Dropdown Menu Style */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    border-top: 3px solid var(--red);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    z-index: 2000;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: #1a1a1a;
    color: var(--red);
    padding-left: 30px;
}

/* Portal Login Styling */
.portal-dropdown {
    margin-left: 30px; /* Space between Contact Us and Portal */
    border: 1px solid #333;
    border-radius: 4px;
}

.portal-dropdown:hover {
    border-color: var(--red);
}

.portal-menu {
    left: auto;
    right: 0; /* Aligns portal menu to the right of the button */
}

/* Invisible bridge to prevent flickering */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}


/* --- DESKTOP VIEW (Default) --- */
@media (min-width: 993px) {
    .mobile-menu-btn { display: none !important; }
    .nav-section.right { display: flex !important; position: static !important; }
}

/* --- MOBILE VIEW --- */
@media (max-width: 992px) {
    /* Explicitly override to show the button */
    .mobile-menu-btn {
        display: block !important; 
        color: white;
        font-size: 30px;
        cursor: pointer;
        padding: 10px;
        z-index: 99999;
        position: relative;
    }

    .nav-section.right {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-top: 2px solid var(--red);
        z-index: 9999;
    }

    .nav-container.mobile-active .nav-section.right {
        display: flex !important;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }
}



/*============================================= 
HERO SECTION 
=========================================*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 80px;
    border-radius: 1px;
}

.hero-overlay h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    color: #a51d1d;
    margin: 0;
}

.hero-overlay p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; /* Extra light weight */
    font-size: 0.9rem; /* Smaller, but more powerful */
    letter-spacing: 5px; /* Wide spacing for that airy feel */
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
    
}

.btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: 'Oswald';
    font-weight: 700;
    text-transform: uppercase;
    clip-path: rounded(10% 0, 100% 0, 90% 100%, 0% 100%);
    background: #a51d1d;
}

.btn:hover {
  background: #ff0000;
}
/*============================================= 
HERO SECTION 
=========================================*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 80px;
    border-radius: 1px;
}

.hero-overlay h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    color: #a51d1d;
    margin: 0;
}

.hero-overlay p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; /* Extra light weight */
    font-size: 0.9rem; /* Smaller, but more powerful */
    letter-spacing: 5px; /* Wide spacing for that airy feel */
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
    
}

.btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: 'Oswald';
    font-weight: 700;
    text-transform: uppercase;
    clip-path: rounded(10% 0, 100% 0, 90% 100%, 0% 100%);
    background: #a51d1d;
}

.btn:hover {
  background: #ff0000;
}

/*===============================================
DETAILED MAIN SECTIONS =
=================================================*/
.content-wrapper { 
    padding: 120px 8%; 
    position: relative; 
}

.side-accent-text {
    position: absolute;
    left: 20px; top: 30%;
    font-family: 'Oswald';
    font-size: 6rem;
    color: rgba(255,255,255,0.03);
    transform: rotate(90deg);
    z-index: -1;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-stack { 
    position: relative; 
}

.img-large { 
    width: 100%; 
    border-radius: 0px;
    filter: grayscale(30%);
}

.accent-frame {
    position: absolute;
    top: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 8px solid var(--red);
    z-index: -1;
}

.section-tag { 
    color: var(--red); 
    font-weight: 700; 
    letter-spacing: 4px; 
    font-size: 0.8rem; 
}
.outline-text { 
    -webkit-text-stroke: 1px var(--red); 
    color: transparent; 
}

.red-text { 
    color: var(--red); 
}

.check-list { 
    margin-top: 30px; 
}
.check-item {
    margin-bottom: 15px; 
    font-family: 'Oswald'; 
    font-size: 1.1rem; 
}
.check-item span { 
    color: var(--red); 
    margin-right: 15px; 
}

/*=============================================== 
FACILITIES DETAIL 
=================================================*/
.facilities-detail { 
    background: #000; padding: 100px 0; 
}
.facility-grid { 
    display: flex; align-items: center; 
    margin-top: -70px;
}
.facility-info { 
    flex: 1; padding: 0 10%; 
    margin-top: -55px;
}
.facility-visual { 
    flex: 1; 
}
.facility-visual img { 
    width: 100%; 
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    max-height: 2100px;
    margin-top: -20px;
}

.tag-cloud { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 30px; 
}

.tag-cloud span { 
    border: 1px solid #333; 
    padding: 5px 15px; 
    font-size: 0.7rem; 
    color: var(--text-grey); 
}

/*=========================================== 
ACTION CARDS 
============================================*/
.action-grid-v2 {
    display: flex;
    background: #000;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    margin-top: -90px;
}

.action-split-card {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 8%;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

/* Creating the Slant Effect */
.transform-side {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2;
    background: #111;
}

.tour-side {
    margin-left: -10%; /* Overlap for the slant */
    padding-left: 15%;
    background: #0a0a0a;
}

/* Background Image Glow */
.split-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s, transform 0.8s;
}

.transform-side .split-image { background-image: url('..//GREGXF/Images/training-bg.jpg'); }
.tour-side .split-image { background-image: url('..//GREGXF/Images/gym-wide.jpg'); }

/* Content Styling */
.split-content {
    position: relative;
    z-index: 5;
}

.small-tag {
    color: var(--red);
    font-family: 'Oswald';
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.action-split-card h3 {
    font-family: 'Oswald';
    font-size: 3.5rem;
    line-height: 1;
    text-transform: uppercase;
    margin: 15px 0;
}

.split-btn {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald';
    font-weight: 700;
    border-bottom: 2px solid var(--red);
    padding-bottom: 5px;
    transition: 0.3s;
}

/* Interactive Hover Effects */
.action-split-card:hover {
    flex: 1.3; /* Expands the hovered side */
}

.action-split-card:hover .split-image {
    opacity: 0.6;
    transform: scale(1.1);
}

.action-split-card:hover .split-btn {
    padding-left: 15px;
    color: var(--red);
}

/* Responsive Fix */
@media (max-width: 900px) {
    .action-grid-v2 { flex-direction: column; }
    .transform-side, .tour-side { 
        clip-path: none; 
        margin-left: 0; 
        padding: 80px 10%;
    }
}

/*================================================= 
FOOTER 
====================================================*/
.xtreme-footer {
    background: #000;
    position: relative;
    padding-top: 20px; /* Reduced from 60px */
    margin-top: 60px;  /* Brought closer to the section above */
    color: #fff;
}

/* The aggressive diagonal top edge - Made slightly shallower */
.footer-top-slant {
    position: absolute;
    top: -30px; /* Reduced from -40px */
    left: 0;
    width: 100%;
    height: 60px; /* Reduced from 80px */
    background: #000;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    border-top: 4px solid #d90000;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px; /* Thinner padding */
}

.footer-main {
    text-align: center;
    padding-bottom: 20px; /* Reduced from 40px */
}

/* Big Bold Branding - PULLED UP HIGHER */
.footer-logo-section {
    margin-top: -60px; /* This pulls the logo UP into the slant */
    position: relative;
    z-index: 5;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem; /* Made slightly bigger since it's the hero now */
    letter-spacing: -1px;
    margin-bottom: 0px; 
}

.footer-logo span {
    color: #d90000;
    -webkit-text-stroke: 1px #d90000;
}

.footer-logo-section p {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px; /* Reduced from 30px */
}

.footer-divider {
    width: 40px; /* Smaller divider */
    height: 3px;
    background: #d90000;
    margin: 0 auto 30px; /* Reduced from 50px */
}

/* 3-Column Info Grid - MORE COMPACT */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; /* Reduced from 40px */
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px; /* Reduced from 40px */
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #d90000;
    margin-bottom: 10px;
}

.footer-col p, .footer-col a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem; /* Slightly smaller text */
    color: #aaa;
    text-decoration: none;
    line-height: 1.4;
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
    padding: 15px 0; /* Reduced from 30px */
    text-align: center;
}

.footer-bottom-bar p {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
    margin: 0;
}

.footer-map {
    margin-top: 15px;
    border: 1px solid #1d1b1b; /* Dark border to match theme */
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(100%) invert(90%) contrast(100%); /* Optional: Makes the map dark-themed */
    transition: 0.3s;
}

.footer-map:hover {
    filter: none; /* Map turns to full color on hover */
}

.footer-map iframe {
    display: block;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: #111; /* Dark background */
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials svg {
    width: 18px; /* Perfectly sized inside the circle */
    height: 18px;
    fill: #fff; /* Icons start as white */
    transition: fill 0.3s ease;
}

.footer-socials a:hover {
    background: #000;
    border-color: #d90000; /* Red border on hover */
    transform: translateY(-3px);
}

.footer-socials a:hover svg {
    fill: #d90000; /* Icons turn red on hover */
}

/* Clean Alignment for Hours Column */
.hours-wrap p {
    display: flex;
    justify-content: space-between; /* Pushes time to the right */
    border-bottom: 1px solid #111; /* Subtle divider */
    padding-bottom: 5px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.hours-wrap p span:first-child {
    color: #d90000; /* Red days */
    font-weight: bold;
}

/* Ensure social icons are aligned left under the title */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    justify-content: center; /* Center them for the main-section feel */
}

/* Make sure the grid handles the center column correctly */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .footer-socials {
        justify-content: center;
    }
}
