:root {
    /* Şanlıurfa Büyükşehir Belediyesi Kurumsal Renkleri */
    --primary: #c8102e; /* Kırmızı */
    --secondary: #8b5e3c; /* Toprak */
    --accent: #4b6f44; /* Yeşil */
    --navy-blue: rgba(54, 85, 63, 0.65); /* Requested Corporate Green/Gray */
    --navy-blue-dark: rgba(43, 68, 50, 0.8); /* Darker shade of the same */
    --background: #f5f5f5; /* Arka Plan */
    --text: #2b2b2b; /* Metin */
    --text-light: #6c757d;
    --white: #ffffff;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.5;
}

/* Top Bar */
.top-bar {
    background-color: var(--navy-blue-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar-right a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.top-bar-right a:hover {
    opacity: 1;
}

/* Header / Navbar */
.main-navbar {
    background-color: var(--navy-blue);
    padding: 1rem 0;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    height: 60px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8);
}

/* Page Title Bar */
.page-title-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.page-title-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb-nav .separator {
    margin: 0 0.5rem;
}

/* Search Section */
.search-section {
    background-color: var(--background);
    padding: 2rem 0;
}

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

.search-box {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-group {
    flex: 1;
    position: relative;
    border-right: 1px solid var(--border-color);
    padding-right: 1rem;
}

.search-group:last-child {
    border-right: none;
    padding-right: 0;
    flex: 0 0 auto;
}

.search-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.search-input {
    width: 100%;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    outline: none;
    background: transparent;
    cursor: pointer;
}

.search-btn {
    background-color: #dc3545; /* Specific red from screenshot */
    color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #bb2d3b;
}

/* Date Picker Dropdown */
.date-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none; /* JS will toggle this */
    margin-top: 0.5rem;
    z-index: 1000;
    width: 600px; /* Adjust as needed */
}

.date-picker-dropdown.active {
    display: flex;
}

.date-presets {
    width: 150px;
    border-right: 1px solid var(--border-color);
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.preset-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    transition: background-color 0.2s;
}

.preset-btn:hover {
    background-color: #e9ecef;
}

.preset-btn.active {
    background-color: #0d6efd; /* Blue active state */
    color: var(--white);
}

.calendar-container {
    flex: 1;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.calendar-day-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.5rem;
}

.calendar-day {
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.calendar-day:hover {
    background-color: #e9ecef;
}

.calendar-day.selected {
    background-color: #0d6efd;
    color: var(--white);
}

.calendar-day.other-month {
    color: #ced4da;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

/* How to Use Section */
.how-to-use {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--white);
}

.how-to-use h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    position: relative;
    background: var(--white);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #dc3545;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Results Table */
.results-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f8f9fa; /* Light blueish/gray bg for table */
    border-radius: 0.5rem;
    overflow: hidden;
}

.custom-table th {
    background-color: #e9ecef; /* Light gray header */
    color: var(--text); /* text-gray-900 equivalent */
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.custom-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

/* Footer / Share */
.share-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: var(--text);
    text-decoration: none;
    transition: background-color 0.2s;
}

.share-btn:hover {
    background-color: #e9ecef;
}

/* Utility */
.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}
