:root {
    --bg-color: #FDFBF7;
    --primary-color: #849683;
    --text-color: #2C2C2C;
    --text-muted: #666666;
    --white: #ffffff;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #6d7d6c;
}

.hero-image {
    width: 100%;
    height: 600px;
    background-color: #e8e6e1;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Programs */
.programs {
    padding: 8rem 0;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 2px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.program-card {
    background-color: var(--white);
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.program-img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.program-info {
    padding: 1.5rem;
    text-align: left;
}

.program-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.program-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.program-card:hover .program-img {
    transform: scale(1.03);
}

/* About */
.about {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-images {
    display: flex;
    gap: 1.5rem;
}

.about-img-main,
.about-img-sub {
    flex: 1;
    height: 400px;
    background-color: #e8e6e1;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.about-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.about-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

/* Instructors */
.instructors {
    padding: 8rem 0;
    background-color: var(--white);
}

.instructors-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.instructors-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.team-photo {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.intro-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.instructor-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.instructor-img {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.instructor-info {
    padding: 2rem;
    text-align: center;
}

.instructor-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.instructor-info p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Booking Page Specific */
.booking-page {
    background-color: var(--primary-color);
    /* Overriding default bg for booking feel */
}

.booking-hero {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.booking-container {
    background-color: transparent;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.studio-name {
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.booking-header h1 {
    font-size: 3.5rem;
    font-weight: 400;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

/* Calendar Card */
.calendar-card {
    background-color: #E2E8E1;
    /* Light sage */
    padding: 3rem;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.calendar-nav h2 {
    font-size: 1.1rem;
    font-weight: 500;
}

.calendar-nav button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.6;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 0.5rem;
}

.day-name {
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.day:hover:not(.mute) {
    background-color: rgba(255, 255, 255, 0.3);
}

.day.mute {
    opacity: 0.2;
    cursor: default;
}

.day.selected {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Slots Card */
.slots-card {
    background-color: #FAF9F3;
    /* Warm cream */
    display: flex;
    flex-direction: column;
}

.slots-header {
    height: 250px;
    overflow: hidden;
}

.slots-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slots-list {
    padding: 3rem;
    flex-grow: 1;
}

/* Time Picker */
.time-limit-note {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-picker-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.time-select-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.time-select {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: var(--white);
    font-size: 1.2rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    min-width: 80px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.time-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(132, 150, 131, 0.1);
}

.btn-block {
    width: 100%;
    padding: 1.2rem;
    font-weight: 600;
}

/* Studio Gallery */
.studio-gallery {
    padding-bottom: 8rem;
}

.gallery-title {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    text-align: center;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
    filter: grayscale(20%);
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gallery-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
}

/* Modal Base Styling (shared with Lightbox concept but for form) */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #FAF9F3;
    padding: 3rem;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.3;
    transition: var(--transition);
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

#selected-info {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(132, 150, 131, 0.1);
}

.submit-booking {
    width: 100%;
    padding: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animation Classes */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        /* In active case, would implement hamburger */
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 4rem 0;
    }
}/ *   B u t t o n   G r o u p   A l i g n m e n t   * /  
 . h e r o - c t a - g r o u p   {  
         d i s p l a y :   f l e x ;  
         g a p :   1 5 p x ;  
         f l e x - w r a p :   w r a p ;  
 }  
  
 / *   S e c o n d a r y   B u t t o n   S t y l e   * /  
 . b t n - s e c o n d a r y   {  
         d i s p l a y :   i n l i n e - b l o c k ;  
         p a d d i n g :   1 r e m   2 . 5 r e m ;  
         b a c k g r o u n d - c o l o r :   t r a n s p a r e n t ;  
         c o l o r :   v a r ( - - t e x t - c o l o r ) ;  
         b o r d e r :   1 p x   s o l i d   v a r ( - - t e x t - c o l o r ) ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         f o n t - w e i g h t :   5 0 0 ;  
         l e t t e r - s p a c i n g :   1 p x ;  
         t r a n s i t i o n :   v a r ( - - t r a n s i t i o n ) ;  
         b o r d e r - r a d i u s :   4 p x ;  
         f o n t - s i z e :   0 . 9 r e m ;  
 }  
  
 . b t n - s e c o n d a r y : h o v e r   {  
         b a c k g r o u n d - c o l o r :   v a r ( - - t e x t - c o l o r ) ;  
         c o l o r :   v a r ( - - w h i t e ) ;  
 }  
 