/* Dogal Bahce - Organik Gida Magazasi */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #2D6A4F;
  --green-l:    #52B788;
  --green-pale: #D8F3DC;
  --cream:      #FEFAE0;
  --brown:      #6B4226;
  --gray:       #6B7280;
  --dark:       #1A2332;
  --white:      #FFFFFF;
  --font:       'DM Sans', system-ui, sans-serif;
  --r:          10px;
  --r-lg:       18px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #E5E7EB;
  padding: 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-size: 1.2rem; font-weight: 800; color: var(--green); text-decoration: none; flex-shrink: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--gray); font-size: 0.9rem; font-weight: 500; padding: 7px 14px; border-radius: 8px; transition: all 0.2s; }
.nav a:hover { color: var(--dark); background: var(--green-pale); }
.cart-btn { display: flex; align-items: center; gap: 6px; background: var(--green); color: white; border: none; border-radius: 20px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.cart-btn:hover { background: var(--green-l); }
.cart-count { background: white; color: var(--green); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; }
.nav-toggle { display: none; background: none; border: 1px solid #E5E7EB; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 1rem; }

/* HERO */
.hero { background: linear-gradient(160deg, #F0FFF4 0%, #FEFAE0 100%); padding: 72px 0 0; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-pale); color: var(--green); font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 18px; border: 1px solid rgba(82,183,136,0.3); }
.hero-text h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; color: var(--dark); line-height: 1.1; margin-bottom: 16px; letter-spacing: -1px; }
.hero-text p { font-size: 1.05rem; color: var(--gray); line-height: 1.75; margin-bottom: 28px; max-width: 420px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* Hero cards */
.hero-cards { display: flex; flex-direction: column; gap: 12px; }
.hero-card { background: white; border-radius: var(--r-lg); padding: 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #F3F4F6; animation: floatCard 4s ease-in-out infinite; }
.hero-card--mid { animation-delay: 1.5s; }
.hero-card img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.hero-card strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.hero-card span { font-size: 0.85rem; color: var(--green); font-weight: 700; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* CATEGORIES */
.categories { background: #F9F6F0; padding: 28px 0; border-bottom: 1px solid #E5E7EB; }
.cat-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cat-btn { padding: 8px 20px; border-radius: 20px; border: 1.5px solid #E5E7EB; background: white; color: var(--gray); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--font); }
.cat-btn:hover, .cat-btn.active { background: var(--green); color: white; border-color: var(--green); }

/* PRODUCTS */
.products { padding: 72px 0; background: #F9F6F0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.section-header p { font-size: 1rem; color: var(--gray); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: white; border-radius: var(--r-lg); overflow: hidden; border: 1px solid #F3F4F6; transition: all 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.product-img-wrap { position: relative; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--green); color: white; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.product-info { padding: 16px; }
.product-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.product-desc { font-size: 0.82rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--green); }

/* ABOUT */
.about { padding: 72px 0; background: white; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); background: var(--green-pale); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 14px; }
.about-text p { font-size: 0.97rem; color: var(--gray); line-height: 1.75; margin-bottom: 12px; }
.about-stats { display: flex; gap: 28px; margin-top: 24px; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green); }
.stat span { font-size: 0.78rem; color: var(--gray); font-weight: 500; }

/* CONTACT */
.contact { padding: 72px 0; background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { font-size: 1.3rem; width: 44px; height: 44px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-item p { font-size: 0.85rem; color: var(--gray); }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { padding: 12px 16px; border: 1.5px solid #E5E7EB; border-radius: var(--r); font-family: var(--font); font-size: 0.9rem; color: var(--dark); background: white; outline: none; resize: vertical; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-l); }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: var(--green-l); font-size: 1.1rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 10px; line-height: 1.65; }
.footer-links h4, .footer-social h4 { font-size: 0.78rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-l); }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.social-links a:hover { color: var(--green-l); }
.footer-bottom { padding: 18px 24px; text-align: center; font-size: 0.78rem; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; background: var(--green); color: white; border: none; border-radius: 30px; font-family: var(--font); font-size: 0.95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.22s; box-shadow: 0 6px 20px rgba(45,106,79,0.3); }
.btn-primary:hover { background: var(--green-l); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; background: transparent; color: var(--dark); border: 1.5px solid #E5E7EB; border-radius: 30px; font-family: var(--font); font-size: 0.95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.22s; }
.btn-outline:hover { border-color: var(--green-l); color: var(--green); }
.btn-add { background: var(--green); color: white; border: none; border-radius: 20px; padding: 8px 16px; font-size: 0.82rem; font-weight: 700; cursor: pointer; font-family: var(--font); transition: all 0.2s; }
.btn-add:hover { background: var(--green-l); transform: scale(1.05); }
.btn-checkout { width: 100%; padding: 12px; background: var(--green); color: white; border: none; border-radius: 10px; font-family: var(--font); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-checkout:hover { background: var(--green-l); }

/* CART */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 380px; height: 100vh; background: white; z-index: 201; box-shadow: -8px 0 40px rgba(0,0,0,0.12); display: flex; flex-direction: column; transition: right 0.35s cubic-bezier(0.25,0.46,0.45,0.94); }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #F3F4F6; }
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--gray); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; color: var(--gray); padding: 40px 0; font-size: 0.95rem; }
.cart-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #F9FAFB; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; }
.cart-item-price { font-size: 0.9rem; color: var(--green); font-weight: 700; }
.cart-item-remove { background: none; border: none; color: #EF4444; cursor: pointer; font-size: 1rem; }
.cart-footer { padding: 20px 24px; border-top: 1px solid #F3F4F6; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }

/* TOAST */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px); background: var(--dark); color: white; padding: 11px 22px; border-radius: 30px; font-size: 0.85rem; font-weight: 500; opacity: 0; transition: all 0.3s; z-index: 300; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: white; padding: 16px 20px; border-bottom: 1px solid #E5E7EB; z-index: 99; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; right: -100%; }
}
