/* ===== GENEL ===== */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #222;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #222;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right a {
    margin-left: 10px;
    color: #fff;
}

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo span {
    color: #d60000;
}

/* === AURIVA LOGO GÖRSELİ === */
.header-logo img {
    height: 55px;       /* MENUDE GÖRÜNECEK BOYUT */
    width: auto;
    object-fit: contain;
    display: block;
}

.main-nav a {
    margin-left: 25px;
    font-weight: 600;
    color: #333;
    font-size: 17px;
}

.main-nav a:hover {
    color: #d60000;
}

/* Header sağ taraf – iletişim + diller */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
}

.header-contact a {
    color: #555;
    font-size: 15px;
    margin-left: 6px;
}

.header-contact .divider {
    margin: 0 6px;
    color: #ccc;
}

/* === DİL BAYRAKLARI === */
.header-lang {
    margin-top: 3px;
    display: flex;
    align-items: center;
}

.header-lang img {
    width: 22px;          /* bayrak boyutu */
    height: auto;
    margin-left: 6px;
    cursor: pointer;
    transition: transform 0.15s ease;
    border-radius: 2px;   /* köşeler çok hafif oval */
}

.header-lang img:hover {
    transform: scale(1.15);
}

/* ===== HERO ===== */


.hero-inner {
    display: flex;
    flex-direction: column;   /* alt alta gelsin */
    align-items: center;      /* yatayda ortala */
    justify-content: center;  /* dikeyde ortala (bulunduğu alanda) */
    gap: 20px;
    text-align: center;       /* yazıları ortala */
}

.hero-text {
    max-width: 550px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222222;   /* koyu yazı */
}

.hero-text h1 span {
    color: #ff3b3b;   /* Güvenli kelimesi kırmızı kalsın */
}

.hero-text p {
    font-size: 16px;
    color: #555555;   /* okunaklı gri */
    max-width: 520px;
    line-height: 1.6;
}

.hero-full {
    width: 100%;
    height: 480px;      /* yüksekliği buradan ayarlayabilirsin (ör: 320–420) */
    object-fit: cover;  /* genişlik aynı kalır, resim yukarı–aşağı kırpılır */
    display: block;
}

/* Resim ile kartlar arasındaki hero yazı bloğu */
.hero-content {
    text-align: center;
    padding: 25px 0 10px;   /* yazı ile resim/kartlar arası boşluk */
}

.hero-content .hero-text {
    max-width: 650px;
    margin: 0 auto;
}

.hero-actions .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    margin-right: 15px;
}

.btn.primary {
    background: #d60000;
    color: #fff;
}

.btn.secondary {
    background: #333;
    color: #fff;
}

/* === HERO RESMİNİ YARIYA KISALT === */
.hero-section {
    position: relative;
    height: 420px; /* resmin yüksekliği - burayı istediğin gibi ayarlarsın */
    overflow: hidden;
}

.hero-section img.hero-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* genişlik bozulmaz, yükseklik kırpılır */
}

/* === HERO YAZI ORTALAMA === */
.hero .hero-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* HERO Image Placeholder */
.hero-image-placeholder {
    width: 380px;
    height: 380px;
    background: #ddd;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #666;
    border: 2px dashed #bbb;
}

/* HERO ARKA PLAN GÖRSELİ */


/* İçerik öne gelsin */
.hero-inner {
  position: relative;
  z-index: 2;
}


/* ===== STATS ===== */
.stats {
    background: #fff;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 kart için tam hizalama */
    gap: 20px;
}

/* Kutu ve resim tamamen dolsun, yazı üstünde olsun */
.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eee;
    height: 160px;               /* kutu yüksekliği – istersen 140/180 yapabiliriz */
    background: #000;
    cursor: pointer;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #d60000;
}

/* Resim kutuyu tamamen doldurur */
.stat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* kutuyu taşmadan doldurur */
    display: block;
}

/* Yazı kutucuğun ÜSTÜNE biner */
.stat-card h3 {
    position: absolute;
    bottom: 0;                   
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;   /* ✅ YENİ EKLEDİĞİN SATIR */
}


/* ===== ABOUT ===== */
.about {
    padding: 70px 0;
}

.about-inner {
    display: flex;
    gap: 40px;
}

