/**
 * UI Components Specific to Screenshot & Theme Design
 * Package: PS SDA UNTAD
 * Path: assets/css/components.css
 */

/* ==========================================================================
   1. Header, Branding, Accreditation Badge & Navbar Navigation
   ========================================================================== */

/* Color Palette Variable Definition */
:root {
    --sda-navy: #082a4d;
    --sda-blue: #0d6efd;
    --sda-gold: #ffc107;
}

/* Header Accreditation Badge */
.header-accreditation-badge {
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-accreditation-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Custom Navigation Menu Styles */
.custom-wp-menu, 
.custom-wp-menu ul, 
.custom-wp-menu li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.custom-wp-menu .menu-item > a,
.custom-wp-menu .nav-link {
    color: var(--sda-navy) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.custom-wp-menu > .menu-item:hover > a,
.custom-wp-menu > .menu-item.current-menu-item > a,
.custom-wp-menu > .menu-item.active > a {
    color: #0284c7 !important;
    background-color: rgba(2, 132, 199, 0.08);
}

/* ==========================================================================
   2. Hero Banner & Hero Slider Section
   ========================================================================== */

.hero-banner { 
    position: relative; 
    background: linear-gradient(135deg, rgba(9, 35, 71, 0.85) 0%, rgba(0, 136, 204, 0.75) 100%), url('../images/hero/hero-bg.jpg') center/cover no-repeat; 
    color: #ffffff; 
    padding: 90px 0 110px 0; 
}
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.25; }
.hero-subtitle { font-size: 1.05rem; opacity: 0.92; margin-top: 15px; max-width: 580px; }

.hero-slider-wrapper { position: relative; background-color: #082a4d; }
.hero-slider-wrapper .carousel-item { background-size: cover; background-position: center center; background-repeat: no-repeat; min-height: 600px; position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(8, 42, 77, 0.88) 0%, rgba(8, 42, 77, 0.60) 55%, rgba(8, 42, 77, 0.25) 100%); z-index: 1; }
.hero-content-container { z-index: 2; padding-left: 2rem; padding-right: 2rem; }
@media (min-width: 992px) { .hero-content-container { padding-left: 4rem; padding-right: 4rem; } }

.hero-badge { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 16px; border-radius: 50px; font-size: 0.825rem; font-weight: 700; letter-spacing: 1px; color: #ffffff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.badge-dot { width: 8px; height: 8px; background-color: #00d2ff; border-radius: 50%; display: inline-block; box-shadow: 0 0 8px #00d2ff; }
.hero-title { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.5px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
@media (min-width: 992px) { .hero-title { font-size: 3.25rem; } }
.hero-description p { margin-bottom: 0; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); }

.btn-hero-primary { background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%); color: #ffffff !important; border: none; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; box-shadow: 0 8px 20px rgba(0, 114, 255, 0.35); transition: all 0.3s ease; display: inline-flex; align-items: center; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 114, 255, 0.5); color: #ffffff; }
.btn-hero-glass { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff !important; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; }
.btn-hero-glass:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.6); transform: translateY(-2px); color: #ffffff; }

.custom-nav-btn { width: 70px; opacity: 0.9; z-index: 10; transition: all 0.3s ease; }
.custom-nav-btn:hover { opacity: 1; }
.glass-nav-icon { width: 48px; height: 48px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; }
.custom-nav-btn:hover .glass-nav-icon { background: rgba(0, 114, 255, 0.85); border-color: #00c6ff; transform: scale(1.1); box-shadow: 0 10px 25px rgba(0, 114, 255, 0.4); }
.custom-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); border: none; margin: 0 5px; transition: all 0.3s ease; }
.custom-indicators .active { width: 28px; border-radius: 10px; background-color: #00c6ff; box-shadow: 0 0 10px #00c6ff; }

/* ==========================================================================
   3. Feature Cards, Pilar & Dosen Section
   ========================================================================== */

.feature-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 20px; }
.feature-card { background: #f0f7fd; border-radius: 12px; padding: 24px 16px; text-align: center; transition: all 0.3s ease; border: 1px solid transparent !important; }
.feature-card:hover { transform: translateY(-5px); background: #ffffff; border-color: var(--sda-blue) !important; box-shadow: 0 12px 24px rgba(13, 110, 253, 0.1); }
.feature-card .icon-wrapper,
.feature-card .icon-circle { width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 136, 204, 0.15); color: var(--sda-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px auto; font-size: 1.3rem; transition: all 0.3s ease; }

.pilar-card-link { cursor: pointer; text-decoration: none !important; }
.pilar-card-link:hover .feature-card { background-color: #ffffff; border-color: #92caea !important; transform: translateY(-6px); box-shadow: 0 12px 24px rgba(13, 110, 253, 0.1); }
.pilar-card-link:hover .icon-circle { background-color: var(--sda-blue); color: #ffffff; }

.dosen-section { background: linear-gradient(135deg, #071f3d 0%, #0c3866 100%); padding: 50px 0; color: #ffffff; }
.dosen-card { background: #ffffff; border-radius: 12px; overflow: hidden; color: #333; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.dosen-card img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.dosen-card .dosen-info { padding: 15px 10px; }
.dosen-card h6 { font-weight: 700; font-size: 0.9rem; color: var(--sda-navy); margin-bottom: 3px; }
.dosen-card p { font-size: 0.78rem; color: var(--sda-blue); margin-bottom: 0; font-weight: 600; }

/* Agenda & CTA Component */
.agenda-item { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.date-badge { background: #e0f2fe; color: var(--sda-blue); border-radius: 8px; padding: 8px 14px; text-align: center; min-width: 55px; }
.date-badge .day { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.date-badge .month { font-size: 0.75rem; text-transform: uppercase; font-weight: 600; }

.cta-banner-blue { background: linear-gradient(135deg, #092347 0%, #005c8a 100%); border-radius: 16px; padding: 40px; color: #ffffff; }
.cta-bottom-bar { background: linear-gradient(90deg, #0088cc 0%, #005580 100%); color: #ffffff; padding: 30px 0; }
.cta-bottom-bar .icon-circle { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }

/* ==========================================================================
   4. Sambutan Koorprodi Component
   ========================================================================== */

.cpt-koorprodi-frame { position: relative; border-radius: 1.5rem !important; background: #f4f6f9; box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08); border: 3px solid #ffffff; outline: 1px solid rgba(13, 110, 253, 0.15); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; min-height: 420px; display: flex; flex-direction: column; overflow: hidden; padding: 8px; }
.cpt-koorprodi-frame:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(13, 110, 253, 0.18) !important; outline-color: rgba(13, 110, 253, 0.4); }
.cpt-koorprodi-frame img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top center !important; border-radius: 1.2rem !important; transition: transform 0.5s ease; }
.cpt-koorprodi-frame:hover img { transform: scale(1.03); }

.cpt-koorprodi-badge-glossy { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(13, 40, 95, 0.85); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.25); border-top: 1px solid rgba(255, 255, 255, 0.5); border-radius: 1rem; padding: 12px 16px; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); z-index: 3; transition: all 0.35s ease; }
.cpt-koorprodi-frame:hover .cpt-koorprodi-badge-glossy { background: rgba(13, 110, 253, 0.92); border-color: rgba(255, 255, 255, 0.65); box-shadow: 0 10px 28px rgba(13, 110, 253, 0.35); }
.cpt-koorprodi-badge-glossy .nama-koorprodi { font-size: 1rem; font-weight: 700; color: #ffffff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); margin-bottom: 3px; line-height: 1.25; letter-spacing: 0.2px; }
.cpt-koorprodi-badge-glossy .jabatan-koorprodi { font-size: 0.775rem; color: #e0e7ff !important; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); letter-spacing: 0.4px; text-transform: uppercase; }

.cpt-koorprodi-text { font-size: 1.025rem; line-height: 1.8; color: #334155; }
.cpt-koorprodi-text p { margin-bottom: 1rem; }
.cpt-koorprodi-quote { position: relative; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-left: 4px solid #0d6efd; border-radius: 0 12px 12px 0; padding: 16px 20px; margin-bottom: 1.25rem; font-style: italic; color: #1e3a8a; font-weight: 500; }
.btn-hover-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; transition: all 0.25s ease-in-out; }
.btn-hover-arrow i, .btn-hover-arrow svg { transition: transform 0.25s ease-in-out; }
.btn-hover-arrow:hover i, .btn-hover-arrow:hover svg { transform: translateX(6px); }

/* ==========================================================================
   5. Footer Component Styling
   ========================================================================== */

footer { background-color: #05162d; color: #a0aec0; padding: 50px 0 20px 0; font-size: 0.875rem; }
footer h5 { color: #ffffff; font-weight: 700; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #a0aec0; text-decoration: none; }
footer ul li a:hover { color: #ffffff; }

.footer-logo-img { transition: transform 0.3s ease; }
.footer-logo-img:hover { transform: scale(1.05); }

.tracking-wide { letter-spacing: 0.5px; }
.tracking-wider { letter-spacing: 1px; }
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.72rem !important; }
.text-primary-light { color: #6ea8fe; }
.text-navy { color: #0d2a4a; }

.hover-white:hover { color: #ffffff !important; padding-left: 4px; }
.transition-all { transition: all 0.25s ease-in-out; }

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.social-btn:hover {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Layout Utilities & Responsive Breaks */
.site-main { margin-top: 0 !important; }
.site-main > .container { padding-top: 0.5rem !important; }
header.site-header .navbar { margin-bottom: 0 !important; }

@media (max-width: 768px) {
    .cpt-koorprodi-frame { min-height: 360px; }
    .cpt-koorprodi-badge-glossy { padding: 10px 12px; }
    .cpt-koorprodi-badge-glossy .nama-koorprodi { font-size: 0.9rem; }
}