/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

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

.text-white-dim {
    color: rgba(255, 255, 255, 0.8);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.w-full {
    width: 100%;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-main);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1001;
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.close-menu {
    background: none;
    border: none;
    align-self: flex-end;
    cursor: pointer;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-nav-links a {
    font-size: 1.2rem;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--bg-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero-bg-hq.png');
    background-size: cover;
    background-position: center 65%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* Offset for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.subtitle-hero {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.features {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
}

.icon-accent {
    color: var(--primary-color);
}

.about-image-wrapper {
    position: relative;
    max-width: 400px;
    justify-self: center;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    z-index: 1;
}

/* Video Background Section */
.video-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    color: var(--text-light);
}

.video-section .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.video-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-section .section-title {
    color: var(--text-light);
}

.video-section p {
    color: var(--text-light);
}

/* Practices Section */
.bg-light {
    background-color: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.practice-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-md);
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA / Overlay Section */
.overlay-section {
    background-image: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    padding: 8rem 0;
}

.overlay-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 122, 101, 0.85);
    /* Secondary color overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

/* Contact / Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.info-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item a {
    color: var(--primary-color);
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding-top: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: #aaa;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: var(--spacing-xs);
}

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

.footer-bottom {
    text-align: center;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

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

/* Schedule Page Styles */
.hero-reservas {
    min-height: 500px;
    height: 60vh;
}

.schedule-table-wrapper {
    overflow-x: auto;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-sm);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    text-align: center;
}

.schedule-table th,
.schedule-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.schedule-table th {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.schedule-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    border-right: 1px solid var(--bg-light);
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

.class-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.class-hatha {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.class-vinyasa {
    background-color: #FFF3E0;
    color: #BF360C;
}

.class-aereo {
    background-color: #E3F2FD;
    color: #1565C0;
}

.class-power {
    background-color: #FFEBEE;
    color: #C62828;
}

.class-restaurativo {
    background-color: #F3E5F5;
    color: #4A148C;
}

.class-terapeutico {
    background-color: #E0F7FA;
    color: #006064;
}

.schedule-note {
    text-align: right;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.class-item {
    background: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.class-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.class-item h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.class-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}