.about-text {
    width: 50%;
}

.about-boxes {
    width: 50%;
    display: grid;
    gap: 20px;
}

.about-box {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* ===== CATEGORIES ===== */
.categories {
    background: #fafafa;
    padding: 70px 0;
}

.page-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 5px;
}

.categories .section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    max-width: 650px;
    margin: 0 auto 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;   /* TEK SÜTUN */
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #d60000;
}

/* Yatay büyük kart */
.category-row {
    display: flex;
    padding: 0;
    overflow: hidden;
}

/* Sol resim */
.category-row .cat-image-wrap {
    width: 200px;
    min-width: 200px;
    height: 150px;  /* Sabit yükseklik */
}

.category-row .cat-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Orantıyı koruyarak kutuya sığdır */
}

/* Sağdaki yazılar */
.category-row .cat-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Satır şeklinde, sol resim – sağda yazı */
.category-row {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

/* TÜM RESİMLER İÇİN KARE KUTU */
.category-row .cat-image-wrap {
    width: 220px;      /* Kuruyemiş resmine göre genişlik */
    min-width: 220px;
    height: 220px;     /* Kare yapmak için yükseklik ekledik */
}

/* RESİMLER KESİLMEDEN KAREYE OTURSUN */
.category-row .cat-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* Tamamı görünsün, kesilmesin */
    display: block;
    background: #fff;      /* Gerekirse boş kalan alan beyaz olsun */
}

.category-row .cat-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* yazıları dikeyde ortalar */
}


/* ÜRÜNLERDE 5 + 5 İKİ SÜTUN */
.category-row .cat-content .product-list {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;          /* 2 sütun yap */
    column-gap: 40px;    /* iki sütun arası boşluk */
    padding-left: 20px;  /* madde işareti boşluğu */
    margin: 0;           /* listenin üst boşluğu olmasın */
}

.category-row .cat-content .product-list li {
    line-height: 26px;   /* her satır aynı yükseklikte */
}


.link {
    margin-top: 10px;
    display: inline-block;
    color: #d60000;
    font-weight: 600;
}

/* === CATEGORY CARDS WITH IMAGES === */
.category-with-image {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.category-with-image .cat-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}

.category-with-image .cat-info {
    flex: 1;
}

.category-with-image h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.category-with-image p {
    margin: 0 0 10px;
    color: #444;
}

.category-with-image .link {
    font-weight: 600;
    color: #d60000;
}



/* ===== BRANDS ===== */
.brands {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.brand-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.brand-item {
    background: #f3f3f3;
    padding: 20px 40px;
    border-radius: 6px;
}

/* ===== NEWS ===== */
.news {
    background: #fafafa;
    padding: 70px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.news-meta {
    margin-top: 10px;
    display: block;
    font-size: 14px;
    color: #777;
}

/* ===== CONTACT ===== */
.contact {
    padding: 70px 0;
}

.contact-inner {
    display: flex;
    gap: 40px;
}

.contact-info {
    width: 40%;
}

.contact-form {
    width: 60%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    padding: 12px 25px;
    background: #d60000;
    color: #fff;
    border: none;
    border-radius: 6px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #222;
    color: #fff;
    padding: 25px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

/* HEADER + FOOTER logoları için ortak class */
.site-logo {
    height: 80px;       /* Masaüstü için logo yüksekliği */
    width: auto;        /* Oran bozulmasın */
    object-fit: contain;
}

/* === HEADER YÜKSEKLİĞİNİ LOGOYA GÖRE AYARLA === */
.header-inner {
    align-items: center;
    height: 110px;   /* İstersen 120px yapabilirsin */
}

.header-logo img.site-logo {
    min-height: 80px;
}

/* Mobilde biraz daha küçük olsun */
@media (max-width: 768px) {
    .site-logo {
        height: 50px;
    }
    .success-box {
  background: #e9ffe9;
  border: 1px solid #55c455;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 16px;
  border-radius: 6px;
  color: #2a7a2a;
  text-align: center;
}
    
}

/* ===== MOBİL ===== */
@media (max-width: 850px) {

    .hero-inner,
    .about-inner,
    .contact-inner {
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-placeholder {
        width: 100%;
        height: 250px;
    }  

}
