@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Header Tasarımı */
header {
    position: absolute;
    top: 45px; /* Yeni top bar yüksekliğine göre güncellendi */
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
    height: 80px;
    border: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-left: 275px;
    height: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 55px;
}

.nav-links{
    padding-left: 75px;
}

.header-contact{
    padding-right: 55px;
}

.logo {
    position: absolute;
    left: 0;
    z-index: 1002;
}

.logo img {
    height: 250px;
    width: auto;
    position: absolute;
    top: -100px;
    left: 0;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

/* --------------------------------------------- */
/* MOBİL MENÜ STILLERİ */
/* --------------------------------------------- */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #b8860b;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #b8860b;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e0e5e8;
}

.header-contact.desktop-only {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact.desktop-only:hover {
    background: rgba(184, 134, 11, 0.05);
    transform: translateX(5px);
}

.header-contact.desktop-only:hover .phone-icon {
    background: #333;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.header-contact.desktop-only:hover .phone-icon i {
    color: #e0e5e8;
}


.header-contact.mobile-only {
    display: none;
}

.phone-icon {
    background: #b0b9c0;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.phone-info span {
    display: block;
    font-size: 12px;
    color: #333;
}

.phone-icon i {
    transform: rotate(-40deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('img/unnamed_Nero_AI_Image_Upscaler_Photo_Face.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 85px;
}

.container {
    display: flex;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.sub-title {
    color: #b8860b;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #222;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b8860b;
    transform: translateY(-3px);
}

.rating-section {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-info {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 20px;
}

.rating-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.user-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #e0e5e8;
    margin-left: -15px;
}

.user-avatars img:first-child { margin-left: 0; }

.stars i { color: #f1c40f; }
.stars span { font-weight: bold; margin-left: 5px; }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* --- GELİŞMİŞ SLIDER EFEKTLERİ --- */

.rotating-info {
    position: relative;
    min-height: 180px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.info-item {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: 
        opacity 0.8s ease, 
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), 
        visibility 0.8s;
    pointer-events: none;
}

.info-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.info-item h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #222;
}

.hero-image {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cleaner-img {
    max-width: 100%;
    height: auto;
    position: absolute;
    opacity: 0;
    scale: 0.9;
    filter: blur(10px) drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    transition: 
        opacity 1s ease, 
        scale 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
        filter 1s ease;
    z-index: 1;
}

.cleaner-img.active {
    opacity: 1;
    scale: 1;
    filter: blur(0) drop-shadow(0 20px 30px rgba(0,0,0,0.2));
    z-index: 2;
    position: relative;
}

/* --------------------------------------------- */
/* RESPONSIVE TASARIM (Mobil ve Tablet) - TEK BİR MEDIA SORGUSU */
/* --------------------------------------------- */
@media (max-width: 992px) {
    /* Header düzenlemeleri */
    .nav-content {
        margin-left: 0px;
        justify-content: flex-end;
        margin-top: 0px;
    }

    .nav-links{
        padding-left: 0px;
    }

    .header-contact{
        padding-right: 0px;
    }

    header.scrolled .logo img {
        height: 70px;
        top: -30px;
    }

    header.scrolled .menu-toggle .bar{
        width: 20px;
        height: 2px;
    }

    .logo img {
        height: 100px;
        top: -50px;
    }

    /* Hamburger menü */
    .menu-toggle {
        display: flex;
    }

    .header-contact.desktop-only {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 30px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-contact.mobile-only {
        display: flex;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        width: 100%;
    }

    /* Hero section düzenlemeleri */
    .hero {
        padding-top: 125px;
        overflow-x: hidden;
    }

    .container {
        flex-direction: column;
        width: 90%;
    }

    /* ANA DÜZELTME: Hero içeriğini flex column yap ve sıralamayı değiştir */
    .hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        
        /* Flex düzeni */
        display: flex;
        flex-direction: column;
    }

    /* Dönen bilgi her zaman en üstte */
    .rotating-info {
        order: 1;
        min-height: 150px;
        text-align: center;
        justify-content: center;
        margin-bottom: 20px;
        width: 100%;
    }

    /* Buton ikinci sırada */
    .btn-primary {
        order: 2;
        margin: 0 auto 25px auto;
        display: inline-block;
        width: auto;
        align-self: center;
    }

    /* Rating bölümü üçüncü sırada (görselden sonra) */
    .rating-section {
        order: 4;
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Görseli 3. sıraya al (buton ile rating arasına) */
    .hero-image {
        order: 3;
        min-height: 300px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }

    .cleaner-img.active {
        position: relative;
        max-width: 80%;
    }

    .info-item h2 {
        font-size: 2rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .rating-info {
        padding-left: 0;
        padding-top: 0;
    }

    .rating-info::before {
        display: none;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-icon{
        margin-right: 11px;
    }
}

/* Daha küçük telefonlar için (480px) */
@media (max-width: 480px) {
    .info-item h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .nav-menu {
        width: 60%;
        padding: 80px 20px 20px 20px;
    }

    .rating-section {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 1450px) and (min-width: 1151px) {
    header {
        padding: 20px 3%;
    }

    .nav-content {
        margin-left: 240px;
    }

    .nav-links {
        padding-left: 40px;
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .header-contact {
        padding-right: 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .info-item h2 {
        font-size: 2.5rem;
    }
}

/* 1150px ile 900px arası - Tablet ve küçük masaüstü */
@media (max-width: 1150px) and (min-width: 901px) {
    header {
        padding: 20px 2%;
    }

    .logo img {
        height: 200px;
        top: -60px;
    }

    .nav-content {
        margin-left: 180px;
        margin-top: 40px;
    }

    .nav-links {
        padding-left: 20px;
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .header-contact {
        padding-right: 15px;
    }

    .phone-info span {
        font-size: 10px;
    }

    .phone-info strong {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .info-item h2 {
        font-size: 2.2rem;
    }

    .rotating-info {
        min-height: 160px;
    }
}



/* Hakkımızda Bölümü Stilleri */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
}

.about-container {
    flex-direction: column;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 60px;
}

.about-header-left { flex: 0 0 70%; }

.about-header-left h2 {
    font-size: 2.8rem;
    color: #222;
    line-height: 1.2;
}

.btn-secondary {
    display: inline-block;
    background: #b8860b;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #9e7409;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* İstatistikler */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    display: block;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.stat-item p {
    color: #666;
    line-height: 1.6;
}

/* Kartlar */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.about-card {
    height: 400px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.about-card:hover { transform: translateY(-10px); }

.card-icon {
    background: white;
    color: #222;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card h4 { font-size: 1.4rem; font-weight: 600; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .about-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .stats-grid, .about-cards { grid-template-columns: 1fr; gap: 30px; }
    .about-header-left h2 { font-size: 2rem; }
    .about-card { height: 300px; }
}




.services-section {
    padding: 100px 0;
    background-color: #fdfaf2;
}

.services-container {
    flex-direction: column;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.8rem;
    color: #222;
    margin-top: 10px;
}

.services-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-item {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    gap: 30px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.service-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    transform: translateY(-2px);
}

.service-left h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Buton Tasarımı - Ekran görüntüsündeki gibi */
.btn-service {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #b8860b;
    color: #b8860b;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Hover ve Aktif durumu (Resimdeki mor buton efekti altın rengi ile) */
.btn-service:hover, .btn-service.active {
    background: #b8860b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.service-middle p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Etiketler (Tags) */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    padding: 5px 12px;
    border: 1px solid #e0e5e8;
    color: #555;
    border-radius: 6px;
    font-size: 0.8rem;
    background-color: #faf9f5;
    transition: all 0.3s ease;
}

.service-item:hover .service-tags span {
    border-color: #b8860b;
    color: #b8860b;
}

.service-right {
    display: flex;
    justify-content: flex-end;
}

.service-right img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.service-item:hover .service-right img {
    transform: scale(1.05);
}

/* Hizmetler Mobil Uyumluluk */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }
    
    .service-left h3 {
        font-size: 1.6rem;
    }
    
    .service-right {
        justify-content: flex-start;
    }
    
    .service-right img {
        max-width: 100%;
        height: auto;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
}



/* =========================================
   SERTİFİKALAR BÖLÜMÜ
   ========================================= */
.certificates-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
    position: relative;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.certificates-header {
    text-align: center;
    margin-bottom: 60px;
}

.certificates-header .sub-title {
    color: #b8860b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.certificates-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
}

.certificates-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Yapısı */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Sertifika Kartı */
.cert-card {
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.15);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.12);
    border-color: #b8860b;
}

/* Resim Konteynırı */
.cert-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
}

.cert-card:hover .cert-image-container {
    border-color: #b8860b;
}

.cert-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

/* Hover Overlay (PDF İkonu) */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 134, 11, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: 0.4s;
    text-decoration: none;
}

.cert-image-container:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cert-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* İçerik */
.cert-content h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Buton */
.btn-cert-download {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #b8860b;
    color: #b8860b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-cert-download:hover {
    background: #b8860b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-header h2 {
        font-size: 2rem;
    }

    .cert-card {
        max-width: 400px;
        margin: 0 auto;
    }
}



/* =========================================
   İLETİŞİM BÖLÜMÜ (CONTACT SECTION)
   ========================================= */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.contact-container {
    flex-direction: column;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin: 10px 0;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    align-items: center;
}

/* Sol Taraf - Bilgiler ve Harita */
.contact-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.c-item:hover {
    transform: translateX(10px);
}

.c-item .icon-box {
    width: 50px;
    height: 50px;
    background: #b8860b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #222;
}

.c-text p, .c-text a {
    color: #666;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.c-text a:hover {
    color: #b8860b;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 250px;
}

/* Sağ Taraf - Form */
.contact-form-box {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #b8860b;
    margin-top: 20px;
}

.contact-form-box h3 {
    margin-bottom: 30px;
    color: #222;
    font-size: 1.8rem;
}

/* Input Animasyonlu Stil */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group select {
    color: #555;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23b8860b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.7-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.input-group textarea + label {
    top: 20px;
    transform: translateY(0);
}

/* Input Focus Efektleri */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.8rem;
    color: #b8860b;
    background: white;
    transform: translateY(-50%);
    z-index: 2;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {

    .contact-section{
        overflow-x: hidden;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-form-box {
        order: 1;
    }
    
    .contact-info-box {
        order: 2;
    }
}


.social-media-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(184, 134, 11, 0.15);
    transition: all 0.3s ease;
}

.social-media-box:hover {
    border-color: #b8860b;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.15);
}

.social-media-box h5 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Platform Bazlı Renkler */
.social-link.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #000; }
.social-link.linkedin { background: #0077b5; }

/* Hover Efekti */
.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobil uyumluluk */
@media (max-width: 480px) {
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .social-media-box h5 {
        font-size: 1rem;
    }
}



/* =========================================
   FOOTER BÖLÜMÜ (Animasyonlu)
   ========================================= */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    color: #f0f0f0;
    padding: 60px 0 20px;
    position: relative;
    border-top: 3px solid #b8860b;
}

.footer-container {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
}

/* Footer Sütunları */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #b8860b;
}

/* Sütun 1: Logo ve Açıklama */
.footer-about .footer-logo {
    margin-bottom: 15px;
}

.footer-about .footer-logo img {
    height: 150px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-about .footer-logo img:hover {
    opacity: 1;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #aaa;
    margin: 0;
}

/* Sütun 2 & 3: Linkler ve İletişim Listesi */
.footer-links ul,
.footer-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-links li,
.footer-contact-info li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #b8860b;
    transform: translateX(5px);
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-contact-info li i {
    color: #b8860b;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-contact-info li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info li a:hover {
    color: #b8860b;
}

/* Sütun 4: Sosyal Medya */
.footer-social {
    align-items: flex-start;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.footer-social-link:hover {
    background: #b8860b;
    transform: translateY(-5px);
    border-color: #b8860b;
}

.footer-contact-btn {
    display: inline-block;
    background: transparent;
    color: #b8860b;
    border: 2px solid #b8860b;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    background: #b8860b;
    color: #1a1a1a;
}

/* Alt Kısım */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-bottom p {
    color: #777;
    font-size: 0.85rem;
    margin: 0;
}

/* Geliştirici Bilgisi Stili */
.developer-credit {
    font-size: 0.8rem !important;
    color: #888 !important;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

/* İsteğe bağlı: Geliştirici bilgisinin üzerine gelince renk değişimi */
.developer-credit:hover {
    color: #b8860b !important;
    transition: color 0.3s ease;
}

/* ========================================= */
/* FOOTER MOBİL UYUM (Tek bir media sorgusu) */
/* ========================================= */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        align-items: center;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }

    .footer-about .footer-logo img {
        height: 80px;
        margin: 0 auto;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info li {
        justify-content: center;
    }

    .footer-social {
        align-items: center;
    }
    .footer-social-links {
        justify-content: center;
    }

    .footer-contact-btn.mobile-only {
        display: inline-block;
        margin-top: 10px;
    }
}

/* Çok küçük telefonlar için ek düzenleme */
@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 15px;
    }
    .footer-contact-info li {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    .footer-contact-info li i {
        width: auto;
    }
        .developer-credit {
        margin-top: 5px;
    }
}



/* =========================================
   WHATSAPP FLOAT BUTONU
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Butonun üzerine gelindiğindeki efekt */
.whatsapp-float:hover {
    background-color: #20b859;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Butonun içindeki ikonun boyutunu ayarlar */
.whatsapp-float i {
    line-height: 1;
}

/* Araç İpucu (Tooltip) - İsteğe Bağlı */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    bottom: 50%;
    transform: translateY(50%);
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 101;
}

/* Tooltip için küçük ok (konum butonun solunda olduğu için sağa bakan ok) */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

/* Butona hover olunca tooltip'i göster */
.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

/* =========================================
   MOBİL UYUMLULUK (Tooltip ve Buton Boyutu)
   ========================================= */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 32px;
        bottom: 15px;
        left: 15px;
    }

    /* Mobilde tooltip'i tamamen kaldırabilir veya gizleyebilirsiniz */
    .whatsapp-tooltip {
        display: none;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 10px;
        left: 10px;
    }
}



/* =========================================
   REFERANSLAR (SLIDER) BÖLÜMÜ
   ========================================= */
.references-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.references-container {
    flex-direction: column;
}

.references-header {
    text-align: center;
    margin-bottom: 50px;
}

.references-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin: 10px 0;
}

.references-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slider Wrapper - Okların pozisyonu için */
.references-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Referans Grid - Normalde grid, mobilde slider */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.5s ease;
}

/* Referans Kartı Tasarımı */
.reference-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(184, 134, 11, 0.15);
    border-color: #b8860b;
}

/* Kartın Medya (Görsel/Video) Kısmı */
.card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reference-card:hover .card-media img {
    transform: scale(1.05);
}

/* Medya Linki (Video/Fotoğraf simgesi) */
.media-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #b8860b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
}

.reference-card:hover .media-link {
    opacity: 1;
    transform: translateY(0);
}

.media-link:hover {
    background: #b8860b;
    color: white;
    transform: scale(1.1);
}

/* Kart İçeriği */
.card-content {
    padding: 20px;
    flex: 1;
}

.card-category {
    display: inline-block;
    background: rgba(184, 134, 11, 0.08);
    color: #b8860b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Slider Okları (Masaüstünde gizli, mobilde görünür) */
.slider-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #b8860b;
    border-radius: 50%;
    color: #b8860b;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-arrow:hover {
    background: #b8860b;
    color: white;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

/* Slider Noktaları (Mobilde görünür) */
.slider-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #b8860b;
    width: 25px;
    border-radius: 10px;
}

/* =========================================
   REFERANSLAR - MOBİL SLIDER VERSİYONU
   ========================================= */
@media (max-width: 992px) {
    .references-grid {
        display: flex;
        gap: 0;
        width: 100%;
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
    }

    .references-grid::-webkit-scrollbar {
        display: none;
    }
    .references-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .reference-card {
        flex: 0 0 calc(100% - 30px);
        max-width: 350px;
        margin: 0 10px;
        scroll-snap-align: center;
    }

    .reference-card .media-link {
        opacity: 1;
        transform: translateY(0);
    }

    .reference-card .media-link {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .slider-arrow {
        display: flex;
    }

    .prev-arrow {
        left: 5px;
    }
    .next-arrow {
        right: 5px;
    }

    .slider-dots {
        display: flex;
    }
}

/* Çok küçük telefonlar (480px altı) */
@media (max-width: 480px) {
    .reference-card {
        flex: 0 0 calc(100% - 20px);
        margin: 0 5px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}



/* =========================================
   ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) TASARIMI
   ========================================= */

/* Tüm sayfa için scrollbar stilleri */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Scrollbar arka planı (track) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Scrollbar'ın hareketli parçası (thumb) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #b8860b, #d4a017);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    transition: all 0.3s ease;
}

/* Scrollbar thumb hover efekti */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d4a017, #f0b823);
    border: 2px solid #e0e0e0;
}

/* Scrollbar köşesi (hem yatay hem dikey scrollbar varsa) */
::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* =========================================
   FIREFOX İÇİN SCROLLBAR STİLLERİ
   ========================================= */
* {
    scrollbar-width: thin;
    scrollbar-color: #b8860b #f1f1f1;
}

/* =========================================
   KARANLIK MOD SCROLLBAR (İsteğe bağlı)
   ========================================= */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #2d2d2d;
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #b8860b, #8b6508);
        border: 2px solid #2d2d2d;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #d4a017, #b8860b);
    }
    
    * {
        scrollbar-color: #b8860b #2d2d2d;
    }
}


