/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Poppins', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* =========================================
   HEADER (Floating Card Style)
   ========================================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 60px;
    z-index: 1000;
}

/* Logo Styling */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigation Card (White Box) */
.nav-card {
    background: #fff;
    display: flex;
    height: 55px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 0 10px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-link:hover {
    color: #ff7a2f;
}

.nav-link.active {
    color: #ff7a2f;
    border-bottom: 4px solid #ff7a2f;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #eee;
    align-self: center;
}

/* Buttons */
.header-actions {
    display: flex;
    gap: 12px;
}

.btn-contact {
    background: #ff7a2f;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #e06b26;
}

.btn-quote {
    background: #3a3a3a;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-quote:hover {
    background: #555;
}

/* =========================================
   HERO SECTION
   ========================================= */
.portfolio-hero {
    position: relative;
    width: 100%;
    height: 76vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('assests/images/portfolio.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: 120px;
    width: 100%;
}

.hero-content h1 {
    font-size: 90px;
    font-weight: 400;
    color: white;
    margin-bottom: 20px;
    margin-top: 100px;
}

.breadcrumbs {
    font-size: 18px;
    color: #ccc;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 150px;
}

.breadcrumbs .current {
    color: #ff7a2f;
    font-weight: 600;
}

.breadcrumbs .arrow {
    font-size: 14px;
    color: #ccc;
}

/* =========================================
   SERVICES SECTION & TABS
   ========================================= */
.services-header-ui {
    background-color: #000000;
    padding: 60px 80px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}

.main-heading-container {
    margin-bottom: 40px;
}

.main-heading-container h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.2;
}

.highlight-orange {
    color: #FF8C00;
}

.heading-subtitle {
    color: #999;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    row-gap: 20px;
    margin-bottom: 40px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #111;
    border: 1px solid #222;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-item span {
    font-size: 14px;
    font-weight: 500;
    color: #888;
}

.icon-wrapper {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(0.5);
    transition: all 0.3s ease;
}

/* Dynamic Header (Above Images) */
.current-section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
}

.section-icon-box {
    width: 45px;
    height: 45px;
    background-color: #2E1A05;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.header-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(66%) sepia(61%) saturate(5438%) hue-rotate(1deg) brightness(103%) contrast(105%);
}

.section-text-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #fff;
}

.section-text-box p {
    color: #888;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

/* =========================================
   GALLERY GRID & LIGHTBOX
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.grid-item {
    position: relative;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: transform 0.2s;
}

.grid-item:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    justify-content: center;
    align-items: center;
}

.lightbox:target {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(85vw, 1240px);
    height: 84vh;
    border-radius: 10px;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    width: 80%;
    height: 80%;
    max-width: none;
    max-height: none;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 28px;
    color: white;
    font-size: 48px;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

/* =========================================
   PURE CSS TABS LOGIC
   ========================================= */

/* Default State: Hide All */
.current-section-header, .grid-item {
    display: none;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 1. ADVERTISING --- */
#radio-adv:checked ~ .tabs-navigation label[for="radio-adv"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-adv:checked ~ .tabs-navigation label[for="radio-adv"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-adv:checked ~ .tabs-navigation label[for="radio-adv"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-adv:checked ~ .tabs-navigation label[for="radio-adv"] span {
    color: #fff; font-weight: 600;
}
#radio-adv:checked ~ .dynamic-headers .header-adv { display: flex; }
#radio-adv:checked ~ .gallery-grid .cat-adv { display: block; animation: fadeIn 0.5s; }

/* --- 2. SIGNAGES --- */
#radio-sign:checked ~ .tabs-navigation label[for="radio-sign"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-sign:checked ~ .tabs-navigation label[for="radio-sign"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-sign:checked ~ .tabs-navigation label[for="radio-sign"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-sign:checked ~ .tabs-navigation label[for="radio-sign"] span {
    color: #fff; font-weight: 600;
}
#radio-sign:checked ~ .dynamic-headers .header-sign { display: flex; }
#radio-sign:checked ~ .gallery-grid .cat-sign { display: block; animation: fadeIn 0.5s; }

/* --- 3. EVENTS --- */
#radio-event:checked ~ .tabs-navigation label[for="radio-event"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-event:checked ~ .tabs-navigation label[for="radio-event"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-event:checked ~ .tabs-navigation label[for="radio-event"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-event:checked ~ .tabs-navigation label[for="radio-event"] span {
    color: #fff; font-weight: 600;
}
#radio-event:checked ~ .dynamic-headers .header-event { display: flex; }
#radio-event:checked ~ .gallery-grid .cat-event { display: block; animation: fadeIn 0.5s; }

