/*
* Wearnovaa - Styles
* Author: Claude
* Version: 1.0
*/

/*
* Table of Contents:
* 1. Reset & Base Styles
* 2. Typography
* 3. Layout & Containers
* 4. Header & Navigation
* 5. Hero Section
* 6. Section Styling
* 7. About Section
* 8. Services Section
* 9. Benefits Section
* 10. Instructors Section
* 11. Schedule Section
* 12. Contact Section
* 13. Footer
* 14. Buttons & Form Elements
* 15. Animations & Transitions
* 16. Utilities
* 17. Success Page
* 18. Static Pages
* 19. Media Queries
*/

/* --------------------------------------------------------
 * 1. Reset & Base Styles
 * -------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

a:hover {
    color: #ADB5BD;
}

/* --------------------------------------------------------
 * 2. Typography
 * -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #343a40;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.slogan {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

/* --------------------------------------------------------
 * 3. Layout & Containers
 * -------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.separator {
    height: 0.3rem;
    width: 6rem;
    background-color: #ADB5BD;
    margin: 2rem auto;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------------
 * 4. Header & Navigation
 * -------------------------------------------------------- */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 2rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: block;
}

.logo {
    width: 180px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 3rem;
}

.nav-list a {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #343a40;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:last-child {
    bottom: 0;
}

.menu-toggle.active span:first-child {
    transform: translateY(10px) rotate(45deg);
}

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

.menu-toggle.active span:last-child {
    transform: translateY(-10px) rotate(-45deg);
}

/* Scrolled header */
.main-header.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------
 * 5. Hero Section
 * -------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 5rem 0;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.parallax-image {
    transition: transform 0.5s ease-out;
}

/* --------------------------------------------------------
 * 6. Section Styling
 * -------------------------------------------------------- */
.section-padding:nth-child(odd) {
    background-color: #E9ECEF;
}

.section-padding:nth-child(even) {
    background-color: #fff;
}

/* --------------------------------------------------------
 * 7. About Section
 * -------------------------------------------------------- */
.about-content {
    display: flex;
    gap: 5rem;
    margin-bottom: 5rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.value-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ADB5BD;
}

/* --------------------------------------------------------
 * 8. Services Section
 * -------------------------------------------------------- */
.services-tabs {
    margin-top: 4rem;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem 2.5rem;
    margin: 0 1rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn svg {
    margin-right: 1rem;
}

.tab-btn.active {
    color: #343a40;
    border-bottom-color: #ADB5BD;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.service-details {
    display: flex;
    gap: 5rem;
    align-items: center;
}

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

.service-text {
    flex: 1;
}

.service-features {
    margin: 2rem 0;
}

.service-features li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
}

.service-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 1rem;
    height: 1rem;
    background-color: #ADB5BD;
    border-radius: 50%;
}

/* --------------------------------------------------------
 * 9. Benefits Section
 * -------------------------------------------------------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-card {
    padding: 3rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
    color: #ADB5BD;
}

/* --------------------------------------------------------
 * 10. Instructors Section
 * -------------------------------------------------------- */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.instructor-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructor-image {
    height: 250px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.instructor-info {
    padding: 2rem;
}

.instructor-title {
    font-size: 1.6rem;
    color: #6c757d;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.instructor-bio {
    margin-bottom: 2rem;
}

.instructor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.instructor-specialties span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #E9ECEF;
    border-radius: 3rem;
    font-size: 1.4rem;
    color: #6c757d;
}

/* --------------------------------------------------------
 * 11. Schedule Section
 * -------------------------------------------------------- */
.schedule-filter {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-btn {
    padding: 1rem 2rem;
    background-color: #E9ECEF;
    border: none;
    border-radius: 3rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #ADB5BD;
    color: #fff;
}

.schedule-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 2fr 1fr 1fr;
    background-color: #fff;
}

.schedule-row.header {
    background-color: #DEE2E6;
    font-weight: 600;
}

.schedule-cell {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #E9ECEF;
}

.schedule-row:last-child .schedule-cell {
    border-bottom: none;
}

.schedule-notes {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* --------------------------------------------------------
 * 12. Contact Section
 * -------------------------------------------------------- */
.contact-content {
    display: flex;
    gap: 5rem;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.info-icon {
    margin-right: 2rem;
    color: #ADB5BD;
}

.info-text h3 {
    margin-bottom: 0.5rem;
}

.studio-map {
    margin-top: 4rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    font-family: 'Karla', sans-serif;
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ADB5BD;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* --------------------------------------------------------
 * 13. Footer
 * -------------------------------------------------------- */
.main-footer {
    background-color: #343a40;
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-info {
    flex: 1;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-logo img {
    filter: brightness(2);
}

.footer-slogan {
    color: #ADB5BD;
    margin-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
}

.footer-nav,
.footer-legal {
    margin-bottom: 2rem;
}

.footer-nav h4,
.footer-legal h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 1rem;
}

.footer-nav a,
.footer-legal a {
    color: #ADB5BD;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------
 * 14. Buttons & Form Elements
 * -------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 3rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #ADB5BD;
    color: #fff;
}

.btn-primary:hover {
    background-color: #6c757d;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #ADB5BD;
}

.btn-outline:hover {
    background-color: #ADB5BD;
    color: #fff;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
}

.btn-full {
    width: 100%;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: #ADB5BD;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #6c757d;
    transform: translateY(-5px);
}

/* --------------------------------------------------------
 * 15. Animations & Transitions
 * -------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 4rem !important;
}

.mb-5 {
    margin-bottom: 5rem !important;
}

/* --------------------------------------------------------
 * 17. Success Page
 * -------------------------------------------------------- */
.success-message {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-content {
    max-width: 600px;
    padding: 5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease forwards;
    margin: 0 auto;
}

.success-icon {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 2rem;
    color: #ADB5BD;
}

.success-message-text {
    margin-bottom: 2rem;
}

.success-actions {
    margin-top: 4rem;
}

/* --------------------------------------------------------
 * 18. Static Pages
 * -------------------------------------------------------- */
.page-content {
    margin-top: 8rem;
}

/* --------------------------------------------------------
 * 19. Media Queries
 * -------------------------------------------------------- */

/* Medium screens (tablets) */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .main-title {
        font-size: 5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-values {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-details {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 50vh;
        margin-top: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-row.header {
        display: none;
    }
    
    .schedule-cell {
        padding: 1rem;
    }
    
    .schedule-cell:before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .slogan {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-info {
        margin-bottom: 3rem;
    }
    
    #back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
    }
}
