/* ============================================
   DIREKTORI PAGE CSS
   Extracted from: Homepage/About/direktori.blade.php
============================================ */

        * {
            font-family: 'Source Sans Pro', sans-serif;
        }

        /* Override navbar styles for direktori page only - Desktop only */
        @media (min-width: 992px) {
            .navbar-sticky {
                background-color: white !important;
                height: auto !important;
                padding: 0.5rem 0 !important;
            }

            .navbar-sticky.scrolled {
                background-color: white !important;
            }

            .navbar-sticky .nav-link {
                color: #2c3e50 !important;
            }

            .navbar-sticky .logo-navy {
                display: block !important;
            }

            .navbar-sticky .logo-white {
                display: none !important;
            }
        }

        /* Keep mobile navbar consistent with other pages */
        @media (max-width: 991.98px) {
            .navbar-sticky {
                background-color: #001f49 !important;
                padding: 0 !important;
                height: 64px !important;
            }

            .navbar-sticky .logo-navy {
                display: none !important;
            }

            .navbar-sticky .logo-white {
                display: block !important;
            }
        }

        /* Hero Section */
        .direktori-hero {
            min-height: 400px;
            background: linear-gradient(135deg, #001f49 0%, #003366 50%, #001f49 100%);
            background-size: 200% 200%;
            animation: gradientShift 15s ease infinite;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 1rem 4rem;
            overflow: hidden;
        }

        @keyframes gradientShift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        .direktori-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(0, 181, 236, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .direktori-hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .direktori-hero-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1rem;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            letter-spacing: -0.02em;
        }

        .direktori-hero-description {
            font-size: 1.1rem;
            color: #e6f1ff;
            line-height: 1.7;
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
        }

        /* Leaflet Custom Styles */
        .leaflet-container {
            font-family: 'Source Sans Pro', sans-serif;
        }

        .custom-marker-popup {
            font-family: 'Source Sans Pro', sans-serif;
        }

        .custom-marker-popup .office-name {
            font-weight: 700;
            color: #001f49;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .custom-marker-popup .office-address {
            font-size: 0.875rem;
            color: #6b7280;
            margin-bottom: 0.75rem;
        }

        .custom-marker-popup .popup-button {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: #00B5EC;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 600;
            transition: background 0.3s ease;
        }

        .custom-marker-popup .popup-button:hover {
            background: #0099cc;
        }

        /* Map Button */
        .map-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: #00B5EC;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .map-button:hover {
            background: #0099cc;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 181, 236, 0.3);
        }

        .map-button i {
            font-size: 1.1rem;
        }

        /* Map Modal */
        .map-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .map-modal.show {
            display: flex;
        }

        .map-modal-content {
            background: white;
            border-radius: 12px;
            width: 100%;
            max-width: 1200px;
            height: 80vh;
            max-height: 800px;
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .map-modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .map-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #001f49;
        }

        .map-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #6b7280;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .map-modal-close:hover {
            background: #f3f4f6;
            color: #001f49;
        }

        .map-modal-body {
            flex: 1;
            position: relative;
            border-radius: 0 0 12px 12px;
            overflow: hidden;
        }

        #modalMap {
            width: 100%;
            height: 100%;
        }

        @media (max-width: 768px) {
            .map-modal {
                padding: 1rem;
            }

            .map-modal-content {
                height: 90vh;
                max-height: none;
            }

            .map-modal-title {
                font-size: 1.25rem;
            }
        }

        /* Search Section */
        .search-section {
            padding: 2rem 0;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
        }

        .search-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .search-wrapper {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #00B5EC;
            box-shadow: 0 0 0 4px rgba(0, 181, 236, 0.1);
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #6b7280;
            font-size: 1.25rem;
        }

        /* City Filter */
        .city-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            justify-content: center;
            margin-top: 1.5rem;
        }

        .city-chip {
            padding: 0.5rem 1.25rem;
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #374151;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .city-chip:hover,
        .city-chip.active {
            background: #001f49;
            border-color: #001f49;
            color: #ffffff;
        }

        /* Offices Section */
        .offices-section {
            padding: 4rem 0;
            background: #f9fafb;
        }

        .offices-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .city-section {
            margin-bottom: 4rem;
        }

        .city-section:last-child {
            margin-bottom: 0;
        }

        .city-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: #001f49;
            margin-bottom: 0;
        }

        .offices-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .offices-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 992px) {
            .offices-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .office-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 1.75rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .office-card:hover {
            box-shadow: 0 8px 20px rgba(0, 31, 73, 0.12);
            border-color: #d1d5db;
            transform: translateY(-4px);
        }

        .office-name {
            font-size: 1.25rem;
            font-weight: 700;
            color: #001f49;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .office-address {
            font-size: 0.95rem;
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .office-address i {
            color: #00B5EC;
            margin-top: 0.25rem;
            flex-shrink: 0;
        }

        .office-info {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.25rem;
        }

        .office-info-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.9rem;
            color: #374151;
        }

        .office-info-item i {
            color: #6b7280;
            margin-top: 0.125rem;
            flex-shrink: 0;
        }

        .office-info-label {
            font-weight: 600;
            color: #001f49;
            min-width: 80px;
        }

        .office-info-value {
            flex: 1;
            color: #374151;
        }

        .office-actions {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
        }

        .office-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.625rem 0.75rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid;
            width: 100%;
            text-align: center;
        }

        @media (max-width: 768px) {
            .office-actions {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }
        }

        .office-btn-tel {
            background: #f9fafb;
            border-color: #e5e7eb;
            color: #374151;
        }

        .office-btn-tel:hover {
            background: #f3f4f6;
            border-color: #d1d5db;
            color: #001f49;
        }

        .office-btn-wa {
            background: #25D366;
            border-color: #25D366;
            color: #ffffff;
        }

        .office-btn-wa:hover {
            background: #20BA5A;
            border-color: #20BA5A;
            color: #ffffff;
        }

        .office-btn-web {
            background: #001f49;
            border-color: #001f49;
            color: #ffffff;
        }

        .office-btn-web:hover {
            background: #003366;
            border-color: #003366;
            color: #ffffff;
        }

        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            color: #6b7280;
        }

        .empty-state i {
            font-size: 4rem;
            color: #d1d5db;
            margin-bottom: 1rem;
        }

        .empty-state-text {
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .direktori-hero {
                min-height: 300px;
                padding: 5rem 1rem 3rem;
            }

            .direktori-hero-title {
                font-size: 1.75rem;
            }

            .direktori-hero-description {
                font-size: 0.95rem;
            }

            .city-filter {
                gap: 0.5rem;
            }

            .city-chip {
                padding: 0.4rem 1rem;
                font-size: 0.85rem;
            }

            .city-title {
                font-size: 1.5rem;
                margin-bottom: 1.5rem;
            }

            .office-card {
                padding: 1.5rem;
            }

            .office-name {
                font-size: 1.1rem;
            }

            .offices-section {
                padding: 3rem 0;
            }

            .city-section {
                margin-bottom: 3rem;
            }
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 48px;
            height: 48px;
            background: #001f49;
            color: #ffffff;
            border: none;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 999;
            box-shadow: 0 4px 12px rgba(0, 31, 73, 0.3);
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
        }

        .scroll-to-top.show {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-to-top:hover {
            background: #003366;
            transform: translateY(-4px);
            box-shadow: 0 6px 20px rgba(0, 31, 73, 0.4);
        }

        .scroll-to-top i {
            font-size: 1.25rem;
        }

        @media (max-width: 768px) {
            .scroll-to-top {
                bottom: 1.5rem;
                right: 1.5rem;
                width: 44px;
                height: 44px;
            }

            .scroll-to-top i {
                font-size: 1.1rem;
            }
        }
    </style>