/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
    /* Prevent scroll restoration */
    scroll-behavior: auto;
}

/* Ensure page always starts at top */
html, body {
    scroll-behavior: auto;
    scroll-padding-top: 0;
    /* Force scroll to top on page load */
    scroll-margin-top: 0;
}

/* Ensure page starts at top */
html, body {
    scroll-behavior: auto;
    scroll-padding-top: 0;
}

/* Force scroll to top on page load */
html {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4A4238;
    overflow-x: hidden;
    background: #F2EDE4;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(74, 66, 56, 0.03) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #E8DCC0;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.hero-text {
    max-width: 600px;
    text-align: center;
    animation: fadeInUpSlow 2s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #C99A2E, #A65F3F);
    color: #F2EDE4;
    box-shadow: 0 4px 15px rgba(201, 154, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 154, 46, 0.4);
    background: #A65F3F;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}



/* About Us section - reduced bottom padding by 60% */
.about-section {
    padding: 60px 0 2px 0; /* Further reduced bottom padding from 5px to 2px */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3A7046;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #4A4238;
    max-width: 600px;
    margin: 0 auto;
}

/* Studio Classes Section */
.studio-classes {
    background: #D9C2A6;
    position: relative;
    overflow: hidden;
    padding: 30px 0 15px 0; /* Restored top padding to 30px, kept bottom padding at 15px */
}

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

.product-card {
    background: #F2EDE4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(166, 95, 63, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #A65F3F;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(166, 95, 63, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #3A7046, #C99A2E);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ============================================================================
   IMAGE CAROUSEL STYLES
   ============================================================================ */

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* Override any inherited transitions */
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #A65F3F;
    border-color: #A65F3F;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(166, 95, 63, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.carousel-btn:hover {
    background: rgba(166, 95, 63, 1);
    transform: translateY(-50%) scale(1.1);
}

.image-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Mobile responsive carousel */
@media (max-width: 768px) {
    .carousel-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

.product-placeholder {
    color: white;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-content {
    padding: 30px;
    background: #F2EDE4;
    position: relative;
    z-index: 1;
}

.product-content h3 {
    font-size: 1.5rem;
    color: #3A7046;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-content p {
    color: #4A4238;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-features span {
    color: #A65F3F;
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 0.5rem;
    position: relative;
}

.product-features span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #C99A2E;
    border-radius: 50%;
}

/* Pricing Options in Class Cards */
.product-features .pricing-option {
    display: block;
    background: #f8f9fa;
    border-left: 3px solid #A65F3F;
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.product-features .pricing-option:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.product-features .pricing-option strong {
    color: #A65F3F;
    font-weight: 600;
}

.product-features .capacity-info {
    display: block;
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.product-features .capacity-info strong {
    color: #2196f3;
    font-weight: 600;
}

/* Booking Section */
.booking-section {
    background: linear-gradient(135deg, #D9C2A6 0%, #F2EDE4 100%);
}

.calendly-inline-widget {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 66, 56, 0.1);
    background: #fff;
}

/* Footer */
.footer {
    background: #3A7046;
    color: #F2EDE4;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #C99A2E;
}

.footer-section a {
    color: #F2EDE4;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #A65F3F;
}

.footer-address-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-address-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-address-link i {
    color: #C99A2E;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #5A6F7A;
    border-radius: 50%;
    transition: background 0.3s ease;
    color: #F2EDE4;
}

.social-links a:hover {
    background: #C99A2E;
    color: #4A4238;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #A65F3F;
    color: #F2EDE4;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 20px rgba(74, 66, 56, 0.08);
    z-index: 2000;
    padding: 0.25rem 0;
    transition: top 0.4s cubic-bezier(.4,0,.2,1), background 0.3s, box-shadow 0.3s, opacity 0.3s;
    opacity: 1;
    pointer-events: auto;
}
.navbar--hidden {
    top: 0;
    opacity: 0;
    pointer-events: none;
}
.nav-toggle, .nav-links, .nav-links-backdrop {
    z-index: 2100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Desktop logo size */
.nav-logo img {
    height: 84px;
    width: auto;
    display: block;
}

/* Mobile: make logo 60px tall and reduce navbar height so logo dominates */
@media (max-width: 768px) {
    .nav-container {
        height: 64px;
        padding: 0 6px;
    }
    .nav-logo img {
        height: 60px;
    }
}

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

.nav-link {
    color: #4A4238;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #C99A2E;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -2px;
}

.nav-link:hover,
.nav-link:focus {
    color: #C99A2E;
}

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

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    position: relative;
}

.bar {
    width: 25px;
    height: 3px;
    background: #4A4238;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Responsive Design */
@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Responsive Navbar */
@media (max-width: 900px) {
    .nav-links {
        gap: 1.2rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        pointer-events: auto;
        display: flex;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-link {
        margin: 15px 0;
        font-size: 1.1rem;
        pointer-events: auto;
        cursor: pointer;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .nav-links-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-links-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-toggle {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }
}

/* Add top padding to hero to account for navbar */
.hero {
    padding-top: 90px;
}
@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero {
        height: 70vh;
    }
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .product-content {
        padding: 20px;
    }
}

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

/* Fade-in animation for sections */
.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.section-fade.fade-in {
    opacity: 1;
    transform: none;
}

/* Also fade in hero-content for consistency */
.hero-content.section-fade {
    opacity: 0;
    transform: translateY(40px);
}
.hero-content.section-fade.fade-in {
    opacity: 1;
    transform: none;
} 

/* Calendar Section */
.calendar-section {
    background: #F2EDE4;
    padding: 15px 0 60px 0; /* Further reduced top padding from 30px to 15px */
}
#calendar-app {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(74,66,56,0.08);
    padding: 18px;
    margin: 0 auto;
    max-width: 900px;
}

/* Booking Modal Styles */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute !important;
    top: 5px !important;
    right: 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #666 !important;
    cursor: pointer !important;
    background: white !important;
    border: 1px solid #ddd !important;
    padding: 5px !important;
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    z-index: 9999 !important;
    text-decoration: none !important;
    list-style: none !important;
}

.close-modal:hover {
    background: #f0f0f0 !important;
    color: #333 !important;
}

/* Form styling for booking modal */
.form-group {
    text-align: left;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #4A4238;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A65F3F;
    box-shadow: 0 0 0 2px rgba(166, 95, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.modal-content {
    max-width: 400px;
}
@media (max-width: 600px) {
    .modal-content {
        padding: 18px 6px 18px 6px;
        max-width: 98vw;
    }
    #calendar-app {
        padding: 4px;
    }
} 

.calendar-picker-wrap {
    margin-bottom: 2rem;
    text-align: center;
}
.calendar-date-picker {
    font-size: 1.1rem;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #C99A2E;
    background: #fff;
    color: #4A4238;
    box-shadow: 0 2px 8px rgba(74,66,56,0.06);
    outline: none;
    margin: 0 auto;
}
#class-list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
}

.class-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    border-bottom: 2px solid #E8DCC0;
}

.class-card:last-child {
    border-bottom: 3px solid #2D2A1F;
}

.class-card-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
}

.class-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.class-card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    min-height: 40px;
}

.class-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    line-height: 40px;
}

