/* 
* Voxentra Yoga Studio - Main Stylesheet
* Website: voxentra.shop
* Author: Claude AI
* Date: May 23, 2025
*/

/* ==================== 
   Table of Contents:
   1. Reset & Base Styles
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Hero Section
   6. Section Styles
   7. Classes Section
   8. Instructors Section
   9. Benefits Section
   10. Schedule Section
   11. Testimonials Section
   12. Gallery Section
   13. Contact Section
   14. Footer
   15. Buttons & Form Elements
   16. Utility Classes
   17. Animations
   18. Media Queries
   19. Policy Pages
   20. Success Page
   21. Back to Top Button
==================== */

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

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #F7F3EB;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

a:hover, a:focus {
    color: #A3B5A6;
}

/* ==================== 2. Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #4A4A4A;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

/* ==================== 3. Layout & Grid ==================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-intro {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #4A4A4A;
}

/* ==================== 4. Header & Navigation ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(247, 243, 235, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(247, 243, 235, 0.98);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: block;
    max-width: 200px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #4A4A4A;
    transition: all 0.3s ease;
}

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

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #4A4A4A;
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #88A09E;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.btn-nav {
    background-color: #88A09E;
    color: #F7F3EB !important;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover,
.btn-nav:focus {
    background-color: #A3B5A6;
}

.btn-nav::after {
    display: none !important;
}

/* ==================== 5. Hero Section ==================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/img08.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 0;
    color: #F7F3EB;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #F7F3EB;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #F7F3EB;
}

/* ==================== 6. Section Styles ==================== */
.classes-section,
.benefits-section,
.testimonials-section {
    background-color: #F7F3EB;
}

.instructors-section,
.schedule-section,
.gallery-section,
.contact-section {
    background-color: #F7F3EB;
    position: relative;
}

.instructors-section::before,
.schedule-section::before,
.gallery-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C1DAD6;
    opacity: 0.1;
    z-index: 0;
}

.instructors-section .container,
.schedule-section .container,
.gallery-section .container,
.contact-section .container {
    position: relative;
    z-index: 1;
}

section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ==================== 7. Classes Section ==================== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.class-card {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.class-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
}

.class-card h3 {
    margin-bottom: 1rem;
}

.class-card p {
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

.btn-text {
    font-weight: 600;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #88A09E;
    transition: width 0.3s ease;
}

.btn-text:hover::after,
.btn-text:focus::after {
    width: 100%;
}

/* ==================== 8. Instructors Section ==================== */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

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

.instructor-image {
    width: 100%;
    height: 0;
    padding-bottom: 133.33%; /* 4:3 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.instructor-title {
    font-style: italic;
    color: #88A09E;
    margin-bottom: 1rem;
}

/* ==================== 9. Benefits Section ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    background-color: #FFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    margin-bottom: 0.75rem;
}

/* ==================== 10. Schedule Section ==================== */
.schedule-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #DCDCDC;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #4A4A4A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-color: #88A09E;
    color: #88A09E;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 0.5fr;
    padding: 1.25rem;
    border-bottom: 1px solid #EFEFEF;
    align-items: center;
}

.schedule-row.heading {
    font-weight: 600;
    color: #88A09E;
    border-bottom: 2px solid #88A09E;
}

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

.time, .class, .instructor {
    padding-right: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==================== 11. Testimonials Section ==================== */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background-color: #FFF;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-content p {
    font-style: italic;
    margin: 2rem 0;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    margin: 0;
    color: #88A09E;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D8D8D8;
    margin: 0 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #88A09E;
}

/* ==================== 12. Gallery Section ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

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

/* ==================== 13. Contact Section ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: #FFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding: 3rem;
    background-color: #C1DAD6;
    color: #4A4A4A;
}

.contact-info h2 {
    color: #4A4A4A;
    margin-bottom: 1rem;
    text-align: left;
}

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

.info-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 0.25rem;
}

.info-text p {
    margin-bottom: 0;
}

.studio-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 74, 74, 0.2);
}

.contact-form-container {
    padding: 3rem;
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #4A4A4A;
    background-color: #F9F9F9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #88A09E;
    box-shadow: 0 0 0 3px rgba(136, 160, 158, 0.2);
    outline: none;
}

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

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ==================== 14. Footer ==================== */
.footer {
    background-color: #4A4A4A;
    color: #F7F3EB;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    max-width: 200px;
}

.footer-logo p {
    margin-top: 0.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
}

.footer-links-column {
    margin-left: 3rem;
}

.footer-links-column h4 {
    color: #F7F3EB;
    margin-bottom: 1rem;
}

.footer-links-column ul li {
    margin-bottom: 0.5rem;
}

.footer-links-column a {
    color: #C1DAD6;
    transition: color 0.3s ease;
}

.footer-links-column a:hover,
.footer-links-column a:focus,
.footer-links-column a.active {
    color: #F7F3EB;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 243, 235, 0.2);
}

/* ==================== 15. Buttons & Form Elements ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background-color: #88A09E;
    color: #F7F3EB;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #7a918f;
    color: #F7F3EB;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #88A09E;
    color: #88A09E;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #88A09E;
    color: #F7F3EB;
}

/* ==================== 16. Utility Classes ==================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* ==================== 17. Animations ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* AOS (Animate on Scroll) custom implementation */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* ==================== 18. Media Queries ==================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background-color: #F7F3EB;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
        grid-gap: 0.5rem;
        padding: 1rem;
    }
    
    .schedule-row.heading {
        display: none;
    }
    
    .time::before, 
    .class::before, 
    .instructor::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 0.5rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 2rem;
    }
    
    .footer-links-column {
        margin-left: 0;
        margin-right: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .classes-grid,
    .instructors-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 1.5rem;
    }
}

/* ==================== 19. Policy Pages ==================== */
.page-content {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFF;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #EFEFEF;
}

.policy-section h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #EFEFEF;
    font-style: italic;
    color: #88A09E;
}

/* ==================== 20. Success Page ==================== */
.success-section {
    padding-top: 8rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: #FFF;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.success-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
}

.success-message h1 {
    margin-bottom: 1.5rem;
}

.submission-details {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #F9F9F9;
    border-radius: 5px;
    text-align: left;
}

.submission-details h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ==================== 21. Back to Top Button ==================== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #88A09E;
    color: #F7F3EB;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: #7a918f;
}