/* Active nav link for this page */
.nav a.active {
    background: #b3e5fc;
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky-mid) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fffef5' d='M0,30 C200,60 400,0 600,30 C800,60 1000,0 1200,30 C1300,45 1400,15 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.page-hero .cloud {
    position: absolute;
    background: white;
    border-radius: 100px;
    opacity: 0.7;
}

.page-hero .cloud::before,
.page-hero .cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.page-hero .cloud-1 {
    width: 100px;
    height: 35px;
    top: 25%;
    left: 8%;
}
.page-hero .cloud-1::before { width: 40px; height: 40px; top: -20px; left: 18px; }
.page-hero .cloud-1::after { width: 30px; height: 30px; top: -12px; left: 50px; }

.page-hero .cloud-2 {
    width: 80px;
    height: 28px;
    top: 35%;
    right: 12%;
}
.page-hero .cloud-2::before { width: 32px; height: 32px; top: -16px; left: 12px; }
.page-hero .cloud-2::after { width: 24px; height: 24px; top: -10px; left: 38px; }

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-dark);
    margin-bottom: 12px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}

.breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-mid);
}

.breadcrumbs a {
    color: var(--accent-blue);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ===== Main Content ===== */
.main-content {
    padding: 60px 0 80px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

.content-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.content-section h2 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2 .icon {
    font-size: 1.4em;
}

.content-section h3 {
    color: var(--accent-green);
    margin: 24px 0 12px;
}

.content-section p {
    margin-bottom: 16px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* Studio cards grid */
.studios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.studio-card {
    background: var(--sky-light);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.studio-card h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-card .icon {
    font-size: 1.3rem;
}

.studio-card .age {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.studio-card .schedule {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin: 0;
}

.studio-card .schedule strong {
    color: var(--text-dark);
}

/* Price tag */
.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffe066 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 16px 0;
}

/* Individual services table */
.services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.services-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.services-table tr:last-child {
    border-bottom: none;
}

.services-table td {
    padding: 14px 8px;
    vertical-align: middle;
}

.services-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.services-table td:nth-child(2) {
    color: var(--text-mid);
    font-size: 0.95rem;
}

.services-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--accent-green);
    white-space: nowrap;
}

.services-table .service-icon {
    margin-right: 8px;
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--accent-blue);
    padding: 20px 24px;
    border-radius: 0 16px 16px 0;
    margin: 24px 0;
}

.info-box p {
    margin: 0;
    color: var(--text-dark);
}

/* Highlight list */
.highlight-list {
    list-style: none;
    margin: 20px 0;
}

.highlight-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-mid);
}

.highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== Sidebar ===== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
    color: var(--accent-blue);
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.sidebar-card p {
    font-size: 1rem;
    margin-bottom: 8px;
}

.sidebar-card p:last-child {
    margin-bottom: 0;
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1976d2 100%);
    color: white;
}

.sidebar-card.highlight h3 {
    color: white;
}

.sidebar-card.highlight p {
    color: rgba(255,255,255,0.9);
}

.sidebar-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 16px;
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.sidebar-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: white;
}

.contact-info .icon {
    font-size: 1.2rem;
}

/* Quick nav */
.quick-nav {
    list-style: none;
}

.quick-nav li {
    margin-bottom: 8px;
}

.quick-nav a {
    display: block;
    padding: 10px 14px;
    background: var(--sky-light);
    border-radius: 10px;
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.quick-nav a:hover {
    background: var(--accent-blue);
    color: white;
}

/* Price highlight */
.price-highlight {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 12px;
}

.price-highlight p {
    margin: 0;
    font-size: 0.95rem;
}

.price-highlight .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-orange);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .content-section {
        padding: 28px 24px;
    }

    .studios-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-table,
    .services-table tbody,
    .services-table tr,
    .services-table td {
        display: block;
        width: 100%;
    }

    .services-table tr {
        padding: 10px 0;
    }

    .services-table td {
        padding: 6px 0;
    }

    .services-table td:last-child {
        text-align: left;
        white-space: normal;
    }
}