.class-card-expand-container {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #4A4238;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    height: 40px;
    line-height: 40px;
}

.class-card-expand-container:hover {
    color: #A65F3F;
}
.class-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3A7046;
    margin: 0;
}

.class-card-time {
    font-size: 1.1rem;
    color: #A65F3F;
    font-weight: 600;
    margin: 0;
}
.class-card-book {
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #C99A2E, #A65F3F);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    line-height: 1;
}

.class-card-book:hover {
    background: #A65F3F;
    transform: translateY(-1px);
}

.class-card-expand {
    background: none;
    border: none;
    cursor: pointer;
    color: #4A4238;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.class-card-expand:hover {
    background: rgba(74, 66, 56, 0.1);
    color: #A65F3F;
}

.class-card-expand.expanded {
    transform: rotate(90deg);
}

.class-card-expand.expanded i {
    transform: rotate(90deg);
}

.class-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent;
    margin-top: 0;
    padding: 0 0 0 20px;
    border-left: 2px solid #E8DCC0;
}

.class-card-details.expanded {
    max-height: 300px;
    margin-top: 12px;
    padding: 12px 0 0 20px;
}

.class-card-details-content {
    color: #4A4238;
    font-size: 0.95rem;
    line-height: 1.6;
}

.class-card-details-content p {
    margin: 8px 0;
}

.class-card-details-content strong {
    color: #A65F3F;
    font-weight: 600;
}

/* Date header styling */
.date-header {
    background: linear-gradient(135deg, #F8F6F2 0%, #E8DCC0 100%);
    border: 2px solid #A65F3F;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px 0 12px 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4A4238;
    text-align: center;
    box-shadow: 0 2px 8px rgba(166, 95, 63, 0.15);
    position: relative;
}

.date-header:first-child {
    margin-top: 0;
}

/* Week Navigation Button Styles */
.week-nav-btn:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

.week-nav-btn:disabled:hover {
    background-color: #ccc !important;
    color: #666 !important;
    transform: none !important;
}

/* Three Week Calendar Styles */
.three-week-calendar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(74, 66, 56, 0.08);
    border: 2px solid #E8DCC0;
}

