/* Updated Adventure-Themed CSS for Bodywise Gym */

body {
margin: 0;
font-family: Arial, sans-serif;
background: #f5f7fa;
color: #0a1a3c;
}

/* Header */
header {
display: flex;
justify-content: space-between;
padding: 20px;
background: #0053a6;
color: #fff;
position: sticky;
top: 0;
z-index: 100;
}

header .logo {
font-size: 24px;
font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.logo-img {
    height: 65px;
    width: 65px;
    object-fit: contain;
}
nav{
    margin: 0 3%;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
flex-wrap: wrap;
}

nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}

nav ul li a:hover {
color: #ffb347; /* Adventure accent */
}
/* ============================
   DROPDOWN MENU (DESKTOP)
============================ */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    padding: 10px 0;
    min-width: 180px;
    border-radius: 6px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    z-index: 20;
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: #fff;
    transition: 0.3s;
}

.nav-links .dropdown-menu a:hover {
    background: #333;
}

/* Hover on desktop */
@media (min-width: 900px) {
    .nav-links .dropdown:hover .dropdown-menu {
        display: flex;
    }
}

/* ============================
   MOBILE DROPDOWNS
============================ */
nav ul.nav-links.show {
    display: flex;
    flex-direction: column;
}

.nav-links .dropdown-menu.mobile-open {
    display: flex !important;
}

/* Dropdown buttons on mobile */
.drop-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Optional dropdown arrow animation */
.drop-btn.active {
    color: #ffcc00;
}

/* Hamburger styling (if not done) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    nav ul.nav-links {
        display: none;
        position: absolute;
        right: 0;
        top: 70px;
        background: #111;
        width: 240px;
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
    }
}

/* Hero Section 
.hero {
    position: relative;
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(rgba(0, 83, 166, 0.7), rgba(0, 83, 166, 0.7)), url('assets/gym.jpg') center/cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: brightness(0.45);
}
*/
/* Hero Section */ 
.hero { position: relative; 
	height: 80vh; 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	text-align: center; 
	overflow: hidden; 
	color: #fff; 
	background: linear-gradient(rgba(0, 83, 166, 0.7), rgba(0, 83, 166, 0.7)), url('assets/gym.jpg') center/cover; }

.hero-video { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	z-index: -1; 
	filter: brightness(0.45); }

.hero-content { z-index: 3; 
	padding: 20px; }

.cta-btn {
background: #ffb347; /* Adventure accent */
color: white;
padding: 12px 25px;
border-radius: 5px;
text-decoration: none;
margin-top: 20px;
font-weight: bold;
transition: 0.3s;
}

.cta-btn:hover {
background: #ff7e5f;
}

/* Sections */
section {
padding: 60px 20px;
text-align: center;
}

/* Cards */
.services .service-cards,
.trainers .trainer-cards,
.testimonials .testimonial-cards,
.gallery .gallery-grid,
.adventures .challenge-cards {
display: grid;
gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card, .trainer, .testimonial {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: 0.3s;
}

.card:hover, .trainer:hover, .testimonial:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.gallery img {
width: 100%;
border-radius: 10px;
transition: 0.3s;
}

.gallery img:hover {
transform: scale(1.05);
}

/* Forms */
form input, form textarea, form select {
width: 100%;
padding: 12px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}

.btn {
background: #ffb347; /* Adventure accent */
color: #fff;
padding: 12px 20px;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}

.btn:hover {
background: #ff7e5f;
}

/* FOOTER */
.gym-footer {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a, #111111);
    color: #fff;
    padding: 60px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Titles */
.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: gold;
}

/* Map Section */
.map-section iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 15px #000;
}

/* Reach Us Wrapper */
.reach_us {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
}

/* Cards */
.box3 {
    flex: 1;
    min-width: 250px;
    background: #0f0f0f;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.box3:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* Hours & Contacts */
.hours-section ul,
.contact-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-section li,
.contact-section li {
    margin: 8px 0;
    opacity: 0.85;
    font-size: 15px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.icon svg {
    width: 36px;
    height: 36px;
    fill: #ffffffcc;
    transition: transform .3s ease, fill .3s ease;
}

.icon:hover svg {
    transform: scale(1.3);
    fill: gold;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}
.footer-bottom a {
    color: gold;
    text-decoration: none;
}

/* Responsive Design */

/* Tablets */
@media (max-width: 900px) {
    .reach_us {
        gap: 20px;
    }

    .box3 {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Phones */
@media (max-width: 600px) {

    .gym-footer {
        padding: 45px 15px;
    }

    .map-section iframe {
        height: 260px;
    }

    .icon svg {
        width: 30px;
        height: 30px;
    }

    .reach_us {
        flex-direction: column;
    }

    .box3 {
        width: 90%;
        min-width: 90%;
    }
}

/* Extra Small Phones */
@media (max-width: 400px) {
    .map-section iframe {
        height: 230px;
    }
}







/*WHATSAPP*/

















/* 
HERO VIDEO ON MOBILE DEVICES
Adjust hero height for smaller devices */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* shorter hero on mobile */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh; /* even shorter for very small screens */
    }
}
