/* Marmaray'a özel tüm CSS kodları buraya taşındı */
/* CSS Optimizasyonu */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
/* Header ve Navigation */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.7rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    flex-wrap: wrap;
}
.logo {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
}
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}
.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
}
/* Dropdown Menü */
.nav-links .dropdown {
    position: relative;
}
.nav-links .dropbtn {
    cursor: pointer;
    display: block;
}
.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 8px;
    margin-top: 0.5rem;
}
.nav-links .dropdown-content a {
    color: #2c3e50;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.nav-links .dropdown-content a:last-child {
    border-bottom: none;
}
.nav-links .dropdown-content a:hover {
    background: #f0f0f0;
}
.nav-links .dropdown:hover .dropdown-content,
.nav-links .dropdown-content:hover {
    display: block;
}
/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    nav {
        padding: 0 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .logo {
        font-size: 1.1rem;
    }
    .nav-links {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
    }
    .nav-links li {
        flex: 1;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 0.5rem;
        text-align: center;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .nav-links a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    .hero-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    .hero-section h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    main {
        padding: 1rem;
        margin-top: 50px;
    }
    .calculator-container,
    .info-section,
    .faq-section {
        padding: 1.2rem;
    }
}
/* Main Content */
main {
    margin-top: 60px;
    padding: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-section h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.hero-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}
@media (min-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}
@media (min-width: 768px) {
    .hero-section {
        padding: 3rem 2rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.2rem;
    }
}
/* Calculator Section */
.calculator-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}
.calculator-title {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e3c72;
}
select, button {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}
select:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}
button {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.2s;
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Search Feature */
.search-container {
    margin-bottom: 2rem;
}
#stationSearch {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}
/* Results */
.results-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 5px solid #1e3c72;
}
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}
.result-item:last-child {
    border-bottom: none;
}
.result-label {
    font-weight: 600;
    color: #1e3c72;
}
.result-value {
    font-weight: bold;
    color: #2a5298;
    font-size: 1.1rem;
}
/* Popular Routes */
.popular-routes {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}
.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.route-card {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.route-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}
/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 1rem;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e3c72;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Info Section Styles */
.info-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}
.section-title {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 0.5rem;
}
.station-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.time-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
}
/* FAQ Section */
.faq-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}
.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
}
.faq-answer {
    color: #666;
    line-height: 1.7;
}
.station-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.station-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.station-group h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2a5298;
    font-size: 1.1rem;
}
.station-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.station-group li {
    padding: 0.5rem 0;
    color: #444;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}
.station-group li:last-child {
    border-bottom: none;
}
.station-group li:hover {
    color: #1e3c72;
    padding-left: 0.5rem;
}
@media (max-width: 768px) {
    .station-list {
        grid-template-columns: 1fr;
    }
}
.map-container {
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 10px;
}
.map-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}
@media (max-width: 768px) {
    .map-container {
        margin: 1rem 0;
    }
    .map-container img {
        max-width: 100%;
        height: auto;
    }
}
.content-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.content-map-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.08);
    padding: 1.5rem 1rem;
    transition: box-shadow 0.2s;
}
.content-map-card:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.15);
}
.content-map-card h3 {
    font-size: 1.1rem;
    color: #16a085;
    margin-bottom: 1rem;
    text-align: center;
}
.content-map-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content-map-card li {
    margin-bottom: 0.5rem;
    text-align: center;
}
.content-map-card a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.content-map-card a:hover {
    color: #e67e22;
    text-decoration: underline;
} 