.week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #A65F3F;
    font-size: 0.9rem;
    text-align: center;
}

.week-header div {
    padding: 8px 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: #F8F6F2;
    position: relative;
}

.calendar-day:hover {
    background: #E8DCC0;
    border-color: #A65F3F;
    transform: translateY(-1px);
}

.calendar-day.selected {
    background: #A65F3F;
    color: white;
    border-color: #A65F3F;
    box-shadow: 0 4px 12px rgba(166, 95, 63, 0.3);
}

.calendar-day.today {
    background: #C99A2E;
    color: white;
    border-color: #C99A2E;
    font-weight: 700;
}

.calendar-day.other-month {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month:hover {
    background: #f5f5f5;
    border-color: transparent;
    transform: none;
}

.calendar-day .day-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.calendar-day .day-name {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.calendar-day.has-classes::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #3A7046;
    border-radius: 50%;
}

.calendar-day.selected.has-classes::after {
    background: white;
}

@media (max-width: 768px) {
    .three-week-calendar {
        gap: 16px;
    }
    
    .week-row {
        padding: 12px;
        gap: 6px;
    }
    
    .week-header {
        gap: 6px;
        font-size: 0.8rem;
    }
    
    .calendar-day .day-number {
        font-size: 1rem;
    }
    
    .calendar-day .day-name {
        font-size: 0.65rem;
    }
}
@media (max-width: 600px) {
    #class-list {
        padding: 0 8px;
    }
    .class-card {
        padding: 16px 0;
    }
    .class-card-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .class-card-bottom-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        min-height: 40px;
    }
    .class-card-expand-container {
        height: 40px;
        line-height: 40px;
    }
    .class-card-actions {
        height: 40px;
        line-height: 40px;
    }
    .class-card-title {
        font-size: 1.1rem;
    }
    .class-card-time {
        font-size: 1rem;
    }
    .class-card-details {
        padding-left: 16px;
    }
    .class-card-details.expanded {
        padding-left: 16px;
    }
} 

#modal-pricing-options {
    width: 100% !important;
    display: block !important;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #C99A2E;
    font-size: 1.08rem;
    margin: 14px 0 14px 0;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%234A4238" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center/18px 18px;
    color: #4A4238;
    box-shadow: 0 2px 8px rgba(74,66,56,0.06);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
#modal-pricing-options:focus {
    outline: 2px solid #C99A2E;
} 

.custom-dropdown {
    position: relative;
    width: 100%;
    margin: 14px 0 14px 0;
    font-size: 1.08rem;
    user-select: none;
}
.custom-dropdown-selected {
    background: #fff;
    border: 1px solid #C99A2E;
    border-radius: 8px;
    padding: 12px 40px 12px 12px;
    cursor: pointer;
    position: relative;
    color: #4A4238;
    box-shadow: 0 2px 8px rgba(74,66,56,0.06);
}
.custom-dropdown-selected::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg fill="%234A4238" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center center;
    transform: translateY(-50%);
    pointer-events: none;
}
.custom-dropdown-options {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    width: 100%;
    background: #fff;
    border: 1px solid #C99A2E;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(74,66,56,0.18);
    z-index: 10;
    max-height: 220px;
    overflow-y: auto;
}
.custom-dropdown.open .custom-dropdown-options {
    display: block;
}

/* Enhanced Pricing Dropdown Styles */
.custom-dropdown-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-dropdown-option:hover {
    background-color: #f8f9fa;
}

.custom-dropdown-option.selected {
    background-color: #A65F3F;
    color: white;
}

.custom-dropdown-option .option-name {
    font-weight: 500;
    flex: 1;
}

.custom-dropdown-option .option-price {
    font-weight: 600;
    color: #A65F3F;
    margin-left: 12px;
}

.custom-dropdown-option.selected .option-price {
    color: white;
}

.custom-dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #A65F3F;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    transition: all 0.2s;
    position: relative;
}

.custom-dropdown-selected:hover {
    background-color: #f8f9fa;
}

.custom-dropdown-selected .selected-name {
    font-weight: 500;
    color: #333;
}

.custom-dropdown-selected .selected-price {
    font-weight: 600;
    color: #A65F3F;
}

