/* 
* Tamamen Optimize Edilmiş CSS
* Bölümler:
* 1. Global Değişkenler
* 2. Temel Stiller
* 3. Layout
* 4. Header
* 5. Butonlar
* 6. Banner
* 7. Arama Formu
* 8. Bölüm Başlıkları
* 9. Salon Kartları
* 10. Derecelendirme
* 11. Footer
* 12. Login/Signup
* 13. Yardımcı Bileşenler
* 14. Responsive
*/

/* ==================== 1. Global Değişkenler ==================== */
:root {
    --primary-color: #ff3366;
    --secondary-color: #7b2cbf;
    --accent-color: #ffd60a;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #adb5bd;
    --border-color: #eeeeee;
    --bg-light: #f8f9fa;
    --bg-lighter: #e9ecef;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-purple: linear-gradient(135deg, #7b2cbf, #9d4edd);
    --gradient-pink: linear-gradient(135deg, #ff3366, #ff6b6b);
    --gradient-login: linear-gradient(to right, #553564, #6c63ff);
    --transition: all 0.3s ease;
}

/* ==================== 2. Temel Stiller ==================== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ==================== 3. Layout ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#ContentPlaceHolder1 {
    flex: 1 0 auto;
}

/* ==================== 4. Header ==================== */
.main-header {
    transition: var(--transition);
}

.main-header.alternate,
.main-header.fixed-header {
    background: linear-gradient(to right, rgba(41, 3, 61, 0.95), rgba(41, 3, 61, 0.85));
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.main-header .main-box {
    background: transparent;
}

.main-menu .navigation > li > a {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    transition: var(--transition);
}

.main-menu .navigation > li > a:hover {
    color: var(--primary-color);
}

.nav-outer {
    padding-right: 0;
}

/* ==================== 5. Butonlar ==================== */
/* Temel Buton */
.btn {
    color: var(--light-color);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Header Add Listing Buton */
.btn-add-listing {
    background: var(--gradient-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-listing:hover {
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* Ana Tema Butonu */
.btn-primary {
    background: var(--gradient-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* Buton Grup Stiller */
.button-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.btn-card {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    padding: 12px 15px;
    font-size: 14px;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-details {
    background: var(--gradient-purple);
}

.btn-details:hover {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.btn-appointment {
    background: var(--gradient-pink);
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff3366);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* Login Butonu */
.btn-login {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    color: #ffffff; /* Metin rengi - istediğiniz renge değiştirebilirsiniz */
    background: linear-gradient(to right, #553564, #6c63ff);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
}

/* Alternatif Tema Butonu */
.theme-btn, .btn-theme {
    background: var(--gradient-secondary);
    color: var(--light-color);
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.theme-btn:hover, .btn-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* Tema Buton Card */
.btn-theme-card {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    padding: 12px 15px;
    font-size: 14px;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.btn-theme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* ==================== 6. Banner ==================== */
.banner-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('images/banner/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-color);
    padding: 200px 0 150px;
    position: relative;
    margin-bottom: 80px;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.content-box {
    position: relative;
    z-index: 1;
    text-align: center;
}

.upper-heading h3 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ==================== 7. Arama Formu ==================== */
.listing-search-form {
    background: rgba(133, 0, 195, 0);
    border-radius: var(--radius-md);
    border: 0px !important;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgb(0, 0, 0);
    transform: translateY(50px);
}

.listing-search-form input,
.listing-search-form select {
    border-radius: var(--radius-lg);
    padding: 15px 25px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.listing-search-form input:focus,
.listing-search-form select:focus {
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0);
}

/* ==================== 8. Bölüm Başlıkları ==================== */
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title .sub-title {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.sec-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 20px auto;
    display: block;
}

/* ==================== 9. Salon Kartları ==================== */
.salon-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--light-color);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.salon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-box {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 en-boy oranı */
    overflow: hidden;
}

.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.salon-card:hover .image-box img {
    transform: scale(1.05);
}

.featured-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 215, 0, 0.95);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.lower-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.salon-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.salon-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.salon-info i {
    width: 16px;
    text-align: center;
    color: var(--text-color);
}

/* ==================== 10. Derecelendirme ==================== */
.rating-box {
    margin-bottom: 15px;
}

.rating {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 5px;
}

.reviews {
    color: var(--text-light);
    font-size: 13px;
    display: block;
}

.name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.name a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-icon {
    color: #4CAF50;
    font-size: 16px;
}

/* ==================== 11. Footer ==================== */
.main-footer {
    flex-shrink: 0;
    width: 100%;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    padding: 30px 0 0;
}

.footer-nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li a {
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
}

.footer-nav li a:hover {
    color: var(--primary-color);
}

.footer-social {
    padding: 20px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icons a {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

.social-link {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: var(--text-color);
}

.social-link:hover {
    color: #007bff;
}

.phone {
    margin-top: 15px;
}

.phone a {
    color: var(--text-color);
    font-size: 18px;
    font-weight: bold;
}

.footer-bottom {
    background: var(--bg-light);
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--text-color);
}

.footer-bottom .copyright {
    margin-bottom: 5px;
}

/* ==================== 12. Login/Signup ==================== */
.ls-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.login-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-login);
}

.login-form h3 {
    font-size: 2rem;
    color: #2d3436;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.login-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.login-form .form-group input {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border: 2px solid var(--bg-lighter);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--bg-light);
}

.login-form .form-group input:focus {
    border-color: #553564;
    background: var(--light-color);
    box-shadow: 0 0 0 4px rgba(85, 53, 100, 0.1);
}

.login-form .form-group input::placeholder {
    color: var(--text-lighter);
    font-size: 0.95rem;
}

.login-form .forgot-pass {
    font-size: 0.95rem;
    color: #553564;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.login-form .forgot-pass:hover {
    color: #6c63ff;
    transform: translateX(3px);
}

.login-form .bottom-text {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-lighter);
}

.login-form .bottom-text .text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.login-form .bottom-text a {
    color: #553564;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.login-form .bottom-text a:hover {
    color: #6c63ff;
}

/* ==================== 13. Yardımcı Bileşenler ==================== */
/* Password toggle */
.password-wrapper {
    position: relative;
}
/* Şu CSS stillerini daha spesifik ve öncelikli hale getirin */
.login-form .password-wrapper {
    position: relative !important;
    width: 100%;
}

.login-form .password-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #6c757d !important;
    padding: 0 !important;
    font-size: 1.1rem !important;
    z-index: 10 !important; /* z-index ekleyin */
}

.login-form .password-wrapper input[type="password"],
.login-form .password-wrapper input[type="text"] {
    width: 100% !important;
    padding-right: 45px !important;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px;
}

/* ==================== 14. Responsive ==================== */
@media only screen and (min-width: 941px) {
    .page-wrapper {
        min-height: 100vh;
    }
}

@media only screen and (max-width: 940px) {
    .main-header .main-box {
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .salon-card {
        margin-bottom: 20px;
    }
    
    .upper-heading h3 {
        font-size: 3rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .button-group {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .login-form {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .login-form h3 {
        font-size: 1.75rem;
    }
}
/* ==================== 15. Randevu İşlemleri ==================== */
/* Modern Variables - Randevu İşlemleri için ek değişkenler */
:root {
    --primary: #ff007a;
    --primary-dark: #d6006a;
    --secondary: #ffa737;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Form Grupları */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group button {
    position: relative;
    display: inline-block;
    min-width: 0px !important; 
}

.control-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.form-control {
    width: 100%;
    padding: 0.625rem;
    margin-top: 2px; 
    height: 51px;
    border: 2px solid #e6e8ec;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.1);
    outline: none;
}

/* Tab Stiller */
.default-tabs .tab-buttons {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.5rem;
    gap: 0.5rem;
}

.default-tabs .tab-buttons .tab-btn {
    flex: 0 1 auto;
}

.default-tabs .tab-buttons .tab-btn.right-aligned {
    margin-left: auto;
}

.default-tabs .tab-buttons .tab-btn {
    background: transparent;
    flex: 0 1 auto;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.default-tabs .tab-buttons .tab-btn.active-btn {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.default-tabs .tab-buttons .tab-btn a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Zaman Dilimleri */
.time-slots-wrapper {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}

.time-slots-header {
    padding: 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 500;
    color: var(--gray-700);
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}

.time-slot-btn {
    padding: 0.625rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.375rem;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.time-slot-btn.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 4px rgba(255, 0, 122, 0.2);
}

.time-slot-btn.disabled {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-300);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Hizmetler Tablosu */
.default-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.default-table thead {
    background: var(--secondary);
}

.default-table th {
    color: white;
    font-weight: 500;
    padding: 1rem;
    text-align: left;
}

.default-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.default-table tr:last-child td {
    border-bottom: none;
}

/* Modal stiller */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.option-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.option-card.disabled {
    pointer-events: none; /* Tıklamayı engeller */
    opacity: 0.6; /* Görsel olarak devre dışı olduğunu belirtir */
    cursor: not-allowed;
}

.icon {
    font-size: 2em;
    margin-bottom: 15px;
}

.option-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.option-description {
    font-size: 0.9em;
    color: #6b7280;
    line-height: 1.5;
}

/* Turuncu Vazgeç Buttonu */
.btn-style-three {
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(255, 167, 55, 0.3);
}

.btn-style-three:hover {
    background: #ff9a20; /* Daha koyu turuncu */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(255, 167, 55, 0.4);
}

.btn-style-three:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 167, 55, 0.3);
}

/* Tam genişlik için */
.btn-style-three.w-100 {
    display: block;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .form-group {
        width: 100%;
    }
    
    .time-slots-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .default-table {
        display: block;
        overflow-x: auto;
    }
}

