/* Navbar adjustments */
.navbar {
    grid-template-columns: auto 1fr auto;
    height: 8vh;
    padding: 0 10px;
}

.nav-left, .nav-right {
    margin: 0;
}

.nav-center {
    font-size: 1.2rem;
    /* padding-top: 5px; */
    text-align: center;
}

.nav-center img {
    height: 6vh;  /* Slightly smaller for mobile */
    max-width: 200px;  /* Narrower max-width for mobile */
}


.nav-right button {
    display: none;  /* Hides the "See Plans" button */
}

/* Front page adjustments */
.front-pic-container {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.front-page-pic {
    width: auto; /* Remove fixed width */
    height: 100%; /* Fill container height */
    min-width: 115%; /* Ensure it's at least as wide as the container */
    object-fit: cover; /* This will maintain aspect ratio while filling the space */
    position: absolute;
    left: 50%;
    transform: translateX(-55%); /* Changed from -50% to -53% to shift left */
}

.overlay-text h1,
.overlay-text h1[style],
.front-pic-container .overlay-text h1 {
    font-size: 36px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    padding: 0 20px;
    word-wrap: break-word;
    max-width: 100%;
}

/* Add specific styling for the "STROTHER PT" text */
.overlay-text h1:nth-child(2) {
    font-size: 48px !important;
}

/* Big text section */
.big-text-section h1 {
    font-size: 32px;
    padding: 0 20px;
}

.big-text-section h2 {
    font-size: 24px;
    padding: 0 20px;
}

/* Kagami section */
.kagami-container {
    flex-direction: column;
    padding: 40px 20px;
}

.kagami-pic, .kagami-info {
    width: 100%;
    text-align: center;
}

.kagami-info {
    padding-top: 20px;
    align-items: center;
}

.kagami-info h1 {
    font-size: 32px;
    text-align: center;
}

/* Services section */
.services-container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
}

.one-service-container {
    width: 100%;
    height: 300px;
}

/* Training plans section */
.training-plans-title {
    font-size: 32px;
    padding: 0 20px;
}

.training-plans-table {
    display: block;
    width: 95%;
    margin: 0 auto;
    overflow-x: hidden;
    white-space: normal;
}

.plan-title {
    font-size: 24px;
    padding-top: 30px;
}

.training-plans-table td, th {
    padding: 10px;
    font-size: 16px;
    word-wrap: break-word;
    max-width: 200px;
}

.plan-price-number {
    font-size: 28px;
}

/* Shogun section */
.shogun-training-plan {
    padding: 40px 20px;
}

.shogun-training-plan h1 {
    font-size: 32px;
}

.shogun-training-plan p:first-of-type {
    font-size: 18px;
}

.accountability-training-plan h1 {
    font-size: 160%;
}

.accountability-training-plan p:first-of-type {
    font-size: 18px;
}

.accountability-training-plan p:nth-of-type(2) {
    font-size: 16px;
}

/* Contact form */
.contact-form-container {
    width: 90%;
    margin: 0 auto;
}

.contact-title {
    font-size: 32px;
    margin-top: 40px;
}

.form-group:nth-child(1),
.form-group:nth-child(2) {
    width: 100%;
}

/* Footer */
footer {
    padding: 20px 0;
}

footer h3 {
    font-size: 20px;
}

/* Video container */
.intro-vid {
    width: 100%;
    margin: 20px 0;
}

/* General button adjustments */
.begin-journey-button,
.book-session-button,
.purchase-button,
.submit-button {
    width: 80%;
    max-width: 300px;
}

.begin-journey-button {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    width: 80%;
    max-width: 250px;
    margin-top: 20px;
    background-color: white;
    color: #11151c;
} 

.book-session-button,
.purchase-button,
.submit-button,
.kagami-info button {
    background-color: white;
    color: #11151c;
}

/* General adjustments to prevent overflow */
* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Hide desktop table on mobile */
.desktop-only {
    display: none;
}

/* Plan selector styles */
.plan-selector {
    display: none;
}

/* Show plan selector only on mobile */
@media screen and (max-width: 870px) {
    /* General rule for mobile-only elements */
    .mobile-only {
        display: block !important;  /* Add !important here */
    }

    /* Specific rules for different elements */
    .plan-selector.mobile-only {
        display: flex !important;  /* Add !important here */
        justify-content: center;
        gap: 10px;
        margin: 20px 0 0px 0;
        width: 100%;
    }

    .mobile-plan.mobile-only {
        display: none !important;  /* Add !important here */
    }

    .mobile-plan.mobile-only.active {
        display: block !important;  /* Add !important here */
    }
}

.plan-select-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.plan-select-btn.active {
    background: white;
    color: #11151c;
}

/* Mobile plan display */
.mobile-plan {
    display: none;
    width: 90%;
    margin: 0px auto;
    margin-bottom: 10px;
    color: white;
    padding-bottom: 20px;
}

.mobile-plan.active {
    display: block;
}

.mobile-plan .plan-title {
    text-align: center;
    margin-bottom: 10px;
}

.mobile-plan .plan-description {
    text-align: center;
    margin-bottom: 30px;
}

.mobile-plan .purchase-button {
    width: 80%;
    max-width: 300px;
    margin: 20px auto 0 auto;
    display: block;
}

.plan-feature {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.feature-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: right;
}

/* Update in your mobile CSS */
/* .mobile-only {
    display: flex !important;
} */

.overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding-top: 0;
}

.reviews-wrapper {
    flex-direction: column;
}

.review-card {
    display: none;
    margin: 0 40px;
}

.review-card.active {
    display: flex;
}

.carousel-button {
    display: block;
}

.reviews-container {
    padding: 40px 10px;
}

.google-logo {
    height: 30px;
}

.stars {
    font-size: 20px;
}

.rating-number {
    font-size: 20px;
}

.stars {
    font-size: 20px;
}

.rating-text {
    font-size: 20px;
}

.rating-number {
    font-size: 20px;
} 