/* CONTACT PAGE FIX */
@media (max-width:768px){
  .category-hero{padding:16px 12px 12px;}
  .category-hero h1{font-size:22px;}
  .category-hero p{font-size:14px;}
}

/* ===================================================
   BAZAR Supermarkt – Clean Slate
   =================================================== */

/* Global background */
html, body {
  margin: 0;
  padding: 0;
  background: #f1f5ef; /* pastel açık yeşil */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2a1f;
}

/* Layout */
main {
  padding-top: 84px; /* fixed header offset */
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}


.hero {
  height: 60vh;
  min-height: 420px;
  background-image: url('/assets/img/hero/hero.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
}

.hero-content {
  position: absolute;
  top: 96px;
  left: 24px;
  max-width: 520px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.95;
}

/* ================= SECTIONS ================= */
/* GLOBAL TEXT ALIGN FIX */
main { text-align: left; }
.category-hero { text-align: left; }
.hero, .hero-content { text-align: left; }


.section {
  padding: 96px 0;
}

.section-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 48px 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* CONTACT PAGE FIX */
@media (max-width:768px){
  .category-hero{padding:16px 12px 12px;}
  .category-hero h1{font-size:22px;}
  .category-hero p{font-size:14px;}
}

/* ===============================
   CATEGORY PAGE – CLEAN & MARKET
   =============================== */

.category-page {
  padding-top: 24px;
}

.category-hero {
  padding: 32px 20px 20px;
  text-align: center;
}

.category-hero h1 {
  font-size: 28px;
  color: var(--olive-dark);
  margin-bottom: 6px;
}

.category-hero p {
  color: #666;
  font-size: 15px;
}

.category-content {
  background: #ffffff;
  border-radius: 16px;
  margin: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.category-list li {
  font-size: 15px;
  padding: 6px 0;
  color: #333;
}

.btn-primary {
  display: block;
  text-align: center;
  background: var(--olive-dark);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
}

/* CONTACT PAGE FIX */
@media (max-width:768px){
  .category-hero{padding:16px 12px 12px;}
  .category-hero h1{font-size:22px;}
  .category-hero p{font-size:14px;}
}

/* ===============================
   CATEGORY PAGE – POLISHED LOOK
   Obst & Gemüse
   =============================== */

.category-page {
  padding-bottom: 60px;
}

.category-hero {
  text-align: center;
  padding: 32px 16px 20px;
}

.category-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-hero p {
  font-size: 15px;
  opacity: 0.8;
}

.category-content {
  background: #ffffff;
  margin: 20px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.category-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.category-list li {
  padding: 8px 0;
  font-size: 15px;
}

.category-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background: #2f5d3a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* CONTACT ACTION BUTTONS */
.contact-actions{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin:12px 16px 8px;
}
.contact-actions a{
  padding:10px 6px;
  font-size:13px;
  border-radius:10px;
  background:#e8efe6;
  color:#2f4f3b;
  text-decoration:none;
  font-weight:600;
}

/* === FORCE CONTACT PAGE COMPACT (URL BASED) === */
body main {
  padding-top: 84px;
}

body:has(h1:contains("Kontakt")) main {
  padding-top: 48px !important;
}

body:has(h1:contains("Kontakt")) .contact-actions {
  margin: 0.8rem 0 1.2rem !important;
}

body:has(h1:contains("Kontakt")) .contact-form-section {
  margin-top: 1rem !important;
  margin-bottom: 1.2rem !important;
  padding: 1.2rem !important;
}

body:has(h1:contains("Kontakt")) .contact-form-box {
  margin-top: 1rem !important;
}


/* ================================
   KONTAKT PAGE – HARD COMPACT FIX
   ================================ */

body.page-kontakt main {
  padding-top: 48px !important;
}

body.page-kontakt .category-hero {
  padding: 16px 12px 10px !important;
}

body.page-kontakt .contact-actions {
  margin: 8px 12px 12px !important;
  gap: 8px !important;
}

body.page-kontakt .contact-form-section {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
  padding: 16px !important;
}

body.page-kontakt label {
  margin-top: 8px !important;
}

body.page-kontakt textarea {
  min-height: 90px !important;
}


/* === HARD OVERRIDE: CONTACT PAGE COMPACT === */
body.page-kontakt .section {
  padding: 0 !important;
}

body.page-kontakt .category-hero {
  padding: 12px 16px 10px !important;
  margin-bottom: 8px !important;
}

body.page-kontakt .contact-actions {
  margin: 8px 16px 12px !important;
}

body.page-kontakt .contact-form-section {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  padding: 16px !important;
}

/* ===== HARD DEBUG ===== */
body {
  outline: 10px solid red !important;
}


/* ===================================================
   CONTACT PAGE – FINAL OVERRIDE (SINGLE SOURCE)
   =================================================== */

.page-kontakt main {
  padding-top: 48px;
}

.page-kontakt .category-hero {
  padding: 20px 16px 12px;
}

.page-kontakt .contact-actions {
  margin: 0.6rem auto 1.2rem;
  max-width: 700px;
}

.page-kontakt .contact-form-section {
  margin: 0 auto 1.5rem;
  padding: 1.4rem;
}

@media (max-width: 640px) {
  .page-kontakt .contact-actions {
    margin-bottom: 0.8rem;
  }
}


/* === KONTAKT PAGE – KILL EXTRA TOP SPACE === */
.page-kontakt main {
  padding-top: 56px !important;
}

.page-kontakt .category-page {
  padding-top: 0 !important;
}

.page-kontakt .category-hero {
  margin-top: 0 !important;
  padding-top: 12px !important;
}


/* ===================================================
   CONTACT PAGE – FINAL STYLES
   =================================================== */

.page-kontakt .contact-actions{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  max-width:700px;
  margin:1rem auto 1.2rem;
}

.page-kontakt .contact-actions a{
  display:block;
  text-align:center;
  padding:10px 6px;
  border-radius:10px;
  background:#e7efe5;
  color:#2f4f3b;
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  transition:all .2s ease;
}

.page-kontakt .contact-actions a:hover{
  background:#2f6b45;
  color:#fff;
}

@media(max-width:640px){
  .page-kontakt .contact-actions{
    grid-template-columns:repeat(2,1fr);
  }
}

/* CONTACT FORM */
.page-kontakt .contact-form-section{
  max-width:700px;
  margin:0 auto 2rem;
  padding:1.4rem;
  background:#ffffff;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.page-kontakt .contact-form label{
  display:block;
  margin-top:.8rem;
  font-weight:600;
}

.page-kontakt .contact-form select,
.page-kontakt .contact-form textarea,
.page-kontakt .contact-form input[type=file]{
  width:100%;
  margin-top:.4rem;
  padding:.7rem .8rem;
  border-radius:10px;
  border:1px solid #ccc;
  font-size:1rem;
}

.page-kontakt .contact-form textarea{
  resize:vertical;
}

.page-kontakt .contact-form button{
  width:100%;
  margin-top:1.4rem;
  padding:1rem;
  font-size:1.05rem;
  border-radius:12px;
  background:#2f6b45;
  color:#fff;
  border:none;
}

.page-kontakt .contact-form button:hover{
  background:#245a3a;
}


/* ===================================================
   CONTACT PAGE – HEADER FIX
   =================================================== */

.page-kontakt .category-hero {
  text-align: left !important;
  padding-left: 16px;
  padding-right: 16px;
}

.page-kontakt .category-hero h1 {
  text-align: left !important;
  font-size: 26px;
  font-weight: 700;
}

.page-kontakt .category-hero p {
  text-align: left !important;
  max-width: 640px;
}


/* ===============================
   HEADER – CLEAN & STABLE
   =============================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Mobile safety */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

/* Main content offset */
main {
  padding-top: 72px;
}

