/* Pages Styles for KrishnaOm Academy */

/* Page Hero Banner */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-hero.dance {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.page-hero.karate {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
}

.page-hero.yoga {
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f5e3 100%);
}

.page-hero.drawing {
    background: linear-gradient(135deg, #faf0e6 0%, #ffe4c4 100%);
}

.page-hero.sports {
    background: linear-gradient(135deg, #eaf2f8 0%, #d4e6f1 100%);
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-content-center h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.hero-content-center p {
    font-size: 1.2rem;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    text-decoration: underline;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* About Section */
.about-page-section {
    background: white;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-page-images {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 20px;
}

.about-page-img {
    width: 500px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-page-img:hover {
    transform: scale(1.02);
}

.about-page-img:first-child {
    grid-column: span 2;
    height: 250px;
    width: 100%;
}

.about-page-content h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-page-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Styles Grid */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.style-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.style-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.style-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.style-card-content {
    padding: 20px;
}

.style-card-content h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.style-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule-section {
    background: var(--bg-light);
}

.schedule-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 18px 20px;
    text-align: left;
}

.schedule-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.schedule-table th {
    font-weight: 600;
    font-size: 1rem;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.schedule-table tbody tr:hover {
    background: rgba(255, 107, 107, 0.05);
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.benefit-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Belt System (Karate Page) */
.belts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.belt-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.belt-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.belt-stripe {
    width: 80px;
    height: 30px;
    margin: 0 auto 15px;
    border-radius: 5px;
}

.belt-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.belt-item span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.achievement-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.achievement-card h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.achievement-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Batch Timings */
.batches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.batch-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.batch-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.batch-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.batch-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.batch-time strong {
    color: var(--primary-color);
}

/* Gallery Slider */
.gallery-section {
    background: var(--bg-light);
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    width: max-content;
}

.gallery-item {
    width: 500px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Instructor Section */
.instructor-section {
    background: white;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.instructor-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.instructor-card:hover {
    box-shadow: var(--shadow-md);
}

.instructor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--primary-color);
}

.instructor-info h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.instructor-info span {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.instructor-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Age Groups Section */
.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.age-group-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.age-group-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.age-group-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-color), #45b7aa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.age-group-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.age-group-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Kids Artwork Gallery */
.artwork-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.artwork-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.artwork-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.artwork-item:hover img {
    transform: scale(1.1);
}

.artwork-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.artwork-item:hover .artwork-overlay {
    opacity: 1;
}

.artwork-overlay span {
    color: white;
    font-weight: 600;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.sport-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sport-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.sport-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.sport-item h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.sport-item p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* CTA Section (Page) */
.cta-page-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 5%;
}

.cta-page-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-page-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }
    
    .about-page-images {
        order: -1;
    }
    
    .hero-content-center h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
    }
    
    .hero-content-center h1 {
        font-size: 2.2rem;
    }
    
    .hero-content-center p {
        font-size: 1rem;
    }
    
    .schedule-table {
        overflow-x: auto;
    }
    
    .schedule-table table {
        min-width: 500px;
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-img {
        margin: 0 auto;
    }
    
    .gallery-item {
        width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content-center h1 {
        font-size: 1.8rem;
    }
    
    .style-card img {
        height: 150px;
    }
    
    .gallery-item {
        width: 300px;
    }
    
    .gallery-item img,
    .gallery-item video {
        height: 150px;
        width: 100%;
    }
    
    .cta-page-section h2 {
        font-size: 1.8rem;
    }
}


/* ===== MULTI IMAGE GALLERY ===== */

.gallery-viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* Desktop */
.gallery-item {
  flex: 0 0 calc(10% - 10px); /* 4 images */
}

.gallery-item img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Tablet */
@media(max-width: 992px){
  .gallery-item{
    flex: 0 0 calc(33.33% - 14px); /* 3 images */
  }
}

/* Small Tablet */
@media(max-width: 768px){
  .gallery-item{
    flex: 0 0 calc(50% - 10px); /* 2 images */
  }
}

/* Mobile */
@media(max-width: 480px){
  .gallery-item{
    flex: 0 0 100%; /* 1 image */
  }
}

/* BRANCH SCHEDULE */

.branch-schedule-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.branch-schedule-card{
background:white;
padding:28px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
transition:.35s;
}

.branch-schedule-card:hover{
transform:translateY(-10px);
}

.branch-address{
color:#666;
margin:12px 0;
line-height:1.6;
}

.branch-times{
display:flex;
flex-direction:column;
gap:6px;
margin-bottom:18px;
font-weight:600;
}

/* MAIN branch highlight */
.main-branch-card{
background:linear-gradient(135deg,#fff6ec,#f3f8ff);
border:2px solid var(--primary-color);
}
