/*
Theme Name: Adarya Home
Theme URI: https://www.adaryahome.de
Author: Adarya Home
Description: Theme für Adarya Home.
Version: 1.0
Text Domain: adarya-home
*/

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fdfdfb;
  color: #222;
}

/* HEADER */
header {
  background-color: #d2b48c;
  height: 155px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-img {
  height: 150px;
  margin-top: 2px;
  width: auto;
  display: block;
}
.logo-slogan {
  font-size: 1.08rem;
  color: #5c3d1e;
  background: rgba(255, 255, 255, 0.62);  /* Yumuşak, yarı şeffaf beyaz */
  padding: 6px 24px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  opacity: 0.97;
  line-height: 1.5;
  width: max-content;
  margin: 10px auto 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
  transition: box-shadow .2s;
}

.logo-slogan:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

@media (max-width: 1024px) {
  .logo-slogan {
    font-size: 0.97rem;
    padding: 5px 10px;
    margin-top: 7px;
    width: 95%;
    max-width: 95vw;
  }
}

/* MENU & HAMBURGER */
nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  position: relative;
}

/* MASAÜSTÜ MENÜ */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
}
.menu-toggle {
  display: none;
}
.menu a {
  background-color: rgba(255, 255, 255, 0.65);
  padding: 8px 14px;
  border-radius: 4px;
  color: #5c3d1e;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 6px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-decoration: none;
}
.menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #3f2b14;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* HERO */
section.hero {
  background: url('assets/images/hero.jpg') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* TEXT STYLES */
h1, h2, h3 {
  color: #5c3d1e;
}

/* FOOTER */
footer {
  background-color: #d2b48c;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #5c3d1e;
  font-size: 1.05rem;
  gap: 12px;
}

.footer-copy {
  color: #5c3d1e;
}

.footer-links {
  color: #33387c;
}

.footer-links a {
  color: #33387c;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #33387c;
  text-decoration: underline;
}


/* RESPONSIVE - HAMBURGER MENU */
@media (max-width: 1024px) {
  header {
    height: auto !important;
    overflow: visible;
    padding: 0;
    text-align: center;
  }
  .container {
    padding: 5px;
  }
  nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto 0 auto;
  }
  .logo-img {
    height: 90px;
    margin: 0 auto;
    display: block;
  }
  /* SOL ÜST KÖŞE HAMBURGER MENU */
  .menu-toggle {
    display: block !important;
    position: absolute !important;
    left: 6px;
    top: 24px;
    margin: 0;
    text-align: left;
    font-size: 32px;
    color: #5c3d1e;
    background: none;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    padding: 6px 12px 6px 12px;
    width: auto;
    cursor: pointer;
    z-index: 1002;
  }
  .menu {
    display: none !important;
    flex-direction: column;
    background: #fdf6ee;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: absolute;
    top: 70px;   /* hamburger ikonunun altına denk gelsin */
    left: 10px;
    right: 10px;
    z-index: 10;
    padding: 20px 0;
  }
  .menu.open {
    display: flex !important;
  }
  .menu a {
    margin: 2px 0;
    padding: 11px 0;
    font-size: 15px;
    min-width: unset;
    width: 100%;
    display: block;
    text-align: center;
    background: transparent;
    border-radius: 6px;
  }
  .logo-slogan {
    font-size: 0.94rem;
    margin-top: 3px;
    padding: 0 4px;
  }
}

/* ------------------ RESET ------------------ */
.hero-banner-outer {
  width: 100vw;
  display: flex;
  justify-content: center;
  background: #fcfbf7;
  margin: 0;
  padding: 0;
}

.hero-banner-bg {
  width: 100%;
  max-width: 1200px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* Kutunun arkasındaki beyaz efekt kaybolacak */
  box-shadow: 0 6px 24px rgba(90,60,30,0.07);
  padding: 0;
  max-height: 350px;   /* Örnek: istediğin kadar kısaltabilirsin */
  height: 100%;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  background: white;
  max-height: 350px;
}

/* Mobilde */
@media (max-width: 900px) {
  .hero-banner-bg {
    max-width: 99vw;
    aspect-ratio: 16/7;
    border-radius: 10px;
  }
  .hero-banner-img {
    aspect-ratio: 16/7;
    border-radius: 6px;
    max-width: 99vw;
    width: 100%;
	max-height: 160px;
  }
}


.header-gap {
  width: 100%;
  height: 10px;
  display: block;
}
/* PRODUCT GRID */
.products-grid,
.wp-block-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 32px !important;
}
.product-card img {
  width: 100%;
  height: 170px;           /* Burada sabit bir yükseklik veriyoruz */
  object-fit: contain;     /* Taşmadan, oranı bozmadan, çerçeveye sığdırır */
  background: #f6f2eb;     /* Altında hafif krem/beyaz görünsün diye */
  border-radius: 9px;
  margin-bottom: 18px;
  box-shadow: 0 1px 10px rgba(110,90,70,0.07);
  display: block;
}

@media (max-width: 1024px) {
  .products-grid,
  .wp-block-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}
@media (max-width: 800px) {
  .products-grid,
  .wp-block-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}
@media (max-width: 540px) {
    .product-card img {
    height: 110px;
  }
	.products-grid,
  .wp-block-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
/* TABLET + MOBIL: NAV için hamburger 1366px ve altı */
@media (max-width: 1366px) {
  header {
    height: auto !important;
    overflow: visible;
    padding: 0;
    text-align: center;
  }
  nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
  }
  .logo-img {
    height: 90px;
    margin: 0 auto;
    display: block;
  }
  /* Sol üst hamburger */
  .menu-toggle {
    display: block !important;
    position: absolute !important;
    left: 6px;
    top: 24px;
    margin: 0;
    text-align: left;
    font-size: 32px;
    color: #5c3d1e;
    background: none;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    padding: 6px 12px;
    width: auto;
    cursor: pointer;
    z-index: 1002;
  }
  .menu {
    display: none !important;
    flex-direction: column;
    background: #fdf6ee;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: absolute;
    top: 70px;   /* hamburger ikonunun altına gelsin */
    left: 10px;
    right: 10px;
    z-index: 10;
    padding: 20px 0;
  }
  .menu.open { display: flex !important; }
  .menu a {
    margin: 2px 0;
    padding: 11px 0;
    font-size: 15px;
    width: 100%;
    display: block;
    text-align: center;
    background: transparent;
    border-radius: 6px;
  }
  .logo-slogan {
    font-size: 0.94rem;
    margin-top: 3px;
    padding: 0 4px;
  }
}