/* =========================================
   İLETİŞİM BÖLÜMÜ MOBİL DÜZELTMELERİ
   ========================================= */

@media (max-width: 768px) {
    
    .contact-info-box {
        width: 100%;
        overflow: hidden;
    }

    .map-container {
        width: 100%;
        min-height: 250px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border-radius: 12px;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 250px;
        border: 0;
        display: block;
    }

    .info-items {
        width: 100%;
        gap: 15px;
    }

    .c-item {
        width: 100%;
        padding: 15px;
        gap: 12px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .c-item .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .c-text {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .c-text h5 {
        font-size: 1rem;
        margin-bottom: 4px;
        white-space: nowrap;
    }

    .c-text p, 
    .c-text a {
        font-size: 0.9rem;
        word-break: break-word;
        display: inline-block;
        max-width: 100%;
    }

    .c-text a {
        white-space: normal;
        word-break: break-all;
    }

    .social-media-box {
        width: 100%;
        margin-top: 20px;
        padding: 15px;
    }

    .social-media-box h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* =========================================
   ÇOK KÜÇÜK EKRANLAR (480px ve altı)
   ========================================= */
@media (max-width: 480px) {
    
    .contact-wrapper {
        gap: 20px;
    }

    .contact-form-box {
        padding: 25px 20px;
    }

    .contact-form-box h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .input-group input,
    .input-group textarea,
    .input-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .c-item {
        padding: 12px;
    }

    .c-item .icon-box {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .c-text h5 {
        font-size: 0.95rem;
    }

    .c-text p, 
    .c-text a {
        font-size: 0.85rem;
    }

    .map-container {
        min-height: 200px;
    }
    
    .map-container iframe {
        min-height: 200px;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}



/* =========================================
   ONLINE ÖDEME CTA BÖLÜMÜ (SIFIR TAŞMA GARANTİLİ)
   ========================================= */
.payment-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-top: 3px solid #b8860b;
    border-bottom: 3px solid #b8860b;
    color: #fff;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.payment-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    box-sizing: border-box;
}

.cta-text {
    flex: 1;
    min-width: 0;
}

.cta-text h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    word-wrap: break-word;
}

.cta-text p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.cta-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #b8860b;
    font-weight: 500;
    background: rgba(184, 134, 11, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(184, 134, 11, 0.3);
    white-space: nowrap;
}

.cta-cards {
    display: flex;
    gap: 10px;
    font-size: 2rem;
    color: #e0e5e8;
}

.cta-action {
    flex-shrink: 0;
}

.cta-btn {
    background: #b8860b;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid #b8860b;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
}

.cta-btn:hover {
    background: transparent;
    color: #b8860b;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* =========================================
   MOBİL UYUMLULUK (TAŞMA KORUMALI)
   ========================================= */
@media (max-width: 992px) {
    .payment-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .cta-badges {
        justify-content: center;
    }
    
    .cta-text h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .payment-cta-section {
        padding: 40px 0;
    }

    .cta-badges {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .cta-badges span {
        width: 100%;
        justify-content: center;
    }

    .cta-cards {
        margin-top: 5px;
        justify-content: center;
    }

    .cta-text h2 {
        font-size: 1.3rem;
    }

    .cta-text p {
        font-size: 0.9rem;
    }
    
    .cta-action {
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px 20px;
    }
}



/* =========================================
   DÖVİZ KURU TOP BAR (PREMIUM CAM EFEKTİ)
   ========================================= */
.top-currency-bar {
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.4) 0%, rgba(25, 25, 25, 0.5) 50%, rgba(15, 15, 15, 0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #e0e5e8;
    font-size: 0.85rem;
    padding: 10px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1005;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Sol Taraf - Kurlar */
.top-bar-left {
    display: flex;
    gap: 20px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.currency-item:hover {
    background: rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.4);
    transform: translateY(-2px);
}

.currency-item i {
    color: #b8860b;
}

.currency-item strong {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Sağ Taraf - Linkler ve Sepet */
.top-bar-right {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-right:25px;
}

.top-bar-link {
    color: #e0e5e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.top-bar-link i {
    color: #b8860b;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-bar-link:hover {
    color: #fff;
}

.top-bar-link:hover i {
    transform: scale(1.2);
}

/* Linkler için Altı Çizili Hover Efekti */
.top-bar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #b8860b;
    transition: width 0.3s ease;
}

.top-bar-link:hover::after {
    width: 100%;
}

/* Kullanıcı Karşılama Alanı (Özel Hap Tasarım) */
.user-greeting {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 134, 11, 0.15);
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.user-greeting i {
    color: #b8860b;
    font-size: 1.1rem;
}

/* Premium Sepet Butonu */
.premium-header-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    background: transparent;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid #b8860b;
    transition: all 0.3s ease;
    position: relative;
}

.premium-header-cart:hover {
    background: #b8860b;
    color: #111;
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.4);
}

.premium-header-cart:hover i {
    color: #111;
}

.cart-badge {
    background: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid #1a1a1a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.mobile-currency {
    display: none;
}

/* Mobilde top bar gizli */
@media (max-width: 992px) {
    .top-currency-bar {
        display: none !important;
    }
    header {
        top: 0 !important;
    }
    .nav-menu {
        padding-top: 80px;
        overflow-y: auto;
        padding-bottom: 40px;
    }
    .mobile-currency {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 20px 0;
        margin-top: 10px;
        border-top: 1px solid #f0f0f0;
        font-size: 1rem;
        color: #333;
    }
    .mobile-currency span {
        display: flex;
        align-items: center;
        font-weight: 500;
    }
    .mobile-currency strong {
        color: #b8860b;
        font-weight: 700;
        margin-left: 5px;
    }
    .mobile-currency i {
        color: #b8860b;
        width: 25px;
    }
}

/* =========================================
   FOOTER GÜVENLİK VE ÖDEME LOGOLARI
   ========================================= */
.footer-payment-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}
.security-badges {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.9rem;
}
.security-badges span i { color: #b8860b; margin-right: 5px; }
.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2.5rem;
    color: #fff;
}
.payment-icons i:hover { color: #b8860b; transition: 0.3s; }
@media (max-width: 768px) {
    .footer-payment-badges { flex-direction: column; text-align: center; }
    .security-badges { flex-direction: column; gap: 10px; }
}

/* =========================================
   MODAL (POP-UP) TASARIMLARI
   ========================================= */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 5px solid #b8860b;
    animation: modalFadeIn 0.4s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover { color: #222; }
.modal-content h2 { margin-bottom: 15px; font-size: 1.5rem; color: #222; }
.modal-content p { color: #555; line-height: 1.6; font-size: 0.95rem; }
.payment-form .input-group { margin-bottom: 15px; }
.payment-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}
.payment-form input:focus { border-color: #b8860b; outline: none; }




/* =========================================
   ONLINE ÖDEME SAYFALARI (odemeislem.php & odemesonuc.php)
   ========================================= */
.payment-page-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card-custom {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
    border-top: 5px solid #b8860b;
    margin: 20px auto;
}

.payment-card-custom h2 {
    color: #222;
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-align: center;
}

.payment-card-custom p.desc {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.payment-card-custom .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.payment-card-custom label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.payment-card-custom input,
.payment-card-custom select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.payment-card-custom input:focus,
.payment-card-custom select:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.payment-card-custom .btn-submit {
    background: #b8860b;
    color: white;
    border: 2px solid #b8860b;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-card-custom .btn-submit:hover {
    background: transparent;
    color: #b8860b;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.secure-badge-custom {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.secure-badge-custom img {
    height: 25px;
}

/* --- Sonuç Ekranı Stilleri --- */
.result-icon {
    font-size: 60px;
    margin-bottom: 20px;
    text-align: center;
}
.result-icon.success { color: #28a745; }
.result-icon.error { color: #dc3545; }

.payment-detail-table {
    width: 100%;
    margin-top: 20px;
    text-align: left;
    border-collapse: collapse;
}
.payment-detail-table th, .payment-detail-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.payment-detail-table th { color: #666; font-weight: 500; }
.payment-detail-table td { color: #222; font-weight: 600; text-align: right; }

.user-message-custom {
    background: #fdfaf2;
    color: #b8860b;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(184, 134, 11, 0.2);
    text-align: center;
}
.user-message-custom.error {
    background: #fdf5f5;
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.2);
}

@media (max-width: 480px) {
    .payment-page-section { padding: 120px 20px 60px; }
    .payment-card-custom { padding: 30px 20px; }
    .payment-card-custom h2 { font-size: 1.5rem; }
    .secure-badge-custom { flex-wrap: wrap; }
}


/* ==========================================================================
   PREMIUM LOGIN MODAL & RESPONSIVE DESIGN
   ========================================================================== */

.login-modal-content {
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.3);
    position: relative;
    overflow: hidden;
}

/* Modalı canlandıran şık üst altın çizgi */
.login-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #b8860b, #e0a924, #b8860b);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-img {
    height: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.login-header h2 {
    font-size: 1.5rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
}

/* Form input tasarımları */
.login-modal-content .input-group {
    position: relative;
    margin-bottom: 22px;
}

.login-modal-content .input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.login-modal-content .input-group input:focus {
    border-color: #b8860b;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.15);
}

.login-modal-content .input-group label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.login-modal-content .input-group input:focus ~ label,
.login-modal-content .input-group input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: #b8860b;
    background: #ffffff;
    padding: 0 5px;
    font-weight: 600;
}

/* Şifre Gözü Butonu */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
    z-index: 5;
}

.toggle-password:hover {
    color: #b8860b;
}

.login-btn {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #b8860b;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* Mobil görünürlük optimizasyonları */
.mobile-only-user {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only-user {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .login-modal-content {
        padding: 30px 20px;
        margin: 15px;
    }
    .login-header h2 {
        font-size: 1.3rem;
    }
}


/* =========================================
   MODAL MOBİL UYUMLULUK (768px, 480px, 360px)
   ========================================= */

/* 768px ve altı */
@media (max-width: 768px) {
    .custom-modal {
        align-items: flex-start;
        padding: 15px 10px;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 25px 18px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .login-modal-content {
        padding: 25px 18px;
        max-width: 100%;
    }

    .login-logo-img {
        height: 65px;
    }

    .login-header h2 {
        font-size: 1.4rem;
    }

    .login-header p {
        font-size: 0.85rem;
    }

    .login-modal-content .input-group input {
        padding: 14px 14px 14px 42px;
        font-size: 1rem;
    }

    .login-modal-content .input-group label {
        font-size: 0.9rem;
        left: 42px;
    }

    .login-btn {
        padding: 16px;
        font-size: 1rem;
    }

    .toggle-password {
        right: 14px;
        font-size: 1.1rem;
    }

    .close-modal {
        font-size: 32px;
        right: 18px;
        top: 12px;
    }

    #guvenlikModal .modal-content {
        max-height: 85vh;
        padding: 25px 18px;
    }
}

/* 480px ve altı */
@media (max-width: 480px) {
    .modal-content {
        padding: 20px 14px;
        max-height: 85vh;
        border-radius: 12px;
    }

    .login-modal-content {
        padding: 20px 14px;
    }

    .login-logo-img {
        height: 55px;
    }

    .login-header h2 {
        font-size: 1.2rem;
    }

    .login-header p {
        font-size: 0.8rem;
    }

    .login-modal-content .input-group input {
        padding: 13px 12px 13px 36px;
        font-size: 0.95rem;
    }

    .login-modal-content .input-group label {
        font-size: 0.8rem;
        left: 36px;
    }

    .login-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    .toggle-password {
        right: 12px;
        font-size: 1rem;
    }

    .close-modal {
        font-size: 28px;
        right: 14px;
        top: 10px;
    }
}

/* 360px ve altı (çok küçük telefonlar) */
@media (max-width: 360px) {
    .custom-modal {
        padding: 10px 5px;
    }

    .modal-content {
        padding: 16px 10px;
        max-height: 82vh;
        border-radius: 10px;
    }

    .login-modal-content {
        padding: 16px 10px;
    }

    .login-logo-img {
        height: 45px;
        margin-bottom: 10px;
    }

    .login-header h2 {
        font-size: 1rem;
    }

    .login-header p {
        font-size: 0.7rem;
    }

    .login-modal-content .input-group {
        margin-bottom: 16px;
    }

    .login-modal-content .input-group input {
        padding: 11px 10px 11px 30px;
        font-size: 0.9rem;
    }

    .login-modal-content .input-group label {
        font-size: 0.75rem;
        left: 30px;
    }

    .login-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    .toggle-password {
        right: 10px;
        font-size: 0.9rem;
    }

    .close-modal {
        font-size: 24px;
        right: 10px;
        top: 8px;
    }

    .login-modal-content a {
        font-size: 0.85rem;
    }
}


/* Ürünler Bölümü */
.products-section {
    padding: 80px 0;
    background: #ffffff;
}
.products-container {
    flex-direction: column;
}
.products-header {
    text-align: center;
    margin-bottom: 50px;
}
.products-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-top: 10px;
}
.products-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    width: 100%;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    display: block;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.15);
    border-color: #b8860b;
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #ffffff; 
    border-radius: 8px;
    background: #ffffff;
}
.product-card-body {
    padding: 18px 20px 20px;
}
.product-card-body h4 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 6px;
}
.product-card-body .category {
    font-size: 0.8rem;
    color: #b8860b;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
.product-card-body .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
}
.product-card-body .stock {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}


/* =========================================
   USER SAYFALARI (SEPET, ÜRÜNLER VS.)
   ========================================= */
.user-page {
    padding-top: 180px;
    padding-bottom: 60px;
    background: #f8fafc;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.user-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* User Sayfası Başlıkları */
.user-page h1 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 30px;
    position: relative;
}
.user-page h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #b8860b;
    margin-top: 8px;
    border-radius: 4px;
}

/* =========================================
   BOŞ SEPET (PREMIUM EMPTY STATE)
   ========================================= */
.empty-state-container {
    background: #fff;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #f0f0f0;
    width: 100%;
}

.empty-state-container i {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.empty-state-container h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.empty-state-container p {
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Mobil için User Page Düzeltmesi */
@media (max-width: 992px) {
    .user-page {
        padding-top: 120px;
    }
}


/* --- CANLI ALTIN/BRONZ PREMİUM SEPET BUTONU --- */
.premium-header-cart {
    position: relative;
    background: #b8860b !important;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.premium-header-cart i {
    color: #ffffff !important;
    font-size: 1rem;
}

.premium-header-cart:hover {
    background: #ffffff !important;
    color: #b8860b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.premium-header-cart:hover i {
    color: #b8860b !important;
}

/* Dikkat Çekici Kırmızı Rozet */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -5px;
    background: #ff3838 !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* --- ETKİLEŞİM ANİMASYONLARI --- */
.cart-badge.pop-active {
    animation: badgePop 0.4s ease-out;
}

.premium-header-cart.shake-active {
    animation: buttonShake 0.5s ease-in-out;
}

@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.6); }
    100% { transform: scale(1); }
}

@keyframes buttonShake {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.04) rotate(-3deg); }
    50% { transform: scale(1.04) rotate(3deg); }
    75% { transform: scale(1.04) rotate(-3deg); }
}

/* --- MODERN EKLEME BİLDİRİM KARTI (TOAST) --- */
.premium-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    color: #222222;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid #b8860b;
    font-weight: 500;
}
.premium-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.premium-toast.success {
    border-left-color: #2ed573;
}
.premium-toast.success i {
    color: #2ed573;
    font-size: 1.2rem;
}
.premium-toast.error {
    border-left-color: #ff4757;
}
.premium-toast.error i {
    color: #ff4757;
    font-size: 1.2rem;
}

/* --- DİNAMİK SEPET ROZETİ (BADGE) --- */
.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ürün eklendiğindeki Zıplama Animasyonu */
.cart-badge.pop {
    transform: scale(1.5) rotate(10deg);
}
.top-bar-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 12px;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 0.9rem;
}
.top-bar-link:hover {
    border-color: #b8860b;
    color: #b8860b;
}
.logout-link {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}
.logout-link:hover {
    background: #dc3545;
    color: white;
}

/* --- PREMIUM ÜRÜN KARTLARI --- */
.products-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    padding: 20px 0;
}
.products-slider::-webkit-scrollbar {
    display: none;
}
.product-slide {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
}

.premium-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.premium-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.15);
    border-color: rgba(184, 134, 11, 0.3);
}

.product-img-wrapper {
    width: 100%;
    height: 250px; /* Tasarımına göre bu yüksekliği artırıp azaltabilirsin */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff; /* Fotoğraf tam kare değilse altta/üstte kalan boşlukların şık durması için */
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görselin en-boy oranını bozmadan ve kırpmadan tam sığmasını sağlayan sihirli kod */
    padding: 15px; /* Görselin kenarlara sıfıra sıfır yapışmasını engeller */
    transition: transform 0.3s ease; 
}

/* Ekstra: Ürünün üzerine gelince hafif büyüme efekti istersen */
.premium-product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.premium-product-card:hover .product-overlay {
    opacity: 1;
}
.btn-view {
    background: #fff;
    color: #222;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.premium-product-card:hover .btn-view {
    transform: translateY(0);
}
.btn-view:hover {
    background: #b8860b;
    color: #fff;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.product-title a {
    text-decoration: none;
    color: #222;
    transition: color 0.3s;
}
.product-title a:hover {
    color: #b8860b;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
}
.btn-add-cart {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.btn-add-cart:hover {
    background: #b8860b;
    color: #fff;
    border-color: #b8860b;
    transform: rotate(-10deg) scale(1.1);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .product-slide {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 768px) {
    .product-slide {
        flex: 0 0 calc(100% - 20px);
    }
    .product-img-wrapper {
        height: 250px;
    }
}


/* =========================================
   ÜRÜNLER SLIDER (PREMIUM)
   ========================================= */
.products-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.products-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.products-slider::-webkit-scrollbar {
    display: none;
}

.product-slide {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 0;
}

/* Slider okları (products özel) */
.products-slider-wrapper .slider-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #b8860b;
    border-radius: 50%;
    color: #b8860b;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.products-slider-wrapper .slider-arrow:hover {
    background: #b8860b;
    color: white;
}
.products-slider-wrapper .products-prev {
    left: -10px;
}
.products-slider-wrapper .products-next {
    right: -10px;
}

/* Slider noktaları (productSliderDots) - her zaman görünür */
#productSliderDots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
#productSliderDots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}
#productSliderDots .dot.active {
    background: #b8860b;
    width: 25px;
    border-radius: 10px;
}

/* Mobil duyarlılık */
@media (max-width: 992px) {
    .product-slide {
        flex: 0 0 calc(50% - 10px);
    }
    .products-slider-wrapper {
        padding: 0 30px;
    }
}
@media (max-width: 768px) {
    .product-slide {
        flex: 0 0 calc(100% - 20px);
    }
    .products-slider-wrapper {
        padding: 0 20px;
    }
    .products-slider-wrapper .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .products-slider-wrapper .products-prev {
        left: 0;
    }
    .products-slider-wrapper .products-next {
        right: 0;
    }
}



/* User Dropdown Ana Kapsayıcı */
.user-dropdown {
    position: relative;
    display: inline-block;
}

/* Tıklanabilir/Hover Yapılabilir İsim Alanı */
.dropdown-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(184, 134, 11, 0.25);
    border-color: #b8860b;
}

/* Açılır Menü Tasarımı */
.dropdown-menu {
    position: absolute;
    top: 130%; /* Hover hassasiyeti için biraz boşluk bırakır */
    right: 0;
    background: #1a1a1a; /* Koyu premium arkaplan */
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(184, 134, 11, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1006;
}

/* Hover durumunda menüyü göster */
.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Görünmez köprü (menüye geçerken farenin menüyü kaybetmemesi için) */
.user-dropdown::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: -20px;
    left: 0;
}