/* --- 4. RESEARCH --- */
#radio-research:checked ~ .tabs-navigation label[for="radio-research"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-research:checked ~ .tabs-navigation label[for="radio-research"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-research:checked ~ .tabs-navigation label[for="radio-research"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-research:checked ~ .tabs-navigation label[for="radio-research"] span {
    color: #fff; font-weight: 600;
}
#radio-research:checked ~ .dynamic-headers .header-research { display: flex; }
#radio-research:checked ~ .gallery-grid .cat-research { display: block; animation: fadeIn 0.5s; }

/* --- 5. PR --- */
#radio-pr:checked ~ .tabs-navigation label[for="radio-pr"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-pr:checked ~ .tabs-navigation label[for="radio-pr"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-pr:checked ~ .tabs-navigation label[for="radio-pr"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-pr:checked ~ .tabs-navigation label[for="radio-pr"] span {
    color: #fff; font-weight: 600;
}
#radio-pr:checked ~ .dynamic-headers .header-pr { display: flex; }
#radio-pr:checked ~ .gallery-grid .cat-pr { display: block; animation: fadeIn 0.5s; }

/* --- 6. PRINTING --- */
#radio-print:checked ~ .tabs-navigation label[for="radio-print"] {
    background-color: #2E1A05; border-color: #4D2B00;
}
#radio-print:checked ~ .tabs-navigation label[for="radio-print"] .icon-wrapper {
    background-color: #FF8C00; color: #000;
}
#radio-print:checked ~ .tabs-navigation label[for="radio-print"] .value-img {
    filter: brightness(0) invert(1);
}
#radio-print:checked ~ .tabs-navigation label[for="radio-print"] span {
    color: #fff; font-weight: 600;
}
#radio-print:checked ~ .dynamic-headers .header-print { display: flex; }
#radio-print:checked ~ .gallery-grid .cat-print { display: block; animation: fadeIn 0.5s; }


/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    font-family: "Segoe UI", sans-serif;
    padding: 80px 80px 20px;
    width: 100%;
    border-top: 1px solid #111;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 70px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}
.contact-col { flex: 1.4; }
.links-col { flex: 0.7; }
.services-col { flex: 0.7; }
.map-col { flex: 1.5; }

.footer-logo { margin-bottom: 35px; }
.footer-logo img { height: 75px; object-fit: contain; }

.contact-details { display: flex; flex-direction: column; gap: 25px; }
.contact-row { display: flex; align-items: flex-start; gap: 15px; font-size: 15px; color: #cccccc; line-height: 1.6; }
.icon-box { width: 20px; display: flex; justify-content: center; margin-top: 4px; color: #fff; }

.footer-col h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 35px; letter-spacing: 0.5px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 18px; }
.footer-links a { color: #999; text-decoration: none; font-size: 16px; transition: 0.3s; }
.footer-links a:hover { color: #ff7a2f; }

.social-icons { display: flex; gap: 20px; margin-top: 40px; }
.social-link svg { width: 22px; height: 22px; color: #fff; transition: 0.3s; }
.social-link:hover svg { stroke: #ff7a2f; }

.map-container {
    width: 100%; height: 350px; background-color: #222;
    border-radius: 4px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.map-container img { width: 100%; height: 100%; object-fit: cover; }

.footer-bottom {
    border-top: 1px solid #1f1f1f; padding-top: 30px; display: flex;
    justify-content: space-between; align-items: center; flex-wrap: wrap;
    font-size: 14px; color: #777;
}

.legal-links { display: flex; gap: 40px; }
.legal-links a { color: #777; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) {
    .site-footer { padding: 60px 30px; }
    .footer-container { flex-direction: column; gap: 40px; }
    .map-container { height: 300px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .legal-links { gap: 20px; justify-content: center; }
}
@media (max-width: 900px) {
    header { flex-direction: column; padding: 20px; gap: 15px; background: rgba(0,0,0,0.9); position: relative; }
    .nav-card { width: 100%; height: auto; padding: 10px 0; flex-wrap: wrap; justify-content: center; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-hero h1 { font-size: 50px; margin-top: 50px; }
    .hero-content { padding-left: 20px; }
    .services-header-ui { padding: 40px 20px; }
    .divider { display: none; }
}
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .main-heading-container h2 { font-size: 36px; }
    .tab-item { flex: 1 1 auto; }
}