/* Add dropdown indicator */
.custom-dropdown-selected::after {
    content: "▼" !important;
    display: block !important;
    font-size: 12px !important;
    color: #A65F3F !important;
    margin-left: 8px !important;
    transition: transform 0.2s ease !important;
}

.custom-dropdown.open .custom-dropdown-selected::after {
    transform: rotate(180deg) !important;
}

#modal-class-price {
    background: #f8f9fa !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #A65F3F !important;
    margin: 16px 0 !important;
    border: none !important;
    outline: none !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
    content: "" !important;
    text-decoration: none !important;
    list-style: none !important;
}

.custom-dropdown-selected .selected-price,
.custom-dropdown-option .option-price {
    font-family: inherit !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    list-style: none !important;
    content: "" !important;
}

#modal-class-price::after,
#modal-class-price::before {
    content: "" !important;
    display: none !important;
}

.custom-dropdown-selected .selected-price::after,
.custom-dropdown-selected .selected-price::before,
.custom-dropdown-option .option-price::after,
.custom-dropdown-option .option-price::before {
    content: "" !important;
    display: none !important;
}

@media (max-width: 600px) {
    .custom-dropdown-selected, .custom-dropdown-option {
        font-size: 1.08rem;
        padding: 14px 12px;
    }
} 

.calendar-toggle-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}
.calendar-toggle-btn {
    background: #fff;
    color: #3A7046;
    border: 1.5px solid #C99A2E;
    border-radius: 22px;
    padding: 8px 22px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    outline: none;
}
.calendar-toggle-btn.active, .calendar-toggle-btn:focus {
    background: linear-gradient(135deg, #C99A2E, #A65F3F);
    color: #fff;
    border: 1.5px solid #A65F3F;
}
.calendar-toggle-btn:hover {
    background: #F2EDE4;
    color: #A65F3F;
}
@media (max-width: 600px) {
    .calendar-toggle-btn {
        font-size: 1rem;
        padding: 8px 10px;
    }
} 

#toggle-all-dropdown {
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}
#toggle-all-dropdown.open {
    z-index: 20;
}
#toggle-all-label {
    flex: 1;
    text-align: center;
}
#toggle-all-options {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1.5px solid #C99A2E;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(74,66,56,0.18);
    z-index: 30;
    max-height: 220px;
    overflow-y: auto;
}
#toggle-all-dropdown.open #toggle-all-options {
    display: block;
}
#toggle-all-options .custom-dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    color: #4A4238;
    transition: background 0.15s;
    font-size: 1.08rem;
}
#toggle-all-options .custom-dropdown-option:hover, #toggle-all-options .custom-dropdown-option.selected {
    background: #F2EDE4;
    color: #A65F3F;
} 

/* Enhanced Dropdown Styling */
.enhanced-dropdown {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enhanced-dropdown:hover {
    background-color: #f8f6f2;
}

.enhanced-dropdown.open {
    background-color: #A65F3F;
    color: white;
}

.enhanced-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.enhanced-dropdown-options {
    background: white;
    border: 2px solid #A65F3F;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    min-width: 220px;
    padding: 8px 0;
}

.enhanced-dropdown-options .enhanced-dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4A4238;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.enhanced-dropdown-options .enhanced-dropdown-option:last-child {
    border-bottom: none;
}

.enhanced-dropdown-options .enhanced-dropdown-option:hover {
    background-color: #f8f6f2;
    color: #A65F3F;
    padding-left: 20px;
}

.enhanced-dropdown-options .enhanced-dropdown-option.selected {
    background-color: #A65F3F;
    color: white;
    padding-left: 20px;
}

.enhanced-dropdown-options .enhanced-dropdown-option:active {
    background-color: #8a4f2f;
    color: white;
}

/* Scrollbar styling for dropdown */
.enhanced-dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.enhanced-dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.enhanced-dropdown-options::-webkit-scrollbar-thumb {
    background: #A65F3F;
    border-radius: 3px;
}

.enhanced-dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #8a4f2f;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .enhanced-dropdown-options {
        min-width: 180px;
        max-height: 250px;
    }
    
    .enhanced-dropdown-options .enhanced-dropdown-option {
        padding: 10px 14px;
        font-size: 13px;
    }
} 

/* Remove dropdown arrow/indicator */
.custom-dropdown-selected::after,
.custom-dropdown-selected::before {
    content: "" !important;
    display: none !important;
}

.custom-dropdown {
    position: relative;
}

.custom-dropdown::after,
.custom-dropdown::before {
    content: "" !important;
    display: none !important;
} 

