html {
  scroll-behavior: smooth;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:Arial}
body{background:#fff;color:#000}


.main-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:100}
.header-inner{max-width:1400px;margin:auto;padding:20px;display:flex;align-items:center;justify-content:space-between}
.logo{height:45px}
.menu{display:flex;gap:30px}
.menu a{text-decoration:none;color:#000;font-size:14px;letter-spacing:1px}
.menu .active{border-bottom:2px solid red}
.header-icons{display:flex;gap:15px}


.hero{height:90vh;background:url('Files/new-york-city.jpg') center/cover;display:flex;align-items:center;justify-content:center}
.hero-content{text-align:center;color:#fff}
.hero-btn{display:inline-block;margin-top:25px;padding:12px 35px;background:red;color:#fff;text-decoration:none}


.top-categories{padding:70px 0;text-align:center}
.categories-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.category-card{height:260px;background-size:cover;position:relative;overflow:hidden}
.category-card:hover{transform:scale(1.03)}
.overlay{position:absolute;inset:0;background:rgba(255,255,255,.35);display:flex;flex-direction:column;justify-content:center;padding-left:25px}


.products{padding:80px 0;text-align:center}
.product-grid{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.product-image{position:relative;overflow:hidden}
.product-image img{width:100%;transition:.3s}
.product-card:hover img{transform:scale(1.05)}
.sale{position:absolute;top:10px;left:10px;background:red;color:#fff;padding:5px}
.product-card button{margin-top:10px;padding:10px;background:red;color:#fff;border:none}

/* Footer */
.footer {
    background-color: #333;
    padding: 20px 0;
    color: #fff;
    text-align: center;
    margin-top: 50px;
}

.footer p {
    margin: 0;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 70px 40px 30px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-logo {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 30px;
}

.footer-title {
  font-size: 15px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-4px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.menu a {
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: red;
  transition: width .3s ease;
}

.menu a:hover::after {
  width: 100%;
}



.products {
  padding: 80px 0;
  width: 100%;
}


.products h2 {
  font-size: 36px;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.product-grid {
  width: 100%;
  max-width: 100%;
  padding: 0 60px;           /* kenarlardan boşluk */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}




.product-card {
  width: 100%;
}



.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}




.product-card:hover img {
  transform: scale(1.08);
}

/* ACTION ICONS */
.product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: 0.3s ease;
}

.product-actions span {
  width: 44px;
  height: 44px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
}

.product-card:hover .product-actions {
  opacity: 1;
}


/* TEXT */
.product-card h3 {
  font-size: 16px;   /* 14 → 16 */
  margin: 18px 0 8px;
}

.price {
  font-size: 15px;   /* 14 → 15 */
}


/* SELECT BUTTON */
.select-btn {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(14px);
  transition: 0.35s;
}


.product-actions span {
  background: #fff;
  padding: 10px;     /* 8 → 10 */
  cursor: pointer;
  font-size: 15px;
}

.product-title {
  font-size: 18px;   /* daha büyük */
  font-weight: 600;
  margin-top: 18px;
}

.price {
  font-size: 17px;
}

.products {
  padding: 90px 0;
  width: 100%;
}

.products h2 {
  font-size: 38px;
  margin-bottom: 60px;
  text-align: center;
}

.product-grid {
  width: 100%;
  padding: 0 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px;
}

.product-card {
  width: 100%;
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2f2f2;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* ICONS */
.product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: .3s;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-actions span {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* TEXT */
.product-card h3 {
  margin-top: 18px;
  font-size: 17px;
}

.price {
  font-size: 16px;
  margin-bottom: 15px;
}

/* BUTTON */
.select-btn {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  opacity: 0;
  transform: translateY(12px);
  transition: .3s;
}

.product-card:hover .select-btn {
  opacity: 1;
  transform: translateY(0);
}




.top-categories {
  padding: 80px 0;
  text-align: center;
}

.top-categories h2 {
  font-size: 36px;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.categories-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.category-card {
  position: relative;
  height: 300px;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

/* HOVER → RESİM BÜYÜME */
.category-card:hover .category-bg {
  transform: scale(1.08);
}

/* OVERLAY */
.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 35px;
  text-align: left;
}

/* TITLE */
.category-overlay h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
}

/* SHOP NOW */
.category-overlay span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  width: fit-content;
  border-bottom: 2px solid red;
  padding-bottom: 3px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 260px;
  }
}



.hero {
  height: 90vh;
  background: url('Files/new-york-city.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;   /* ALT ALTA */
  align-items: center;
  text-align: center;
  gap: 20px;                /* elemanlar arası boşluk */
}

.hero-content img {
  display: block;
}

.hero-btn {
  margin-top: 10px;
  padding: 14px 40px;
  background: red;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

/* =========================
   PRODUCT IMAGE HOVER (CSS)
========================= */

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease;
}

/* İlk foto açık */
.product-image .img-main {
  opacity: 1;
}

/* İkinci foto kapalı */
.product-image .img-hover {
  opacity: 0;
}

/* Hover olunca değiş */
.product-card:hover .img-main {
  opacity: 0;
}

.product-card:hover .img-hover {
  opacity: 1;
}
