/* img
* Decozenix Pilates Studio - Main Stylesheet
* Author: Claude
* Version: 1.0
*/

/* ===== Variables ===== */
:root {
    --bg-color: #ECECEC;
    --primary-accent: #CED2C2;
    --secondary-accent: #F6F6F6;
    --text-color: #202020;
    --white: #FFFFFF;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

/* ===== Utilities ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    padding-top: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-accent);
    margin: 1rem auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

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

.primary-btn:hover {
    background-color: #bfc4b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--text-color);
}

.secondary-btn:hover {
    background-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.animated-img {
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.animated-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-container {
    display: flex;
    align-items: center;
}

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

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-accent);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: calc(var(--header-height) + 5rem);
    background-color: var(--secondary-accent);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-slogan {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== About Section ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

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

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

/* ===== Benefits Section ===== */
.benefits {
    background-color: var(--secondary-accent);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
}

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

/* ===== Services Section ===== */
.services {
    background-color: var(--white);
}

.services-slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.service-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-slide:first-child {
    opacity: 1;
}

.service-image {
    height: 60%;
    width: 100%;
    object-fit: cover;
}

.service-info {
    height: 40%;
    padding: 2rem;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.slider-prev, .slider-next {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
    transform: scale(1.2);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-accent);
    transform: scale(1.2);
}

/* ===== Schedule Section ===== */
.schedule {
    background-color: var(--secondary-accent);
}

.schedule-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-accent);
}

.schedule-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-day {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.schedule-day h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-accent);
}

.schedule-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

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

.time {
    font-weight: 400;
    color: #777;
    font-size: 0.9rem;
}

.class-name {
    font-weight: 500;
}

.instructor {
    font-size: 0.9rem;
    color: #777;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide:first-child {
    opacity: 1;
}

.testimonial-content {
    background-color: var(--secondary-accent);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    margin: 0 auto 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.author-status {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--secondary-accent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-top: 0.2rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0;
    color: #555;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
}

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

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* ===== Footer ===== */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== Back to Top Button ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-accent);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

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

#back-to-top:hover {
    background-color: #bfc4b1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero .container,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 250px;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .service-info {
        height: auto;
    }
}

.success-page {
            padding-top: calc(var(--header-height) + 5rem);
            min-height: calc(100vh - var(--header-height) - 300px);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: var(--secondary-accent);
        }
        
        .success-content {
            max-width: 600px;
            padding: 3rem;
            background-color: var(--white);
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            margin: 0 auto;
        }
        
        .success-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 2rem;
        }
        
        .success-title {
            margin-bottom: 1.5rem;
            color: var(--text-color);
        }
        
        .success-message {
            margin-bottom: 2rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }
        
        .success-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }