/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.site-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

header h1 a {
    color: #1a202c;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.tagline {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Language switcher */
.language-switcher {
    margin-left: auto;
}

.language-switcher select {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.language-switcher select:hover {
    border-color: #cbd5e0;
}

.language-switcher select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: white;
    color: #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: all 0.2s ease;
}

.search-box input:focus {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f7fafc;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #2d3748;
    text-decoration: none;
    display: block;
}

.search-result-item:hover {
    background: #f7fafc;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Country Cards */
.popular-countries, .all-countries {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
}

.popular-countries h2, .all-countries h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.country-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.country-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.country-flag {
    font-size: 2rem;
}

.country-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.country-time, .time-display {
    font-size: 2rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.country-timezone, .timezone {
    color: #718096;
    font-size: 0.875rem;
}

/* Country Hero */
.country-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.country-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.main-time-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-time {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.current-date {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.timezone-info {
    font-size: 1rem;
    opacity: 0.8;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Cities Section */
.cities-section {
    padding: 4rem 0;
    background: white;
}

.cities-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.city-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-align: center;
}

.city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.city-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.city-emoji {
    font-size: 1.5rem;
}

.city-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.city-time {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.city-timezone {
    color: #718096;
    font-size: 0.875rem;
}

/* SEO Content */
.seo-content {
    padding: 4rem 0;
    background: #f7fafc;
}

.seo-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.seo-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #4a5568;
}

.seo-text h3 {
    color: #2d3748;
    margin: 2.5rem 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.seo-text h4 {
    color: #3182ce;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.seo-text p {
    margin: 1rem 0;
    text-align: justify;
    font-size: 1rem;
}

.faq-item {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #3182ce;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.125rem;
}

.faq-item p {
    margin-bottom: 0;
    color: #4a5568;
}

/* Related Countries */
.related-countries {
    padding: 4rem 0;
    background: white;
}

.related-countries h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-link {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: #2d3748;
    text-align: center;
    transition: all 0.2s ease;
    font-weight: 500;
}

.related-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .country-hero h1 {
        font-size: 2rem;
    }

    .current-time {
        font-size: 2.5rem;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    header nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .language-switcher {
        margin-left: 0;
    }

    .seo-text h3 {
        font-size: 1.5rem;
    }

    .seo-text h4 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }

    .current-time {
        font-size: 2rem;
    }

    .main-time-display {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .country-card {
        padding: 1rem;
    }

    .city-card {
        padding: 1rem;
    }
}
