/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header Styling */
header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
}

.logo img {
    height: 100%;
    max-width: 100%;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #FFC107;
}

.ilan-btn {
    background-color: #FFC107;
    color: #000 !important;
    padding: 8px 15px;
    border-radius: 4px;
}

.ilan-btn:hover {
    background-color: #e0a800;
    color: #000 !important;
}

/* Hero Section - Sadece boyut ayarlamaları */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('taksigibi.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    height: 90vh; /* Önceki 100vh yerine biraz daha kısa */
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 80px 0 40px; /* Üstten biraz daha fazla boşluk */
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 36px; /* Biraz daha küçük font */
    color: #FFC107;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: bold;
}

.hero h2 {
    font-size: 20px; /* Biraz daha küçük font */
    max-width: 800px;
    margin: 20px auto 0;
}

.fare-calculator {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: auto;
    position: relative;
}

.calc-group {
    width: 30%;
    margin-bottom: 10px; /* Daha az boşluk */
}

.calc-group label {
    display: block;
    margin-bottom: 5px; /* Daha az boşluk */
    color: #FFC107;
    font-weight: bold;
    font-size: 14px;
}

.calc-group select {
    width: 100%;
    padding: 8px 15px; /* Daha küçük boyutlu input */
    border-radius: 5px;
    border: none;
    background-color: #f9f9f9;
    font-size: 14px;
}

#calculateBtn {
    background-color: #FFC107;
    color: #000;
    border: none;
    padding: 10px 25px; /* Daha küçük boyutlu buton */
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Result styling - Daha kompakt ve estetik */
.result {
    max-width: 600px;
    margin: 15px auto 0;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: none;
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.result-header {
    background-color: rgba(255, 193, 7, 0.9);
    padding: 8px 12px;
    color: #000;
    position: relative;
}

.result-header h3 {
    margin: 0;
    font-size: 15px;
    text-transform: uppercase;
}

.close-result {
    position: absolute;
    right: 6px;
    top: 6px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.result-body {
    padding: 12px 15px;
    text-align: center;
    color: #fff;
}

.route {
    font-size: 16px;
    margin-bottom: 8px;
    color: #FFC107;
    font-weight: bold;
    text-align: center;
}

/* Mesafe ve tutar için daha derli toplu düzen */
.details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px; /* Öğeler arasındaki boşluğu kontrol eder */
    margin-bottom: 5px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin: 0 8px 5px;
    color: #fff;
    font-size: 14px;
}

.detail-item i {
    margin-right: 5px;
    color: #FFC107;
    font-size: 14px;
}

/* Yolculuk detayları marjinini ayarla */
.hero .result {
    margin-bottom: 20px;
}

/* Mobil cihazlar için kompakt görünüm */
@media (max-width: 768px) {
    .result {
        max-width: 90%;
    }
    
    .detail-item {
        width: 100%;
        justify-content: center;
    }
}

/* Button styling improvements */
.hero-buttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-weight: bold;
}

.btn i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-primary {
    background-color: #25D366;
    color: white;
}

.btn-primary:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-secondary {
    background-color: #FFC107;
    color: black;
}

.btn-secondary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Main Content Section */
.main-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFC107;
}

.content-section h3 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 24px;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.content-section ul li {
    color: #666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #FFC107;
    border-radius: 50%;
}

/* Footer Styling */
footer {
    background-color: #111;
    color: #fff;
    padding: 50px 0 20px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.about, .menu, .contact {
    width: 30%;
}

.about h3, .menu h3, .contact h3 {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 18px;
}

.about p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
}

.social-icons a {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
}

.menu ul li, .contact ul li {
    margin-bottom: 10px;
}

.menu ul li a, .contact ul li {
    color: #ccc;
    font-size: 14px;
}

.menu ul li i, .contact ul li i {
    color: #FFC107;
    margin-right: 10px;
}

.copyright {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #ccc;
}

.chat-bubble {
    display: none;
}

/* Updated Registration Banner styling for hero section */
.register-banner {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 12px 20px;
    margin: 0 auto 20px;
    max-width: 700px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    animation: glow 1.5s infinite alternate;
}

.register-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.phone-icon {
    width: 40px;
    height: 40px;
}

.phone-icon i {
    font-size: 18px;
}

.register-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
}

.register-text span {
    font-size: 16px;
}

.register-text button {
    padding: 8px 15px;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about, .menu, .contact {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 20px;
        margin-bottom: 10px;
    }
    
    .calc-group {
        width: 100%;
    }
    
    .score-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 20px;
    }
    
    .detail-item {
        width: 100%;
    }
    
    .register-content {
        flex-direction: column;
    }
    
    .register-content span {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Add this class for better image display on larger screens */
@media (min-width: 1600px) {
    .hero {
        background-size: 100% auto;
    }
}

/* For smaller screens, ensure image is visible */
@media (max-width: 768px) {
    .hero {
        background-size: cover;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
    }
}

/* Keyframe animasyonları */
@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.7);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Sayfa kayma animasyonu için */
html {
    scroll-behavior: smooth;
} 