

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Noto+Naskh+Arabic:wght@400;600;700&display=swap');

/* ===============================
   GLOBAL RESET
   =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}

html, body, a, button, li, span {
    font-family:
        'Montserrat',
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif;
}
body {
   
    width: 100%;
    min-height: 100%;
    line-height: 1.6;
    color: #1a1a1a;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.lang-flag {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}
/* ===============================
   HEADINGS
   =============================== */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* ===============================
   ARABIC SUPPORT
   =============================== */
html[lang="ar"] body {
    font-family: 'Noto Naskh Arabic', serif;
    direction: rtl;
}

html[lang="ar"] p,
html[lang="ar"] strong {
    letter-spacing: 0;
    line-height: 1.9;
}


/* HEADER */
.main-header {
    width: 100%;
    z-index: 999;
}

/* ÜST BAR */
.topbar {
    height: 40px;
    background: transparent;
}
.topbar .icon-link {
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.topbar .icon-link:hover {
    opacity: 0.8;
}

.icon-link {
    color: #fff;
    font-size: 18px;
    position: relative;
}

.icon-link .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 10px;
}
.custom-shape-divider-bottom-1769680019 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Yukarıdan bükülmesini sağlar */
    z-index: 5; /* slider yazısının altına veya üstüne göre ayarlayabilirsin */
}

.custom-shape-divider-bottom-1769680019 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 93px; /* ihtiyaç olursa mobilde düşürebilirsin */
}

.custom-shape-divider-bottom-1769680019 .shape-fill {
    fill: #ffffff; /* arka plan rengi ile uyumlu */
}
/* ALT NAV */
.main-nav {
    background-color: #07070741;
    padding: 10px 0;
}

.main-nav .nav-link {
    color: #fff;
    font-weight: 500;
}

.main-nav .nav-link:hover {
    opacity: .8;
}
.icon-box i {
    transition: transform 0.3s ease;
}
.icon-box:hover i {
    transform: translateY(-6px);
}
.feature-icon {
    color: #8b6b3d; /* gold / bronze ton */
}
/* LOGO */
.logo {
    max-height: 75px;   /* önce 55px idi */
    width: auto;
}

/* BANNER ALTTAN GÖRÜNSÜN */
.hero {
    height: 100vh;
    background: url("img/banner.jpg") center/cover no-repeat;
}
.about-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.about-img {
    transition: transform 0.4s ease;
}

.about-img:hover {
    transform: scale(1.03);
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

/* Görseller */
.split-image {
              /* sağdan soldan boşluk */
    display: flex;
    justify-content: center;
}

.split-image img {
    max-width: 70%;             /* görseli küçült */
    height: auto;               /* oran korunsun */
    border-radius: 12px;        /* (opsiyonel) yumuşak köşe */
}


/* Metin */
.split-text {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}




.proforma-popup {
    display: none; /* başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 450px;
}


@keyframes fadeIn {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* 🔥 MOBİL */
@media (max-width: 991px) {
    .split-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-image img {
        height: auto;
        border-radius: 0;
    }

    .split-text {
        padding: 40px 20px;
    }

    /* 2. section ters olsun */
    .split-block.reverse .split-text {
        order: 2;
    }

    .split-block.reverse .split-image {
        order: 1;
    }
}
.section-divider {
    display: flex;
    justify-content: center;
    margin: 5px 0;
}

.section-divider span {
    width: 1280px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b6b3d, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}

/* AOS tetiklenince */
.section-divider.aos-animate span {
    transform: scaleX(1);
}
.cart-img-wrap {
    width: 110px;
    height: 110px;
    overflow: hidden;        /* KESMEYİ KONTROL EDEN BU */
    border-radius: 10px;
    background: #f3f3f3;
    flex-shrink: 0;
}

.cart-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* cover DEĞİL */
    display: block;
}




/* ===============================
   ÜRÜN KART MODERN
=============================== */
/* ÜRÜN GÖRSEL ALANI */
.urun-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.urun-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* ===================== RESİM ===================== */



/* ===================== ÜRÜN BİLGİ ===================== */
/* ===================== CARD ===================== */
.urun-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.urun-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

/* ===================== IMAGE ===================== */
.urun-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.urun-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 60%,
        rgba(0,0,0,.25)
    );
    opacity: 0;
    transition: opacity .35s ease;
}

.urun-card:hover .urun-img::after {
    opacity: 1;
}

.urun-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.urun-card:hover .urun-img-cover {
    transform: scale(1.08);
}

/* ===================== INFO ===================== */
.urun-info {
    height: 80px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .35s ease;
}

.urun-info h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    color: #222;
}

/* ===================== LIKE ===================== */
.like-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    border: none;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all .25s ease;
}

.like-btn:hover {
    transform: scale(1.15);
}

.like-btn.active i {
    color: #e63946;
    animation: heartPop .35s ease;
}

@keyframes heartPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.urun-title-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all .35s ease;
}

