:root {
    --primary-color: #c25e42;
    --primary-color-hsl: 13.13deg 51.2% 50.98%;
    --secondary-color: #262F1E;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-darker-alternative: #323E28;
    --bg-card: #252525;
    --bg-card-alternative: #1e2518;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --border-color: #3a3a3a;
    --border-color-alternative: #3f4936;
    --accent-hover: #b55a3f;
    --bs-border-radius: 0.5rem;
}

.text-muted {
	color: #777 !important;
}

.navbar {
	--bs-navbar-nav-link-padding-x: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
	position: relative;
}

body.menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

.main-content {
    transition: transform 0.3s ease; /* Smooth transition for main content displacement */
}

body.menu-open .main-content {
    transform: translateY(100px); /* Displacement effect for main content */
}

/* Navbar Styles */
.navbar {
    background-color: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand .logo {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* --- Mobile Menu Overlay --- */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent */
    z-index: 999; /* Below navbar, above main content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* CTA Button */
.btn-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 75, 52, 0.4);
}

.btn-outline-cta {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-cta:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 75, 52, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #00000000 0%, #000000b8 100%);
    padding: 0 0 0 0;
    position: relative;
    height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239F4B34' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    background-image: url("../public/hero-bg2.png");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-intro {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4.0rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image-placeholder {
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    position: relative;
}

.about-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.about-section2 {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.classes-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.services-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.pricing-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.faq-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.contact-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.team-section {
    background-color: var(--bg-dark);
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-hover));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.carousel img {
    object-fit: cover;
    max-height: 800px;
}

#aboutSlider.carousel img {
    object-fit: cover;
    max-height: 400px;
}

/* Class Cards */
.class-card,
.feature-card {
    background: linear-gradient(180deg, #00000000 0%, #000000b8 100%);

    padding: 2rem;
    border-radius: var(--bs-border-radius);
    height: 100%;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.class-card:hover,
.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(159, 75, 52, 0.3);
    transform: translateY(-5px);
}

.class-card .card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0;
    float: left;
    margin-right: 1.5rem;
    line-height: 1rem;
    background-color: #000;
    border-radius: var(--bs-border-radius);
	padding: 0.75rem;
    text-align: center;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-top: 1.0rem;
    margin-bottom: 2.0rem;
    color: var(--text-light);
    font-weight: normal;
}

.class-card h3 b {
    font-size: 125%;
}

.col-lg-4 .class-card h3 {
    margin-top: 0.1rem;
}

.class-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.class-card .btns {
	text-align: center;
}

.schedule-bg:hover {
    transform: none;
}

.class-benefits {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem 0;
}

.class-benefits li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.class-benefits li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.class-schedule {
    max-width: 220px;
	margin: 0 auto 0 auto;
}

.class-schedule h6 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.class-schedule ul {
    list-style: none;
    padding: 0;
    margin: 0 1rem;
}

.class-schedule li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.5);
}

.class-schedule span {
    font-weight: 300;
}

.class-schedule span:last-child {
    font-weight: 800;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 900px;
}

.schedule-table th {
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--accent-hover);
    font-weight: 800;
}

.schedule-table td {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

.schedule-table td:first-child {
    color: var(--accent-hover);
    font-weight: 800;
}

.schedule-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

/* Feature Cards */
.feature-card .card-icon {
    width: 6rem;
    height: 6rem;
    line-height: 4.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem auto;
    background-color: hsl(var(--primary-color-hsl) / 0.1);
    border-radius: 50%;
    padding: 0.75rem;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Fixar a primeira coluna */
.schedule-table td:first-child,
.schedule-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--bg-darker);
	box-shadow: inset -20px 0px 20px -15px #ffffff0d;
}

.schedule-table thead th:first-child {
	box-shadow: none;
    background: transparent;
}

/* Melhorar visual no mobile */
@media (max-width: 768px) {
    .schedule-table td,
    .schedule-table th {
        white-space: nowrap;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table td:first-child,
    .schedule-table th:first-child {
        min-width: 70px;
    }
}

.class-stats {

 }

.stat-row {
    display:flex;
    align-items:center;
    margin-bottom:6px;
}

.stat-label {
    width:110px;
    font-weight:600;
}

.stat-icons i {
    color:#ff6b00;
    margin-right:4px;
}

.stat-icons i.inactive {
    opacity:0.15;
}

.team-quote {
    position: relative;
    font-style: italic;
    font-weight: 500;
    padding-left: 18px;
    margin-top: 12px;
}

.team-quote:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #ff6b00;
    border-radius: 2px;
}

/* Pricing Cards */
.pricing-card {
    background: linear-gradient(145deg, var(--bg-card), var(--secondary-color));
    padding: 2.5rem 2rem;
    border-radius: var(--bs-border-radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(159, 75, 52, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-name {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.package-price {
    margin: 2rem 0;
}

.package-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--primary-color);
}

.package-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.package-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.package-features li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.personal-bg {
    background-image: url('../public/personal_trainer.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 40%;
}

.schedule-bg {
    background-color: var(--bg-darker);
    background-image: url('../public/schedule.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 0 0.5rem;
}

/* FAQ Section */
.accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-color: var(--text-light);
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-btn-bg: var(--bg-card);
    --bs-accordion-btn-color: var(--text-light);
    --bs-accordion-active-bg: var(--secondary-color);
    --bs-accordion-active-color: var(--text-light);
    --bs-accordion-btn-focus-border-color: var(--primary-color);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(159, 75, 52, 0.25);
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color) !important;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: var(--bg-card);
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Section */
.contact-info {
    height: 100%;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    min-width: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-item p {
    color: var(--text-muted);
    margin: 0;
}

.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.social-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: var(--bg-darker);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {

}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: var(--text-light);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: var(--bg-darker);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(159, 75, 52, 0.25);
}

.contact-form .form-select option {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.form-response {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-response.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
    color: #28a745;
    display: block;
}

.form-response.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
    color: #dc3545;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 2px solid var(--border-color);
}

.footer-logo {
    height: 40px;
}

.footer p {
    color: var(--text-muted);
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-placeholder {
        margin-top: 3rem;
        font-size: 4rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
	
	.personal-bg {
		padding-right: 0;
	}
	
	.class-card h3 {
		margin-top: 0.1rem;
	}
	.class-card h3 b {
		display: block;
	}
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 15px;
    }
	
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-cta,
    .btn-outline-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
		text-align:center;
    }

    .hero-buttons .btn:first-child {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .package-price .amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    .navbar-brand .logo {
        height: 40px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .class-card,
    .pricing-card,
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Floating bouncing arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: white;
    animation: bounce-linear 1.2s linear infinite;
    text-decoration: none;
    opacity: 0.85;
}

.scroll-down-arrow:hover {
    opacity: 1;
}

@keyframes bounce-linear {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Back to the top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-hover);
}
