/* Genel Ayarlar */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #e8f6f3, #d4ebf2); /* Zarif geçişli arka plan */
    background-image: url('textures/subtle-pattern.png'); /* Hafif bir doku ekleyin */
    background-size: cover;
    color: #34495e;
}

/* Form Animasyonları */
main {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    animation: slide-in 0.5s ease-out;
}

@keyframes slide-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Başlıkları */
h1, h2 {
    text-align: center;
    color: #2ecc71;
    margin-bottom: 20px;
}

/* İlerleme Çubuğu */
.progress-bar {
    height: 5px;
    background: #ecf0f1;
    margin-bottom: 20px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    display: block;
    width: 60%; /* Dinamik olarak doldurulabilir */
    height: 100%;
    background: #2ecc71;
    transition: width 0.3s ease;
}

/* Alan Grupları */
fieldset {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

fieldset:hover {
    transform: scale(1.02);
    border-color: #2ecc71;
    background: #f9f9f9;
}

/* Tooltipler */
label {
    position: relative;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

label:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    bottom: -25px;
    background: #3498db;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 100;
}

/* Giriş Alanları */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    background: #ecf0f1;
    margin-top: 5px;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #3498db;
    background-color: #ffffff;
    outline: none;
}

/* Düğme */
button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    color: #ffffff;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background: linear-gradient(to right, #27ae60, #2ecc71);
    transform: translateY(-2px);
}

/* Dinamik Arka Plan Değişimi */
@keyframes pulse {
    0% { background-color: #27ae60; }
    50% { background-color: #2ecc71; }
    100% { background-color: #27ae60; }
}

button[type="submit"]:active {
    animation: pulse 0.5s infinite alternate;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #7f8c8d;
}

/* Mobil Uyum */
@media (max-width: 600px) {
    main {
        padding: 20px;
    }

    button[type="submit"] {
        font-size: 1em;
    }
}
/* Genel Ayarlar */
.input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
}

.input-container i {
    color: #3498db; /* İkon rengi */
    font-size: 1.2em;
    margin-right: 10px;
}

.input-container input,
.input-container textarea {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1em;
    color: #2c3e50;
    padding: 5px;
}

.input-container input::placeholder,
.input-container textarea::placeholder {
    color: #7f8c8d;
}

/* Hover ve Odak Efektleri */
.input-container:hover {
    border-color: #3498db;
}

.input-container input:focus,
.input-container textarea:focus {
    outline: none;
}

/* İkon Boyutlandırma */
.input-container i {
    transition: transform 0.2s ease;
}

.input-container:hover i {
    transform: scale(1.1);
}


/* Radyo Butonları ve Etiketler */
label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ecf0f1; /* Hafif gri sınır */
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

label:hover {
    background-color: #e8f6f3; /* Hafif yeşil hover efekti */
    border-color: #2ecc71; /* Yeşil sınır */
}

label img.icon {
    width: 40px;
    height: 40px;
}

input[type="radio"] {
    accent-color: #3498db; /* Mavi radyo butonları */
    width: 18px;
    height: 18px;
}

/* Düğme */
button {
    background-color: #2ecc71; /* Yeşil tonunda düğme */
    color: #ffffff; /* Beyaz yazı */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #27ae60; /* Daha koyu yeşil hover efekti */
}

/* Mobil Uyum */
@media (max-width: 600px) {
    main {
        padding: 15px;
    }

    label {
        flex-direction: column;
        align-items: flex-start;
    }

    label img.icon {
        margin-bottom: 5px;
    }
}
/* Genel Ayarlar */
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1em;
    border: 1px solid #bdc3c7; /* Hafif gri sınır */
    border-radius: 5px;
    background-color: #ecf0f1; /* Hafif gri arka plan */
    color: #2c3e50; /* Yazı rengi */
    outline: none;
    transition: border-color 0.3s ease;
}

select:focus {
    border-color: #3498db; /* Odaklanınca mavi sınır */
    background-color: #ffffff; /* Beyaz arka plan */
}

fieldset {
    border: 2px solid #3498db; /* Mavi sınır */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2c3e50; /* Koyu ton yazı rengi */
}
/* Extra Services Section */
.extra-services {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9; /* Hafif gri arka plan */
    border: 2px solid #3498db; /* Mavi sınır */
    border-radius: 8px;
}

.extra-services h2 {
    color: #2ecc71; /* Yeşil ton başlık */
    margin-bottom: 20px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.service-card {
    text-align: center;
    padding: 15px;
    background-color: #ffffff; /* Beyaz arka plan */
    border: 1px solid #bdc3c7; /* Hafif gri sınır */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.service-card p {
    margin: 5px 0;
}

.service-card .price {
    color: #3498db; /* Mavi fiyat yazısı */
    font-weight: bold;
}

input.extra-service {
    margin-top: 10px;
    accent-color: #2ecc71; /* Yeşil onay kutusu */
}

#calculatedPrice {
    position: fixed; /* Sabit pozisyon */
    top: 20px; /* Ekranın üst kısmından uzaklık */
    right: 20px; /* Ekranın sağ tarafından uzaklık */
    background-color: #2ecc71; /* Yeşil arka plan */
    color: #ffffff; /* Beyaz yazı */
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    font-size: 1.1em;
    font-weight: bold;
    z-index: 1000; /* Diğer elementlerin önünde yer alır */
}


/* Submit Button */
button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 1.1em;
    color: #ffffff;
    background-color: #2ecc71; /* Yeşil düğme */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #27ae60; /* Daha koyu yeşil hover efekti */
}

/* Şartlar ve Koşullar */
.terms-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #3498db; /* Mavi bağlantı rengi */
    text-decoration: none;
    font-weight: bold;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #7f8c8d; /* Gri yazı */
}
/* Genel Ayarlar */
.date-picker, .time-picker {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1em;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    background-color: #ecf0f1;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.3s ease;
}

.date-picker:focus, .time-picker:focus {
    border-color: #3498db;
    background-color: #ffffff;
}

fieldset {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
/* Tarih Butonları */
.date-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.date-buttons button {
    padding: 10px 15px;
    font-size: 1em;
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.date-buttons button:hover {
    background-color: #3498db;
    color: #ffffff;
}

.date-buttons button.selected {
    background-color: #2ecc71;
    color: #ffffff;
    border-color: #27ae60;
}

/* Takvim ve Saat Seçimi */
.date-picker, .time-picker {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1em;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    background-color: #ecf0f1;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.3s ease;
}

.date-picker:focus, .time-picker:focus {
    border-color: #3498db;
    background-color: #ffffff;
}
.date-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.date-button {
    padding: 10px 15px;
    font-size: 14px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.date-button.selected {
    background-color: #2ecc71;
    color: white;
    font-weight: bold;
}

.date-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.date-button:hover:not(:disabled) {
    background-color: #2980b9;
}
