/* SPA visual fixes and overrides to match existing PHP theme */

/* Smooth page transitions */
.page-transition { opacity: 0; transform: translateY(8px); transition: all .24s ease-in-out; }
.page-active { opacity: 1; transform: translateY(0); }

/* Utility */
.shadow-soft { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.rounded-10 { border-radius: 10px; }

/* Notice Board cards (match PHP page) */
.notice-item { transition: transform .3s, box-shadow .3s; border-radius: 10px; }
.notice-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.notice-img { height: 440px; overflow: hidden; border-radius: 10px 10px 0 0; }
.notice-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.notice-item:hover .notice-img img { transform: scale(1.05); }
.video-container { position: relative; width: 100%; height: 440px; border-radius: 10px 10px 0 0; overflow: hidden; }
.video-container iframe { width: 100%; height: 100%; border: 0; }
.notice-content { padding: 25px; }
.notice-heading { color: #333; font-weight: 600; margin-bottom: 15px; font-size: 1.2rem; }
.notice-text { color: #666; line-height: 1.6; margin-bottom: 20px; }
.posted-by { color: #06BBCC; font-weight: 500; }

/* Notice detail */
.notice-detail-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.notice-meta { background: #f8f9fa; padding: 20px; border-radius: 10px; margin: 30px 0; }
.notice-meta .meta-item { display: flex; align-items: center; margin-bottom: 10px; }
.notice-meta .meta-item:last-child { margin-bottom: 0; }
.notice-meta i { color: #06BBCC; margin-right: 10px; width: 20px; }
.notice-content { font-size: 1.05rem; line-height: 1.8; color: #444; text-align: justify; }
.notice-content p { margin-bottom: 20px; }
.related-notice { transition: transform .3s; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.related-notice:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.related-notice img { width: 100%; height: 150px; object-fit: cover; }
.related-notice-content { padding: 15px; }
.related-notice h6 { color: #333; margin-bottom: 10px; font-weight: 600; }
.related-notice small { color: #666; }
.back-btn { background: #06BBCC; border: 0; color: #fff; padding: 10px 25px; border-radius: 25px; text-decoration: none; display: inline-flex; align-items: center; transition: all .3s; }
.back-btn:hover { background: #059BB5; color: #fff; transform: translateX(-5px); }
.print-btn { background: #28a745; border: 0; color: #fff; padding: 10px 25px; border-radius: 25px; text-decoration: none; display: inline-flex; align-items: center; transition: all .3s; margin-left: 10px; }
.print-btn:hover { background: #218838; color: #fff; }

/* Pagination color tune (if used inside SPA) */
.pagination .page-link { color: #06BBCC; border-color: #06BBCC; }
.pagination .page-item.active .page-link { background-color: #06BBCC; border-color: #06BBCC; }
.pagination .page-link:hover { background-color: #06BBCC; border-color: #06BBCC; color: #fff; }

/* About big portrait image */
.custom-img { width: 100%; max-width: 500px; height: auto; aspect-ratio: 5 / 8; object-fit: cover; }
@media (min-width: 992px) { .custom-img { width: 500px; height: 800px; } }

/* Classes cards spacing tweaks */
.classes-item .bg-light.rounded { border-radius: 12px !important; }
.classes-item .bg-light.rounded-circle { box-shadow: inset 0 0 0 6px #fff; }
.classes-item .rounded-circle img { border: 4px solid #fff; }

/* Buttons consistent with primary color */
.btn-outline-primary { color: #06BBCC; border-color: #06BBCC; }
.btn-outline-primary:hover { background-color: #06BBCC; border-color: #06BBCC; color: #fff; }

/* Fix anchor focus outlines for accessibility */
a:focus, button:focus { outline: 2px dashed rgba(6,187,204,.6); outline-offset: 2px; }

/* Ensure dropdowns have proper shadow */
.dropdown-menu { box-shadow: 0 10px 30px rgba(0,0,0,.1); }

/* Footer link contrast */
.footer a.btn.btn-link { color: rgba(255,255,255,.7); }
.footer a.btn.btn-link:hover { color: #fff; }

/* Reduce container max width on very large screens for readability */
@media (min-width: 1400px) {
  .container { max-width: 1200px; }
}

/* Activities cards to match activities.php */
.activity-card { transition: all .3s; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,.1); height: 100%; }
.activity-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.activity-img { height: 200px; overflow: hidden; }
.activity-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.activity-card:hover .activity-img img { transform: scale(1.05); }
.activity-content { padding: 20px; }
.activity-date { color: #06BBCC; font-size: .9rem; margin-bottom: 10px; }
.activity-title { font-size: 1.2rem; margin-bottom: 10px; color: #333; }
.activity-text { color: #666; line-height: 1.6; margin-bottom: 15px; }
.read-more { color: #06BBCC; font-weight: 500; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* Team page styles to match PHP */
/* Gallery styles to match gallery.php */
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,.1); transition: all .3s; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.7); color: #fff; padding: 15px; transform: translateY(100%); transition: transform .3s; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-title { font-size: 1.2rem; margin-bottom: 5px; }
.gallery-description { font-size: .9rem; margin-bottom: 0; }
.team-item { position: relative; text-align: center; }
.team-item .img-fluid.rounded-circle.w-75 { border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.team-text { position: absolute; left: 0; right: 0; bottom: 0; margin: auto; max-width: 300px; background: #fff; padding: 20px; border-radius: 10px; transform: translateY(50%); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.team-text h3 { margin-bottom: 5px; font-size: 1.25rem; }
.team-text p { margin-bottom: 10px; color: #06BBCC; }
.btn.btn-square { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }


