/* =========================================
   Reset & Variables
========================================= */
:root {
    /* Color Palette */
    --color-black: #121212;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-gray: #2d2d2d;
    --color-light-gray: #f5f5f5;
    --color-text: #333333;
    --color-text-light: #888888;
    --color-accent: #c5a880; /* Premium Gold/Bronze */
    --color-accent-hover: #b0936b;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Playfair Display', serif; /* For English subtitles */
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Typography & Utility Classes
========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-white {
    color: var(--color-white);
}

.bg-dark {
    background-color: var(--color-black);
}

.bg-light {
    background-color: var(--color-light-gray);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-black);
}

.bg-dark .section-title {
    color: var(--color-white);
}

.section-desc {
    margin-top: 15px;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* =========================================
   Header & Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--color-accent);
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin-top: 80px; /* Offset header */
}

.hero-title {
    color: var(--color-white);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* =========================================
   Features Section
========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0.3;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-black);
}

.feature-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   Middle CTA
========================================= */
.cta-section {
    padding: 80px 0;
    background-color: var(--color-black);
    color: var(--color-white);
    background-image: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('images/cta_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   Trainers Section
========================================= */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trainer-card {
    background: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
}

.trainer-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.trainer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-img {
    transform: scale(1.05);
}

.trainer-info {
    padding: 30px;
}

.trainer-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.trainer-role {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.trainer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* =========================================
   Services Section
========================================= */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

@media (min-width: 768px) {
    .hero {
        height: 100vh;
        max-height: 750px;
    }
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-img-wrapper {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.service-desc {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* =========================================
   Pricing Section
========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
}

.pricing-card.premium {
    border: 2px solid var(--color-accent);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 15px 40px rgba(197, 168, 128, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
}

.tax {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: -10px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light-gray);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-accent);
    margin-right: 10px;
    font-weight: bold;
}

/* =========================================
   Testimonials
========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: 8px;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.customer-info {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.stars {
    color: var(--color-accent);
    letter-spacing: 2px;
}

.testimonial-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* =========================================
   FAQ
========================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 30px 20px;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   Contact Form
========================================= */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 5px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

/* =========================================
   Footer
========================================= */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-address,
.footer-hours {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* =========================================
   Animations
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 992px) {
    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-img-wrapper img {
        height: 300px;
    }

    .pricing-card.premium {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-list a {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .footer-top {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}