/* Menü İçi Linkler */
.dropdown-item {
    color: #e0e5e8;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.dropdown-item i {
    color: #b8860b;
    width: 16px;
    text-align: center;
}

.dropdown-item:hover {
    background: rgba(184, 134, 11, 0.1);
    color: #fff;
    border-left-color: #b8860b; /* Fütüristik ince vurgu çizgisi */
}

/* Menü İçi Çizgi */
.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Çıkış Yap linki için özel kırmızı hover (Opsiyonel) */
.dropdown-item.logout-link:hover {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #fff;
}

.dropdown-item.logout-link:hover i {
    color: #dc3545;
}


@media (max-width: 768px) {
    /* Mobil menünün açıldığı kapsayıcı alanın genişliğini artırıyoruz */
    .mobile-sidebar-menu { 
        width: 280px; /* veya %80 gibi bir değer vererek alanı rahatlat */
        max-width: 85vw;
        padding: 15px;
    }

    /* Menüdeki her bir link/eleman */
    .mobile-menu-item {
        display: flex;
        align-items: center;
        padding: 12px 10px;
        font-size: 16px;
        white-space: nowrap; /* Metnin alt satıra inmesini KESİNLİKLE engeller */
        overflow: hidden;
        text-overflow: ellipsis; /* Eğer ekrana sığmazsa sonuna ... koyar */
        border-bottom: 1px solid #f0f0f0; /* Karmaşayı önlemek için çok ince bir ayırıcı çizgi */
    }

    /* İkonlar ve sepet sayacı için hizalama */
    .mobile-menu-item i {
        width: 25px; /* İkonların hepsinin aynı hizada durmasını sağlar */
        text-align: center;
        margin-right: 12px;
        font-size: 1.1em;
    }

    /* Sepet yanındaki numara için düzenleme */
    .cart-badge-mobile {
        margin-left: auto; /* Sayacı en sağa yaslar */
    }
}