.urun-card:hover .urun-title-overlay {
    opacity: 1;
    transform: translateY(0);
}
/* Topbar tüm account-menu için */
.account-menu li {
    position: relative;
}

/* Username için truncate */
.account-menu .username {
    display: inline-block;
    max-width: 120px; /* Masaüstü */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* Icon ve badge hizalama */
.account-menu .icon-link {
    display: flex;
    align-items: center;
    gap: 4px; /* ikon ile yazı arası boşluk */
}

/* Responsive - tablet / mobil */
@media (max-width: 992px) { /* tablet */
    .account-menu .username {
        max-width: 100px;
    }
}

@media (max-width: 768px) { /* mobil */
    .account-menu .username {
        max-width: 70px;
        font-size: 0.9rem;
    }

    .account-menu li {
        margin-right: 10px;
    }
}

/* ADAPTİF MOBİL */

   /* Mobil cihazlar için resim düzeltmesi */
@media (max-width: 767px) {
    .urun-img {
        height: 180px; /* mobilde biraz daha küçük */
        overflow: hidden;
    }

    .urun-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* kapsayıcıya tam oturur, boşluk kalmaz */
        object-position: center;
    }

    .product-actions {
        justify-content: center;
        gap: 6px;
    }

    .share-popover {
        left: auto;
        right: 110%; /* mobilde soldan aç */
        top: 50%;
        transform: translateY(-50%);

    }
}

/* =========================
   PRODUCT TITLE AREA
========================= */
.product-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================
   BADGE (SEPET SAYACI VS)
========================= */
.icon-link {
    position: relative;
}

.icon-link .badge {
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -6px;
}

/* =========================
   STAR RATING
========================= */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color .2s ease;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: #f5a623;
}

/* =========================
   IMAGE
========================= */
/* Genel Tasarım */
.product-details {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
}

.product-price h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.product-image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    padding-left: 30px;
}



.product-quantity {
    margin-top: 20px;
}

.product-quantity input {
    width: 70px;
    font-size: 16px;
}

/* Kapsayıcı Buton Alanı */
.product-actions {
    position: relative;
    display: flex;             /* Flexbox ile hizalama */
    gap: 10px;                 /* Butonlar arasındaki boşluk */
    justify-content: flex-start; /* Sol hizalama */
    align-items: center;       /* Butonları dikeyde ortala */
}

/* Kalp Butonu */
/* ÜRÜN DETAY SAYFASI */
.product-actions .like-btn {
    position: relative;
    top: auto;
    right: auto;
    width: 42px;
    height: 42px;
}


.like-btn{
    position:absolute;
    top:15px;
    right:15px;
    background:#fff;
    border:none;
    width:38px;
    height:38px;
    border-radius:50%;
    z-index:10;
    border: 1px solid #ddd;
}


.like-btn i {
    color: #d62222;
    transition: color .2s ease, transform .15s ease;
}

