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

:root {
    --primary-color: #d4a5a5;
    --primary-dark: #b78e8e;
    --secondary-color: #9c7a97;
    --accent-color: #596475;
    --light-color: #f8f1f1;
    --dark-color: #2d2e36;
    --text-color: #3a3a3a;
    --light-text: #f8f1f1;
    --gray-color: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    --transition: all 0.3s ease;
    --radius: 6px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    font-weight: 500;
}

h1 {
    font-size: 4.8rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 6rem;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 1rem;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

ul {
    list-style: none;
}

/* Button Styles */
.primary-button, .secondary-button, .cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
}

.primary-button:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-2px);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 0.8rem 1.6rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Layout */
section {
    padding: 8rem 0;
    position: relative;
}

.content-wrapper {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.diagonal-container {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.diagonal-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 1;
}

.diagonal-container.reverse::before {
    background-color: #fff;
    transform: skewY(3deg);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.logo-container h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 0.2rem;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.5rem;
    position: relative;
    padding: 0.5rem 0;
}

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

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-align: center;
    margin-top: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(45, 46, 54, 0.8), rgba(156, 122, 151, 0.7));
}

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

.hero h2 {
    font-size: 6rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero h2::after {
    display: none;
}

.hero h2 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.text-content {
    max-width: 50rem;
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-frame::before {
    content: "";
    display: block;
    padding-bottom: 125%; /* 4:5 aspect ratio */
}

.image-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Benefits Section */
.benefits-section {
    text-align: center;
    padding: 8rem 0;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 4rem 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
}

/* Classes Section */
.classes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.class-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.class-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.class-content {
    padding: 2rem;
}

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

.class-content p {
    margin-bottom: 2rem;
}

.level, .duration {
    display: inline-block;
    margin-right: 1.5rem;
    font-size: 1.4rem;
    color: var(--accent-color);
}

.level::before, .duration::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Schedule Section */
.schedule-section {
    text-align: center;
    padding: 8rem 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn:hover::after, .tab-btn.active::after {
    width: 50%;
}

.tab-btn.active {
    color: var(--primary-color);
}

.schedule-container {
    max-width: 80rem;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.schedule-day {
    display: none;
}

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

.schedule-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    text-align: left;
}

.time, .class-name, .instructor {
    align-self: center;
}

.time {
    font-weight: 500;
}

.class-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 3rem;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0 0 var(--radius) var(--radius);
}

.pricing-header {
    margin-bottom: 3rem;
}

.price {
    font-size: 3.6rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 1rem;
}

.price span {
    font-size: 1.6rem;
    color: var(--text-color);
}

.pricing-features {
    margin-bottom: 3rem;
    text-align: left;
}

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

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    text-align: center;
    padding: 8rem 0;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1.4rem;
}

/* Testimonials Section */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 6rem;
    line-height: 1;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-text {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

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

.testimonial-author .membership {
    font-size: 1.4rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    text-align: left;
}

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

.info-icon {
    margin-right: 2rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.contact-form-container {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 4rem;
    box-shadow: var(--shadow);
    text-align: left;
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group.privacy-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    grid-column: span 2;
}

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

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

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--gray-color);
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
}

textarea {
    resize: vertical;
}

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

.contact-form button {
    grid-column: span 2;
    justify-self: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 4rem 0;
}

.footer-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.footer-logo h2 {
    font-size: 3rem;
    margin-bottom: 0;
}

.footer-logo h2::after {
    display: none;
}

.footer-logo p {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--light-text);
}

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

.footer-copyright {
    font-size: 1.4rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .hero h2 {
        font-size: 5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    header {
        padding: 1.5rem 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h2 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .about-section .content-wrapper,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form button {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .hero h2 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.6rem;
    }
    
    .benefit-card,
    .pricing-card,
    .testimonial-card,
    .contact-form-container {
        padding: 3rem 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

/* Favicon Base64 */
/* 
This is a placeholder comment for the base64 encoded favicon that would be inserted here
or used directly in the HTML with a data URL for the favicon link.
*/