/* Mobil Menü Kullanıcı Dropdown Stilleri */
    .mobile-dropdown-container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-user-dropdown-toggle {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-user-dropdown-toggle .dropdown-icon {
        transition: transform 0.3s ease;
        font-size: 0.9em;
    }
    
    .mobile-user-dropdown-toggle.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .mobile-user-dropdown-menu {
        display: none; /* JS ile flex yapılacak */
        flex-direction: column;
        list-style: none;
        padding-left: 20px;
        margin-top: 5px;
        margin-bottom: 10px;
        border-left: 2px solid #b8860b;
        gap: 5px;
    }
    
    .mobile-user-dropdown-menu.active {
        display: flex;
    }
    
    .mobile-user-dropdown-menu li {
        width: 100%;
    }
    
    .mobile-user-dropdown-menu a {
        border-bottom: none !important;
        padding: 8px 0 !important;
        font-size: 1.1rem !important;
        color: #555 !important;
        transition: color 0.3s ease;
    }

    .mobile-user-dropdown-menu a:hover {
        color: #b8860b !important;
    }

    .mobile-user-dropdown-menu a.logout-text {
        color: #dc3545 !important;
    }

    /* =========================================
   MOBİL ÜYE GİRİŞ ALANI GÖRÜNÜM AYARLARI
   ========================================= */

/* 1. Büyük ekranlarda (Masaüstü) tamamen gizle */
.mobile-user-dropdown-toggle,
.mobile-user-dropdown-menu {
    display: none !important;
}

/* 2. Mobil ekranlarda (992px ve altı) görünür yap */
@media (max-width: 992px) {
    .mobile-user-dropdown-toggle {
        display: flex !important; /* Kendi tasarımınıza göre bunu 'block' veya 'inline-block' yapabilirsiniz */
    }
    
    /* Javascript ile 'active' class'ı eklendiğinde menüyü göster */
    .mobile-user-dropdown-menu.active {
        display: flex !important; /* Menü içeriğinin yapısına göre 'block' da kullanabilirsiniz */
        flex-direction: column;
    }
}