/* Add dropdown indicator between name and price */
.custom-dropdown-selected .selected-name::after {
    content: " ↓ " !important;
    display: inline !important;
    color: #A65F3F !important;
    font-weight: 400 !important;
    margin: 0 4px !important;
}

/* Remove the arrow from the end */
.custom-dropdown-selected::after {
    content: "" !important;
    display: none !important;
}

.custom-dropdown.open .custom-dropdown-selected::after {
    transform: none !important;
} 

/* Book Now Button Styles */
.book-now-btn {
    background: #A65F3F;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(166, 95, 63, 0.2);
}

.book-now-btn:hover {
    background: #8B4A2F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(166, 95, 63, 0.3);
}

.book-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(166, 95, 63, 0.2);
}

.book-now-btn i {
    font-size: 14px;
} 

/* More Information Button Styles */
.more-info-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4A4238;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #4A4238;
}

.more-info-btn:hover {
    background: #A65F3F;
    border-color: #A65F3F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 95, 63, 0.3);
}

.more-info-btn:active {
    transform: translateY(0);
}

.more-info-btn i {
    margin-right: 8px;
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* Mobile Optimizations for Action Buttons */
@media (max-width: 768px) {
    .action-buttons {
        gap: 8px;
        margin-top: 12px;
    }
    
    .more-info-btn {
        padding: 12px 16px;
        font-size: 16px; /* Better touch target size */
        min-height: 44px; /* iOS recommended touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .book-now-btn {
        padding: 12px 16px;
        font-size: 16px; /* Better touch target size */
        min-height: 44px; /* iOS recommended touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .more-info-btn i,
    .book-now-btn i {
        font-size: 16px;
        margin-right: 8px;
    }
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
    .more-info-btn,
    .book-now-btn {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Android Chrome optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .more-info-btn,
    .book-now-btn {
        -webkit-tap-highlight-color: rgba(166, 95, 63, 0.1);
    }
}

/* Custom Date Picker Styles */
.custom-date-picker {
    position: relative;
    width: 100%;
}

.custom-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #A65F3F;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 4px;
    padding: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #A65F3F;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.calendar-nav:hover {
    background: #f0f0f0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    color: #ccc;
}

.calendar-day.available {
    color: #333;
    background: #f8f9fa;
}

.calendar-day.available:hover {
    background: #A65F3F;
    color: white;
}

.calendar-day.selected {
    background: #A65F3F;
    color: white;
    font-weight: 600;
}

.calendar-day.today {
    border: 2px solid #A65F3F;
    font-weight: 600;
}

.calendar-day.other-month {
    color: #ddd;
} 
/* ========================================
   MOBILE RESPONSIVENESS FIXES - INDEX.HTML
   ======================================== */

/* Tablet and smaller screens (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix grid layout for mobile */
    .kda-experience-grid {
        display: grid;
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    /* Fix product cards for mobile */
    .product-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .product-content {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .product-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix action buttons for mobile */
    .action-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .more-info-btn,
    .book-now-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Fix pricing info section */
    .pricing-info {
        margin: 1rem auto;
        padding: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix section headers */
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small mobile screens (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .kda-experience-grid {
        gap: 15px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .product-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .product-features {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .product-features span {
        font-size: 0.85rem;
    }
    
    .product-features .pricing-option {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .product-features .capacity-info {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .more-info-btn,
    .book-now-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .pricing-info {
        padding: 15px;
        margin: 0.8rem auto;
    }
    
    .pricing-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Extra small screens (375px and below) - iPhone SE, etc. */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .kda-experience-grid {
        gap: 12px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
    
    .product-content p {
        font-size: 0.85rem;
    }
    
    .product-features span {
        font-size: 0.8rem;
    }
    
    .product-features .pricing-option,
    .product-features .capacity-info {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .more-info-btn,
    .book-now-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .pricing-info {
        padding: 12px;
    }
    
    .pricing-info h3 {
        font-size: 1.1rem;
    }
}

/* Ensure no horizontal overflow */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .about-section {
        padding: 40px 0 1px 0; /* Further reduced bottom padding from 2px to 1px for mobile */
        overflow-x: hidden;
        width: 100%;
    }
    
    .studio-classes {
        padding: 10px 0 10px 0; /* Further reduced bottom padding from 20px to 10px for mobile */
        overflow-x: hidden;
        width: 100%;
    }
    
    .calendar-section {
        padding: 7px 0 60px 0; /* Further reduced top padding from 15px to 7px for mobile */
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix any potential overflow issues */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}
