:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Main Content */
main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-form input[type="text"] {
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 300px;
}

.search-form button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #1c638e;
}

.cities {
    padding: 50px 0;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.city-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.city-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1c638e;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin-right: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-form input[type="text"] {
        width: 200px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-right: 0;
    }
}


/* City Page Styles */
.city-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.city-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.city-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.city-pharmacies {
    padding: 50px 0;
}

.pharmacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pharmacy-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pharmacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.pharmacy-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pharmacy-card p {
    margin-bottom: 10px;
}

.pharmacy-card i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.search-error {
    color: #ff0000;
    margin-top: 10px;
    font-weight: bold;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.city-item {
    background-color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}

.city-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .city-list {
        justify-content: center;
    }
}

.btn-map {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-map:hover {
    background-color: var(--secondary-color);
}

.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .city-hero h1 {
        font-size: 2rem;
    }

    .pharmacy-grid {
        grid-template-columns: 1fr;
    }
}


/* ... diğer stiller ... */

.city-select-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.city-select-form label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.city-select-form select {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.city-select-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #00395e;
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.city-select-form button:hover {
    background-color: #1c638e;
}

.btn-map {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-map:hover {
    background-color: var(--secondary-color);
}

.info-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.info-section h2 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-section p {
    margin-bottom: 15px;
}
.info-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 10px;
}

.emergency-pharmacies-info {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.emergency-pharmacies-info h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.emergency-pharmacies-info h3 {
    color: #34495e;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.pharmacy-list {
    list-style-type: none;
    padding: 0;
}

.pharmacy-list li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.pharmacy-list li strong {
    display: block;
    font-size: 18px;
    color: #2980b9;
    margin-bottom: 5px;
}

.info-content ul, .info-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.info-content li {
    margin-bottom: 10px;
}


.pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pharmacy-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pharmacy-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.pharmacy-item p {
    margin-bottom: 5px;
}

.btn-map {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-map:hover {
    background-color: #2980b9;
}

.info-section {
    margin-top: 40px;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 8px;
}

.info-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-section ul {
    list-style-type: none;
    padding-left: 0;
}

.info-section li {
    margin-bottom: 10px;
}


/* ... diğer stiller ... */