/* ============================================================
   SALONRANDEVU - GLOBAL STYLE.CSS
   Ana sayfa ve genel sayfa stilleri
   ============================================================ */
@import url('gold-theme.css');

/* ---- Root Variables ---- */
:root {
    --primary: #c1a05e;
    --primary-dark: #9e7b3d;
    --secondary: #7a6338;
    --success: #2ec4b6;
    --info: #d4bc82;
    --warning: #9e7b3d;
    --danger: #e63946;
    --dark: #1a1408;
    --light: #faf6f0;
    --gray: #5c4a28;
    --card-shadow: 0 10px 15px -3px rgba(158, 123, 61, 0.12), 0 4px 6px -2px rgba(158, 123, 61, 0.06);
}

/* ---- Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #faf6f0 0%, #ffffff 48%, #f5efe6 100%);
    color: var(--dark);
    margin: 0;
    overflow-x: hidden;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ---- Utilities ---- */
.text-gradient {
    background: linear-gradient(to right, #e8d5a8, #c1a05e, #9e7b3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Buttons ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(193, 160, 94, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 160, 94, 0.5);
    color: white;
}

.btn-outline-light-custom {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--dark);
    border-color: white;
    transform: translateY(-2px);
}

/* ---- Navbar ---- */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Mobil menü (hamburger) — koyu panel, okunaklı linkler */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse,
    .navbar .navbar-collapse.show,
    .navbar .navbar-collapse.collapsing {
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
        padding: 1rem 0.85rem 1.15rem !important;
        margin-top: 0.75rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    }

    .navbar .navbar-collapse .navbar-nav {
        width: 100%;
        margin: 0 0 0.75rem 0 !important;
    }

    .navbar .navbar-collapse .nav-item {
        width: 100%;
    }

    .navbar .navbar-collapse .nav-link {
        color: rgba(255, 255, 255, 0.95) !important;
        display: block;
        width: 100%;
        padding: 0.7rem 0.85rem !important;
        font-size: 1rem;
    }

    .navbar .navbar-collapse .nav-link.dropdown-toggle::after {
        float: right;
        margin-top: 0.45rem;
    }

    .navbar .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.25rem 0 0.5rem !important;
        background: #334155 !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .navbar .navbar-collapse .dropdown-item {
        color: #e2e8f0 !important;
        padding: 0.55rem 0.85rem;
    }

    .navbar .navbar-collapse .dropdown-item:hover,
    .navbar .navbar-collapse .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }

    .navbar .navbar-collapse .navbar-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem !important;
        padding-top: 0.65rem;
        margin-top: 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .navbar .navbar-collapse .navbar-cta .btn {
        width: 100% !important;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 44px;
    }

    .navbar .navbar-collapse .btn-outline-light {
        color: #fff !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        background: rgba(255, 255, 255, 0.06);
    }

    .navbar .navbar-collapse .btn-outline-light:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.15);
        border-color: #fff !important;
    }
}

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 100px 0 140px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero::before {
    display: none;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ---- Filter Section ---- */
.filter-container {
    margin-top: -80px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.filter-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ---- Salon Cards ---- */
.salon-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.salon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.salon-card.card-3d-effect {
    border: 2px solid #e2e8f0;
}

.salon-card.card-3d-effect:hover {
    border-color: #c1a05e;
    box-shadow: 6px 6px 0px #bfdbfe, 12px 12px 20px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.salon-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-body {
    padding: 1.25rem;
}

.salon-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

/* Badges */
.badge-custom {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}

.badge-premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 165, 0, 0.95));
    color: #fff;
}

.badge-type {
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);
}

/* Video Play Button */
.video-trigger-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.video-trigger-btn:hover {
    background: white;
    color: var(--primary);
    transform: translate(-50%, -50%) scale(1.12);
}

/* ---- Footer ---- */
footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 60px 0 30px;
    margin-top: 60px;
}

footer h6 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 100px;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .filter-container {
        margin-top: -40px;
    }

    .filter-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .card-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ---- Alert / Toast ---- */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* ---- Form Styles ---- */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(193, 160, 94, 0.15);
}

/* ---- Misc ---- */
.object-fit-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.cursor-pointer {
    cursor: pointer;
}