/* =============================================================
   GLOBAL.CSS — D-KODE Shared Styles
   Extracted from per-page <style> blocks to eliminate
   duplicate CSS across multiple HTML files.
   Linked in: index.html, about.html, team.html,
              privacy.html, terms.html
   ============================================================= */


/* -------------------------------------------------------
   GROUP A: Team Glow Overlay
   Used in: index.html, about.html, team.html
   ------------------------------------------------------- */
#team-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
    pointer-events: none;
}


/* -------------------------------------------------------
   GROUP B: Team Grid & Member Images
   Used in: index.html, about.html
   ------------------------------------------------------- */
.team-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

.glass-card:hover .team-member-img {
    filter: grayscale(0%);
}


/* -------------------------------------------------------
   GROUP C: Location / Map / Hours
   Used in: index.html, about.html
   ------------------------------------------------------- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    font-size: 15px;
}

@media (max-width: 768px) {
    .location-grid { grid-template-columns: 1fr; }
}


/* -------------------------------------------------------
   GROUP D: FAQ Accordion
   Used in: index.html, about.html
   ------------------------------------------------------- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #888;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-answer {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #fff;
}

.faq-item.active .faq-body {
    max-height: 300px;
    opacity: 1;
}


/* -------------------------------------------------------
   GROUP E: Legal / Content Typography
   Used in: privacy.html, terms.html, about.html
   ------------------------------------------------------- */
.text-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 300;
}

.text-highlight {
    color: #fff;
    font-weight: 500;
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.list-clean li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
}

.list-clean i {
    color: #fff;
    opacity: 0.5;
    font-size: 12px;
    margin-top: 5px;
}

.legal-date {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 30px;
}