.like-btn.active i {
    animation: pop .25s ease;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* Paylaşım Butonu */
.share-btn {
    background: #fff;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Paylaşım Popup */
.share-popover {
    position: absolute;
    top: 50%;
  
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 20;
}

.share-popover.active {
    opacity: 1;
    visibility: visible;
}

.share-popover button,
.share-popover a {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popover i {
    transition: transform .2s ease;
}

.share-popover i:hover {
    transform: scale(1.2);
}



.breadcrumb a {
    position: relative;
    z-index: 10;
    text-decoration: none;
    color: #f3f3f3;
}
.breadcrumb li{
    color: #d4af37 !important;
}

/* ALT BİLGİ */
.urun-info {
    padding: 20px;
    text-align: center;
}

.urun-info h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* SCROLL OLUNCA ARKA PLAN */
.main-header.scrolled {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.why-urban {
    background-color: #fff;
}

.why-card {
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.why-card i {
    color: #000;
}

.why-card:hover {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.what-we-do {
    background-color: #f8f9fa;
}

.service-card {
    padding: 35px 25px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.service-card i {
    color: #000;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* header.css veya stil tagi */
.username {
    display: inline-block;      /* inline yerine block/inline-block gerekli */
    max-width: 120px;           /* istediğin maksimum genişlik */
    white-space: nowrap;         /* tek satır */
    overflow: hidden;            /* taşanı gizle */
    text-overflow: ellipsis;     /* üç nokta ekle */
    vertical-align: middle;      /* ikon hizası için */
    color: #ffffff;
}

.urun-hero {
    height: 400px;
    background-color: #555; 
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 160px; /* Navbar yüksekliğine göre ayarlayın */
    padding-bottom: 30px; /* İstersen alt boşluk */
}

/* İLETİŞİM HERO */
.contact-hero {
    height: 700px;
    background: url("../img/banner5.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
.hakkimizda{
    height: 700px;
    background: url("../img/banner3.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
.banner {
    height: 700px;
    background:  url("../img/banner4.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-text .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 20, 0.55);

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 95%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    black 5%,
    transparent 100%
  );
}
.contact-hero .container {
    position: relative;
    z-index: 2;
}
.banner .container {
    position: relative;
    z-index: 2;
}
.hakkimizda .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 600;
}

/* HARİTA */
.map-area iframe {
    display: block;
}

/* ===============================
   SPLIT HERO
   =============================== */
.split-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    background: #fff;
    overflow: hidden;
}

/* YARIM ALANLAR */
.hero-half {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GÖRSELLER */
.hero-img {
    width: 80%;
    max-width: 1500px;
    display: block;
}
.top-banner {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    direction: ltr !important;
}

.top-banner {
    direction: ltr !important;
}
/* === RTL FIX FOR CAROUSEL VISIBILITY === */
html[dir="rtl"] .top-banner,
html[dir="rtl"] .carousel,
html[dir="rtl"] .carousel-inner,
html[dir="rtl"] .carousel-item {
    direction: ltr !important;
}

html[dir="rtl"] .carousel-item {
    opacity: 0;
}

html[dir="rtl"] .carousel-item.active {
    opacity: 1;
    position: relative;
}

.force-ltr {
    direction: ltr !important;
}

.top-banner img {
    filter: brightness(0.97) contrast(0.95);
}
.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-repeat: no-repeat;
}

footer a:hover {
    color: #ffc107;
}
footer a {
  text-decoration: underline;
}
footer a {
  text-decoration: none !important;
  color: #f3f3f3;
}

.card {
    border-radius: 15px;
}

.logo-wrapper {
    width: 100%;
    height: 140px; /* kart içinde logo alanı */
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
input:focus {
    box-shadow: none !important;
    border-color: #000;
}

/* ===============================
   SABİT YAZI
   =============================== */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
     opacity: 0;
    animation: heroFadeUp 1.4s ease-out forwards;
    animation-delay: 0.4s;
}
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    background: linear-gradient(180deg, #d4af37, #eebc58, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.767));
}

.content-slider {
    padding: 80px 0;
}

.content-slider h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.content-slider p {
    color: #555;
    line-height: 1.7;
}

/* SLIDER RESİM */
.content-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-inner {
    position: relative;
    height: 100%;
   
}


.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0.25;

}

.carousel-item.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}


.carousel-item-next,
.carousel-item-prev,
.carousel-item.active.carousel-item-start,
.carousel-item.active.carousel-item-end {
    transform: none !important;
}
.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
    width: 8%;
    opacity: 0.85;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.027));
}

.bg-siyah{
    background-color: #131212;
}
.navbar .nav-item a{
    color:#eebc58 !important;
}
.card img {
    height: 230px;
    object-fit: cover;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===============================
   📱 MOBİL
   =============================== */
@media (max-width: 768px) {
  html, body {
        overflow-x: hidden !important;
    }
    .split-hero {
        flex-direction: column;
        height: auto;
        padding: 40px 0;
    }
 html {
    font-size: 16px;}
    .hero-half {
        width: 100%;
        margin-bottom: 30px;
    }
  .section-divider span {
        width: 420px;
    }
    .hero-img {
        max-width: 320px;
    }
    .top-banner {
        height: 55svh;
        min-height: 320px;
        margin-bottom: 0;
    }

    .top-banner .carousel,
    .top-banner .carousel-inner,
    .top-banner .carousel-item {
        height: 100%;
    }
 
    /* YAZI */
    .hero-text {
        position: absolute;   /* 🔥 KRİTİK */
        top: 60%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
        padding: 0 16px;
        z-index: 5;
    }

    .hero-text h1 {
        font-size: 1.3rem;
        line-height: 1.25;
        letter-spacing: 1px;
        background: linear-gradient(180deg, #d4af37, #eebc58, #f5d98b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
      .content-img {
        height: 380px;
    }

    .content-slider {
        padding: 50px 0;
    }
    .contact-hero,
    .hakkimizda,
    .banner {
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .custom-shape-divider-bottom-1769680019 svg {

    height: 33px; /* ihtiyaç olursa mobilde düşürebilirsin */
}
}
/* === FORCE LTR SLIDER FIX (BOOTSTRAP RTL BUG FIX) === */
html[dir="rtl"] .top-banner,
html[dir="rtl"] .top-banner * {
    direction: ltr !important;
}

html[dir="rtl"] .top-banner .carousel-inner {
    transform: none !important;
}

html[dir="rtl"] .top-banner .carousel-item {
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: block !important;
}
/* === RTL ARROWS FIX FOR BOOTSTRAP CAROUSEL === */
html[dir="rtl"] .top-banner .carousel-control-prev {
    left: 0 !important;
    right: auto !important;
}

html[dir="rtl"] .top-banner .carousel-control-next {
    right: 0 !important;
    left: auto !important;
}
/* === RTL FIX: CAROUSEL ARROW ICON DIRECTION === */
html[dir="rtl"] .top-banner .carousel-control-prev-icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .top-banner .carousel-control-next-icon {
    transform: rotate(180deg);
}
