:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #F4E4BC;
    --deep-green: #1B4332;
    --forest-green: #2D6A4F;
    --cream: #FDF8F3;
    --dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--cream); color: var(--text-gray); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* TOP BAR */
.top-bar { background: var(--deep-green); color: var(--white); padding: 10px 0; font-size: 0.85rem; border-bottom: 2px solid var(--gold); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-left { display: flex; gap: 25px; flex-wrap: wrap; }
.top-bar-left span { display: flex; align-items: center; gap: 8px; }
.top-bar-left i { color: var(--gold); }
.top-bar-right { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.top-bar-right a { color: var(--white); text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 5px; }
.top-bar-right a:hover { color: var(--gold); }
.top-bar-right .btn-signup { background: var(--gold); color: var(--deep-green); padding: 5px 15px; border-radius: 20px; font-weight: 600; }
.top-bar-right .btn-signup:hover { background: var(--dark-gold); color: var(--white); }
.top-bar-right .btn-firm { background: transparent; border: 1px solid var(--gold); padding: 5px 15px; border-radius: 20px; font-weight: 600; }
.top-bar-right .btn-firm:hover { background: var(--gold); color: var(--deep-green); }
.top-bar-right .user-name { color: var(--gold); font-weight: 600; }

/* HEADER */
.header { background: rgba(27, 67, 50, 0.95); backdrop-filter: blur(10px); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 45px; height: 45px; background: linear-gradient(135deg, var(--gold), var(--dark-gold)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; }
.logo-text { color: var(--white); font-size: 1.8rem; font-weight: 600; letter-spacing: 2px; }
.logo-text span { color: var(--gold); font-weight: 300; }
.nav ul { display: flex; list-style: none; gap: 30px; }
.nav ul a { color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; transition: color 0.3s; position: relative; }
.nav ul a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.3s; }
.nav ul a:hover { color: var(--gold); }
.nav ul a:hover::after { width: 100%; }
.mobile-menu-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--deep-green), var(--forest-green)); padding: 80px 0 60px; text-align: center; color: var(--white); }
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.search-box { max-width: 600px; margin: 0 auto 25px; }
.search-box form { display: flex; border-radius: 50px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.search-box input { flex: 1; padding: 15px 25px; border: none; font-size: 1rem; outline: none; font-family: 'Montserrat', sans-serif; }
.search-box button { padding: 15px 35px; background: var(--gold); border: none; color: var(--deep-green); font-weight: 600; cursor: pointer; transition: background 0.3s; font-family: 'Montserrat', sans-serif; }
.search-box button:hover { background: var(--dark-gold); }
.city-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-tags a { color: var(--white); text-decoration: none; background: rgba(255,255,255,0.1); padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; transition: all 0.3s; }
.city-tags a:hover { background: var(--gold); color: var(--deep-green); }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--deep-green); margin-bottom: 10px; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--gold); margin: 10px auto 0; }
.section-header p { font-size: 1.1rem; color: var(--text-gray); margin-top: 15px; }

/* SALON GRID */
.featured-salons { padding: 80px 0; }
.salon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.salon-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s; }
.salon-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.salon-card a { text-decoration: none; color: inherit; }
.salon-image { position: relative; height: 220px; overflow: hidden; }
.salon-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.salon-card:hover .salon-image img { transform: scale(1.1); }
.salon-image .badge { position: absolute; top: 15px; right: 15px; background: var(--gold); color: var(--deep-green); padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.salon-info { padding: 20px; }
.salon-info h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--deep-green); }
.salon-info .location { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 10px; }
.salon-info .location i { color: var(--gold); }
.rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rating .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.rating .count { font-size: 0.85rem; color: var(--text-gray); }
.salon-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #eee; }
.salon-footer .owner { font-size: 0.85rem; color: var(--text-gray); }
.salon-footer .btn-randevu { background: var(--gold); color: var(--deep-green); padding: 8px 20px; border-radius: 25px; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; }
.salon-footer .btn-randevu:hover { background: var(--dark-gold); color: var(--white); }

/* CATEGORIES */
.categories { padding: 60px 0; background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.category-card { background: var(--cream); padding: 40px 20px; border-radius: 15px; text-align: center; text-decoration: none; color: inherit; transition: all 0.3s; }
.category-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.category-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; }
.category-card h3 { font-size: 1.3rem; color: var(--deep-green); margin-bottom: 8px; }
.category-card p { font-size: 0.9rem; color: var(--text-gray); }

/* BLOG */
.blog-section { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-8px); }
.blog-card a { text-decoration: none; color: inherit; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 20px; }
.blog-content h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--deep-green); }
.blog-content p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 10px; }
.blog-content .read-more { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--deep-green), var(--forest-green)); padding: 80px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.btn-primary { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--dark-gold)); color: var(--deep-green); padding: 14px 40px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4); }

/* FOOTER */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--gold); font-size: 1.2rem; margin-bottom: 20px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col ul i { color: var(--gold); width: 25px; }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: all 0.3s; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--deep-green); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom strong { color: var(--gold); }

/* AUTH PAGES */
.auth-section { padding: 80px 0; min-height: 70vh; display: flex; align-items: center; background: var(--cream); }
.auth-box { max-width: 480px; width: 100%; margin: 0 auto; background: white; padding: 45px 40px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.auth-box h2 { text-align: center; font-size: 2rem; margin-bottom: 30px; color: var(--deep-green); font-family: 'Playfair Display', serif; }
.auth-box h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--gold); margin: 10px auto 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; color: var(--deep-green); }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 10px; font-size: 1rem; font-family: 'Montserrat', sans-serif; transition: border-color 0.3s, box-shadow 0.3s; background: #fafafa; }
.form-control:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); background: white; }
.form-control::placeholder { color: #bbb; font-size: 0.9rem; }
.btn-block { width: 100%; text-align: center; justify-content: center; display: inline-block; padding: 14px 30px; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.auth-links { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--text-gray); }
.auth-links a { color: var(--gold); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--deep-green); padding: 20px; gap: 15px; text-align: center; }
    .nav ul.active { display: flex; }
    .top-bar .container { flex-direction: column; text-align: center; }
    .top-bar-left { justify-content: center; }
    .top-bar-right { justify-content: center; }
    .hero h1 { font-size: 2.2rem; }
    .salon-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .blog-grid { grid-template-columns: 1fr; }
    .auth-box { padding: 30px 20px; margin: 0 15px; }
    .auth-box h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .auth-box { padding: 25px 16px; margin: 0 10px; }
    .auth-box h2 { font-size: 1.4rem; }
    .form-control { padding: 10px 12px; font-size: 0.9rem; }
}

/* ============ TEST BOX - GİRİŞ SAYFASI ============ */
.test-box {
    margin-top: 24px;
    padding: 16px 20px;
    background: #f8f5f0;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.test-box p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-green);
    margin-bottom: 8px;
}

.creds {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.85rem;
    border: 1px solid #e8e0d8;
    font-weight: 500;
    color: var(--deep-green);
}

.creds span {
    font-weight: 400;
    color: var(--text-gray);
}

/* ============ BUTTON DÜZELTMELERİ ============ */
.btn-primary.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--deep-green);
}

.btn-primary.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

/* ============ MOBİL İYİLEŞTİRMELER ============ */
@media (max-width: 480px) {
    .test-box {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .creds {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .auth-box {
        padding: 25px 16px !important;
        margin: 0 10px !important;
    }
    .auth-box h2 {
        font-size: 1.4rem !important;
    }
    .form-control {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }
}