/* Dedicated Pages Sub-Layouts Stylesheet */

/* --- ABOUT PAGE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content-left {
    display: flex;
    flex-direction: column;
}

.about-checklist {
    margin: 24px 0 35px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-light);
}

.about-check-item i {
    color: var(--primary-red);
    font-size: 18px;
}

.about-images-right {
    position: relative;
}

.about-img-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 480px;
}

.about-img-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--surface);
    transition: var(--transition);
}

.about-img-item:hover {
    transform: scale(1.03);
    z-index: 10;
}

.about-img-1 {
    grid-column: 1 / 9;
    grid-row: 1 / 9;
    z-index: 2;
}

.about-img-2 {
    grid-column: 5 / 13;
    grid-row: 6 / 13;
    z-index: 3;
}

.about-img-3 {
    grid-column: 1 / 5;
    grid-row: 8 / 12;
    z-index: 1;
}

/* Academy Vision / Mission cards */
.vision-mission-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.vision-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vision-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--surface);
    margin-bottom: 24px;
}

/* Chiefs message block */
.chief-message-section {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    padding: clamp(30px, 6vw, 60px);
    box-shadow: var(--shadow);
}

.chief-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}

.chief-img-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid var(--surface);
    height: 420px;
}

.chief-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chief-signature-block {
    margin-top: 30px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.chief-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.chief-rank {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Academy Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--border);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-red);
    border: 4px solid var(--surface);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
    z-index: 2;
}

.timeline-item-left .timeline-dot {
    right: -9px;
}

.timeline-item-right .timeline-dot {
    left: -9px;
}

.timeline-badge-year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--primary-red);
    margin-bottom: 6px;
    display: block;
}

.timeline-content-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
}

.value-card-icon {
    font-size: 28px;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.value-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

/* Facilities list */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.facility-card-img {
    height: 200px;
    overflow: hidden;
}

.facility-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.facility-card:hover .facility-card-img img {
    transform: scale(1.08);
}

.facility-card-body {
    padding: 20px;
}

/* --- CLASS DETAILS PAGE --- */
.details-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
}

.details-main-content {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: var(--shadow-soft);
}

.details-hero-img {
    height: 380px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.details-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.details-body-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.details-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.detail-highlight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--background);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}

.detail-highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-soft);
}

.detail-highlight-card.red .detail-highlight-icon { color: var(--primary-red); }
.detail-highlight-card.teal .detail-highlight-icon { color: var(--teal); }
.detail-highlight-card.navy .detail-highlight-icon { color: var(--navy); }
.detail-highlight-card.purple .detail-highlight-icon { color: var(--purple); }
.detail-highlight-card.orange .detail-highlight-icon { color: var(--orange); }
.detail-highlight-card.green .detail-highlight-icon { color: var(--green); }

.detail-highlight-text-label {
    font-size: 12px;
    color: var(--muted-text);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-highlight-text-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2px;
}

.details-section-wrapper {
    margin-bottom: 35px;
}

.details-section-wrapper h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    border-left: 4px solid var(--primary-red);
    padding-left: 12px;
}

.benefits-bullet-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.benefits-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
}

.benefits-bullet-item i {
    color: var(--green);
    margin-top: 4px;
}

/* Sidebar layout */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.instructor-mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.instructor-mini-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
}

.instructor-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-mini-name {
    font-weight: 700;
    font-size: 16px;
}

.instructor-mini-title {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
}

.instructor-mini-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: var(--background);
    color: var(--navy);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.instructor-mini-btn:hover {
    background: var(--navy);
    color: var(--surface);
}

.sidebar-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.sidebar-schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-schedule-day {
    font-weight: 600;
    color: var(--navy);
}

.sidebar-schedule-time {
    font-size: 14px;
    color: var(--muted-text);
}

.sidebar-cta-widget {
    background: var(--gradient-red);
    color: var(--surface);
    text-align: center;
}

.sidebar-cta-widget h3 {
    color: var(--surface);
    font-size: 22px;
    margin-bottom: 12px;
}

.sidebar-cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-size: 14px;
}

.sidebar-cta-widget .btn {
    width: 100%;
}

/* Related classes row */
.related-classes-section {
    margin-top: 60px;
}

.related-classes-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* --- INSTRUCTOR DETAILS PAGE --- */
.instructor-details-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: flex-start;
}

.instructor-details-left {
    position: sticky;
    top: 110px;
}

.instructor-details-img {
    height: 480px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 5px solid var(--surface);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.instructor-details-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-details-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.instructor-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.instructor-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.instructor-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.instructor-info-label {
    font-weight: 600;
    color: var(--muted-text);
}

.instructor-info-value {
    font-weight: 700;
    color: var(--navy);
}

.instructor-details-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.instructor-details-right h2 {
    font-size: 36px;
    margin-bottom: 6px;
}

.instructor-details-desg {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.instructor-bio-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- EVENT DETAILS PAGE --- */
.event-details-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
}

.event-details-main {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: var(--shadow-soft);
}

.event-details-cover {
    height: 400px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.event-details-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.event-meta-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.event-meta-info-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.event-meta-info-card i {
    font-size: 20px;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.event-meta-info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted-text);
    font-weight: 600;
}

.event-meta-info-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 4px;
}

.event-details-desc {
    font-size: 16px;
    line-height: 1.8;
}

.event-registration-widget {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

/* --- ADMISSIONS PAGE SUCCESS VIEW --- */
.receipt-wrapper {
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    max-width: 650px;
    margin: 40px auto;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.receipt-header {
    background: var(--gradient-red);
    color: var(--surface);
    padding: 30px;
    text-align: center;
}

.receipt-header i {
    font-size: 40px;
    margin-bottom: 12px;
}

.receipt-header h2 {
    color: var(--surface);
    margin-bottom: 4px;
}

.receipt-ref {
    font-family: monospace;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

.receipt-body {
    padding: 40px;
}

.receipt-table {
    margin-bottom: 30px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-label {
    font-weight: 600;
    color: var(--muted-text);
}

.receipt-value {
    font-weight: 700;
    color: var(--navy);
    text-align: right;
}

.receipt-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    margin: 0 auto 20px;
}

.receipt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.receipt-footer {
    padding: 24px;
    background: var(--background);
    text-align: center;
    border-top: 1px solid var(--border);
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.empty-state-icon {
    font-size: 48px;
    color: var(--muted-text);
    margin-bottom: 16px;
}

.empty-state h3 {
    margin-bottom: 10px;
}
