/* ========================================
   GO FITNESS - COMPLETE STYLESHEET
   Color Scheme: Teal & Charcoal Dark Theme
   ======================================== */

/* ========================================
   1. CSS RESET & ROOT VARIABLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Go Fitness Brand (Dark Teal Theme) */
    --primary-color: #0f1419;
    --secondary-color: #00b8a9;
    --secondary-light: #00d4bd;
    --secondary-dark: #008f82;
    --accent-color: #f8f8f8;
    --text-light: #ffffff;
    --text-secondary: #b8bcc4;
    --background-dark: #0f1419;
    --background-light: #1a1f26;
    --card-background: #222831;
    --border-color: #2e3540;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(0, 184, 169, 0.3);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    background-color: var(--primary-color);
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--background-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   2. GLOBAL STYLES
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-light);
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   3. NAVIGATION
   ======================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 15px var(--shadow);
}

#navbar.scrolled {
    background-color: rgba(15, 20, 25, 0.98);
    box-shadow: 0 2px 20px rgba(0, 184, 169, 0.2);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 2px;
}

.logo h1 span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================================
   4. HERO SECTION
   ======================================== */

#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a2533 50%, #0f1419 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 75px;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 184, 169, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 189, 0.08) 0%, transparent 50%);
}

.hero-overlay {
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 184, 169, 0.4);
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 184, 169, 0.6);
}

/* ========================================
   5. ABOUT SECTION
   ======================================== */

#about {
    padding: var(--section-padding);
    background-color: var(--background-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.mission-box {
    background: linear-gradient(135deg, var(--card-background) 0%, #1e252e 100%);
    color: var(--text-light);
    padding: 35px;
    border-radius: 12px;
    margin-top: 35px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 5px 20px var(--shadow);
}

.mission-box h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--secondary-light) 100%);
    height: 450px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.3);
    transition: var(--transition);
}

.about-image .image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 184, 169, 0.4);
}

/* ========================================
   6. PROGRAMS SECTION
   ======================================== */

#programs {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.program-card {
    background-color: var(--card-background);
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-top: 4px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-top-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--card-background) 0%, #2a3240 100%);
}

.program-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.icon-placeholder {
    font-size: 4rem;
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--text-light);
}

.program-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.02rem;
}

/* ========================================
   7. FACILITIES SECTION
   ======================================== */

#facilities {
    padding: var(--section-padding);
    background-color: var(--background-dark);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

.facility-image {
    margin-bottom: 18px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.facility-image .image-placeholder {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
}

.facility-item:hover .image-placeholder {
    transform: scale(1.08);
}

.facility-item h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.facility-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-list {
    background: linear-gradient(135deg, var(--card-background) 0%, #1e252e 100%);
    padding: 50px 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 10px 30px var(--shadow);
}

.features-list h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.features-list li {
    color: var(--text-light);
    font-size: 1.08rem;
    padding: 12px;
    background: rgba(0, 184, 169, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

/* ========================================
   8. PRICING SECTION
   ======================================== */

#pricing {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--card-background);
    padding: 45px 35px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 45px var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--card-background) 0%, #2a3240 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-12px);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--text-light);
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(0, 184, 169, 0.4);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 2px;
}

.price {
    margin-bottom: 35px;
    color: var(--secondary-color);
}

.price .currency {
    font-size: 1.6rem;
    vertical-align: top;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.price .period {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.98rem;
}

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

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.05rem;
}

/* Pricing Scroll Arrows (Mobile) */
.pricing-scroll-container {
    position: relative;
}

.pricing-scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 184, 169, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: default;
    z-index: 10;
    transition: var(--transition);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pricing-scroll-arrow.left {
    left: 5px;
}

.pricing-scroll-arrow.right {
    right: 5px;
}

.pricing-scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   9. TESTIMONIALS SECTION
   ======================================== */

#testimonials {
    padding: var(--section-padding);
    background-color: var(--background-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--card-background);
    padding: 45px 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--secondary-color);
}

.quote-icon {
    font-size: 4.5rem;
    color: var(--secondary-color);
    opacity: 0.25;
    line-height: 0;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-image .avatar-placeholder {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ========================================
   10. CONTACT SECTION
   ======================================== */

#contact {
    padding: 100px 0 0 0;
    background-color: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: stretch;
}

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

.info-item h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-social {
    margin-top: 15px;
}

.contact-social h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.social-icon {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-logo {
    width: 26px;
    height: 26px;
}

.contact-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-map iframe {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 184, 169, 0.3);
    transition: var(--transition);
}

.contact-map iframe:hover {
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.5);
    transform: scale(1.02);
}

/* ========================================
   11. FOOTER
   ======================================== */

#footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 25px;
}

.footer-content {
    text-align: center;
    margin-bottom: 35px;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-logo h2 span {
    color: var(--secondary-color);
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ========================================
   12. UTILITIES
   ======================================== */

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ========================================
   13. RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        padding: 2.5rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-top: 1px solid rgba(0, 184, 169, 0.3);
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 15px 0;
        color: var(--text-light);
    }

    .nav-link:hover {
        color: var(--text-light);
    }

    .nav-link:hover::after {
        width: 0;
    }

    .nav-link.active {
        color: var(--text-light);
        font-weight: 700;
    }

    .nav-link.active::after {
        width: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    /* Grids */
    .programs-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Testimonials - 2 column grid on mobile */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .testimonial-card {
        padding: 25px 18px;
    }

    .quote-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .testimonial-text {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .author-image .avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .author-info p {
        font-size: 0.78rem;
    }

    /* Mobile Horizontal Pricing Carousel */
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        min-width: min(calc(100vw - 40px), 400px);
        max-width: min(calc(100vw - 40px), 400px);
        flex-shrink: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin: 0 20px;
    }

    .pricing-card:first-child {
        margin-left: 20px;
    }

    .pricing-card:last-child {
        margin-right: 20px;
    }

    .pricing-card.featured {
        transform: none;
        border: 2px solid var(--secondary-color);
    }

    .pricing-card:hover,
    .pricing-card.featured:hover {
        transform: none;
    }

    .pricing-scroll-arrow {
        display: flex;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-map iframe {
        width: 100%;
        max-width: 600px;
        height: 600px;
    }

    /* Features List */
    .features-list ul {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Very Small Mobile (<480px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}
