/* HIGHEST PRIORITY - HAMBURGER MENU RED COLOR OVERRIDE */
#menuToggle span,
#menuToggle > span,
.menu-toggle span,
.menu-toggle > span,
button#menuToggle span,
button.menu-toggle span {
    background: #e53e3e !important;
    background-color: #e53e3e !important;
    color: #e53e3e !important;
    border: none !important;
    outline: none !important;
    display: block !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    width: 24px !important;
    min-width: 24px !important;
    margin: 2px 0 !important;
    border-radius: 1px !important;
    line-height: 3px !important;
    font-size: 0 !important;
}

/* Override any white or other colors */
span {
    background-color: inherit !important;
}

/* User Icon Priority Rules */
.user-icon,
span.user-icon,
.giris-btn .user-icon,
.giris-btn-menu .user-icon {
    width: 20px !important;
    height: 20px !important;
    background-color: #e53e3e !important;
    background: #e53e3e !important;
    border-radius: 50% !important;
    position: relative !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.user-icon::before,
span.user-icon::before,
.giris-btn .user-icon::before,
.giris-btn-menu .user-icon::before {
    content: '' !important;
    position: absolute !important;
    top: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 6px !important;
    height: 6px !important;
    background-color: white !important;
    background: white !important;
    border-radius: 50% !important;
}

.user-icon::after,
span.user-icon::after,
.giris-btn .user-icon::after,
.giris-btn-menu .user-icon::after {
    content: '' !important;
    position: absolute !important;
    bottom: 3px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 10px !important;
    height: 6px !important;
    background-color: white !important;
    background: white !important;
    border-radius: 5px 5px 10px 10px !important;
}

#menuToggle span {
    background-color: #e53e3e !important;
    background: #e53e3e !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force hamburger menu spans to be red - highest priority */
span[style*="background-color: #e53e3e"] {
    background: #e53e3e !important;
    background-color: #e53e3e !important;
}

.menu-toggle span {
    background: #e53e3e !important;
    background-color: #e53e3e !important;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.giris-btn {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;
}

.giris-btn:hover {
    background-color: #f0f0f0;
}

/* Hamburger Menu Button */
.menu-toggle {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 4px !important;
}

/* Force red color for all spans - ALWAYS RED */
.menu-toggle span,
.menu-toggle > span,
button.menu-toggle span,
#menuToggle span {
    display: block !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    width: 24px !important;
    min-width: 24px !important;
    background: #e53e3e !important;
    background-color: #e53e3e !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
    margin: 2px 0 !important;
    border: none !important;
    outline: none !important;
    line-height: 3px !important;
    font-size: 0 !important;
}

/* Normal state - force red */
.menu-toggle:not(.active) span,
.menu-toggle:not(.active) > span,
button.menu-toggle:not(.active) span,
#menuToggle:not(.active) span {
    background: #e53e3e !important;
    background-color: #e53e3e !important;
    color: #e53e3e !important;
}

/* Active state - ALSO KEEP RED */
.menu-toggle.active span,
.menu-toggle.active > span,
button.menu-toggle.active span,
#menuToggle.active span {
    background: #e53e3e !important;
    background-color: #e53e3e !important;
    color: #e53e3e !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #e53e3e;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.menu-content {
    padding: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Menu Footer */
.menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

.giris-btn-menu {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 10px 20px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    width: fit-content;
}

.giris-btn-menu:hover {
    background-color: rgba(255,255,255,0.1);
}

.search-box {
    display: flex;
    background-color: rgba(255,255,255,0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: white;
    font-size: 12px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
}

.search-btn {
    background: none;
    border: none;
    color: white;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.search-icon::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 11px;
    width: 5px;
    height: 2px;
    background-color: white;
    transform: rotate(45deg);
    border-radius: 1px;
}

/* Banner Section */
.banner-section {
    background-image: url('./banner.png'), url('banner.png'), url('../tursab/banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #e53e3e;
    margin-top: 60px;
    padding: 15px 0;
    position: relative;
    min-height: 70px;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(229, 62, 62, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
}

.page-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.breadcrumb {
    position: absolute;
    bottom: -25px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 300;
    opacity: 0.9;
    cursor: default;
}

.breadcrumb-separator {
    color: white;
    font-size: 11px;
    opacity: 0.7;
    margin: 0 3px;
}

.breadcrumb-current {
    color: white;
    font-size: 11px;
    font-weight: 400;
    opacity: 1;
    position: relative;
    padding-bottom: 3px;
}

.breadcrumb-current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

/* Main Content */
.main-content {
    margin-top: 0;
    min-height: calc(100vh - 200px);
    padding: 20px;
}

/* Search Form Styles */
.search-form-container {
    max-width: 400px;
    margin: 0 auto;
}

.search-form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
}

.form-title {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 15px 0;
    border: none;
    padding: 0;
}

.radio-group {
    margin-bottom: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #333;
}

.radio-option label {
    color: #333;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.form-fields {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.field-label {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    height: 32px;
}

.form-input:focus {
    outline: none;
    border-color: #999;
    box-shadow: none;
}

.form-buttons {
    display: flex;
    gap: 0;
}

.btn {
    padding: 8px 8px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: none;
    height: 32px;
    min-width: 50px;
}

.btn-search {
    background-color: #40c4c7;
    color: white;
    border: 1px solid #40c4c7;
}

.btn-search:hover {
    background-color: #369ca0;
}

.btn-clear {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
}

.btn-clear:hover {
    background-color: #f5f5f5;
}

/* Search Results Styles */
.search-results {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.verification-result,
.agency-results,
.no-results {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.result-header h3 {
    color: #e53e3e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.verification-message {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #e53e3e;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.agency-details {
    background-color: #fff;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.detail-row {
    margin-bottom: 0;
    padding: 8px 0;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: #e53e3e;
    font-weight: 500;
    display: inline-block;
    min-width: 80px;
}

.agency-results h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.agencies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agency-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.agency-header {
    background-color: #f8f9fa;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.agency-header h4 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.belge-no {
    color: #e53e3e;
    font-size: 12px;
    font-weight: 500;
}

.agency-item .agency-details {
    background-color: #fff;
    margin: 0;
    border-radius: 0;
}

.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    background-color: #f8f9fa;
}

.no-results p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .header-content {
        padding: 0 30px;
    }
    
    .mobile-menu {
        width: 400px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .banner-content {
        padding: 0 40px;
    }
    
    .breadcrumb {
        left: 40px;
        bottom: -25px;
    }
    
    .page-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .banner-section {
        padding: 10px 0;
    }
    
    .banner-content {
        min-height: 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .breadcrumb {
        bottom: -20px;
        left: 10px;
        gap: 1px;
    }
    
    .breadcrumb-item,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 10px;
    }
    
    .search-form-container {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn {
        margin-bottom: 8px;
    }
}

@media (min-width: 1024px) {
    .mobile-menu {
        width: 350px;
    }
}

/* Scrollbar styling for mobile menu */
.mobile-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Animation for smooth transitions */
.menu-item {
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.menu-item:hover::before {
    left: 100%;
} 