/* 
 * Trendoryx - Mindfulness Studio
 * Main Stylesheet
 * Colors:
 * Background - #F9FAF8 
 * Accent - #90A8A4
 * Secondary Accent - #E4DCCF
 * Text - #2C2C2C
 * Buttons - #90A8A4 with white text
 * Fonts: 
 * Headings - DM Serif Display
 * Body - Inter
 */

/* Base Styles */
:root {
    --bg-color: #F9FAF8;
    --accent-color: #90A8A4;
    --secondary-accent: #E4DCCF;
    --text-color: #2C2C2C;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
}

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

.btn--primary:hover {
    background-color: #7d938f;
    color: var(--white);
}

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

.btn--secondary:hover {
    background-color: #d6cec2;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
}

.nav__item {
    margin-left: 30px;
}

.nav__link {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
}

.hero .container {
    position: relative;
}

.hero__content {
    max-width: 600px;
    position: absolute;
    padding: 3rem;
    z-index: 2;
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero__image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about__content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about__image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about__text {
    flex: 1;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card__icon {
    margin-bottom: 20px;
}

.service-card__title {
    margin-bottom: 15px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--white);
}

.benefits__content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.benefits__image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.benefits__list {
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.benefit-item__icon {
    flex-shrink: 0;
    padding-top: 5px;
}

.benefit-item__title {
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-card__name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-card__role {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--light-gray);
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background-color: var(--white);
}

.schedule__content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.schedule__image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule__table {
    flex: 1;
}

.schedule-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.schedule-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    position: relative;
}

.schedule-tab.active {
    color: var(--accent-color);
}

.schedule-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

.schedule-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

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

.schedule-item__time {
    display: block;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.schedule-item__title {
    margin-bottom: 5px;
}

.schedule-item__desc {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact__content {
    display: flex;
    gap: 40px;
}

.contact__info {
    flex: 1;
}

.contact__info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact__info-icon {
    flex-shrink: 0;
    padding-top: 5px;
}

.contact__info-text h3 {
    margin-bottom: 5px;
}

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

.contact__form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(144, 168, 164, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 6px;
}

.form-checkbox label {
    font-weight: normal;
}

/* Footer */
.footer {
    background-color: var(--secondary-accent);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer__content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    flex: 2;
}

.footer__logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer__links,
.footer__legal {
    flex: 1;
}

.footer__links li a,
.footer__legal li a {
    color: #2C2C2C;
}

.footer__links li a:hover,
.footer__legal li a:hover {
    color: #7d938f;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: #7d938f;
}

/* Success Message Page */
.success-message {
    padding: 160px 0 80px;
    text-align: center;
}

.success-message__icon {
    margin-bottom: 20px;
}

.success-message__title {
    margin-bottom: 20px;
}

.success-message__text {
    max-width: 600px;
    margin: 0 auto 30px;
}

.success-message__actions {
    margin-top: 30px;
}

/* Legal Pages */
.legal-page {
    padding: 160px 0 80px;
}

.legal-page__header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-page__content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page__intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-page ul li {
    margin-bottom: 10px;
}

.legal-page__back {
    margin-top: 40px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about__content,
    .benefits__content,
    .schedule__content,
    .contact__content {
        flex-direction: column;
    }
    
    .about__image,
    .benefits__image,
    .schedule__image {
        margin-bottom: 30px;
    }
    
    .footer__content {
        flex-wrap: wrap;
    }
    
    .footer__logo {
        flex: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
    }
    
    .nav__list.active {
        display: flex;
    }
    
    .nav__item {
        margin: 10px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 130px 0 50px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    
    .schedule-tab {
        padding: 10px 15px;
    }
    
    .contact__content {
        gap: 50px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .contact__info-item {
        flex-direction: column;
        gap: 10px;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
