* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Cyan Theme */
    --primary: hsl(186, 100%, 50%);
    --primary-dark: hsl(186, 100%, 35%);
    --primary-light: hsl(186, 80%, 60%);
    --primary-glow: hsl(186, 100%, 70%);
    --primary-subtle: hsl(186, 70%, 95%);

    /* Neutral Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 10%);
    --card: hsl(0, 0%, 100%);
    --muted: hsl(0, 0%, 96%);
    --muted-foreground: hsl(0, 0%, 45%);
    --border: hsl(0, 0%, 88%);

    /* Semantic Colors */
    --success: hsl(142, 76%, 36%);
    --success-light: hsl(142, 70%, 95%);
    --error: hsl(0, 84%, 60%);
    --error-light: hsl(0, 80%, 95%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 186, 186, 0.25);
    --shadow-glow: 0 0 60px rgba(0, 186, 186, 0.35);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--foreground);
    background: linear-gradient(180deg, var(--background) 0%, hsl(186, 50%, 98%) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--muted-foreground);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.logo {
    max-height: 180px;
    width: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-title {
    color: var(--foreground);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(0, 0, 0, 0.75);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--foreground);
    color: var(--primary);
}

.btn-primary:hover {
    background: hsl(0, 0%, 5%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--muted);
    border-color: var(--foreground);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: hsl(0, 84%, 50%);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--primary);
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-tabs {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-tab {
    font-weight: 600;
    font-size: 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary-light);
}

.nav-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.feature-card h3 {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-badge {
    display: inline-block;
    background: var(--muted);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-badge.premium {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    font-weight: 500;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ============================================
   SCHEDULE GRID
   ============================================ */
#schedule-wrapper {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem auto;
    border: 1px solid var(--border);
}

.schedule-title {
    color: var(--foreground);
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.schedule-grid {
    display: grid;
    min-width: max-content;
}

.grid-row {
    display: grid;
    /* columns set inline by JS based on rolling window size */
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.grid-header {
    margin-bottom: 1rem;
}

.grid-cell {
    padding: 0.5rem;
}

.grid-header .grid-cell {
    font-weight: 700;
    text-align: center;
    color: var(--foreground);
    font-size: 0.9rem;
}

.grid-time-col {
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    align-items: center;
}

.slot {
    cursor: pointer;
    padding: 1.25rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slot.available {
    background: linear-gradient(135deg, var(--primary-subtle), hsl(186, 60%, 96%));
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.slot.available:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.slot.reserved {
    background: var(--error-light);
    color: hsl(0, 70%, 35%);
    border: 2px solid var(--error);
}

.slot.reserved:hover {
    background: hsl(0, 80%, 92%);
    transform: scale(1.02);
}

.slot-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.slot.available:hover .slot-time {
    color: rgba(255, 255, 255, 0.9);
}

.slot-status {
    font-size: 0.9rem;
}

.slot-status small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* ============================================
   LEGEND
   ============================================ */
.legend {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.legend-available {
    background: var(--primary-subtle);
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.legend-reserved {
    background: var(--error-light);
    color: hsl(0, 70%, 35%);
    border: 2px solid var(--error);
}

.schedule-actions {
    margin-top: 2rem;
    text-align: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--foreground);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--muted-foreground);
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-cta p {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
   
   
   
.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--foreground);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

.gallery-item {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CUSTOMER FEEDBACK
   ============================================ */
.feedback-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.feedback-placeholder {
    color: var(--muted-foreground);
    font-size: 1.05rem;
}

.review {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    text-align: left;
}

.review:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review:first-child {
    padding-top: 0;
}

.review-text {
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.review-author {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   CUSTOM MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-message {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    text-align: center;
    white-space: pre-line;
    line-height: 1.6;
}

.modal-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 186, 0.1);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-buttons .btn {
    flex: 1;
    max-width: 150px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: transparent;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer p {
    color: var(--muted-foreground);
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }

    .logo {
        max-height: 120px;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .about-features {
        gap: 1.5rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    #schedule-wrapper {
        padding: 1.5rem;
    }

    .grid-row {
        /* columns inherited from inline style set by JS */
        gap: 0.25rem;
    }

    .slot {
        padding: 0.75rem 0.5rem;
        min-height: 70px;
        font-size: 0.75rem;
    }

    .slot-time {
        font-size: 0.65rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .schedule-container {
        overflow-x: scroll;
    }

    .grid-row {
        gap: 0.25rem;
    }

    .grid-cell {
        padding: 0.25rem;
    }

    .slot {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
        min-height: 60px;
    }
}