/* ===== El İşi Hamur İşi - style.css ===== */

:root {
  --cream: #fdf6ec;
  --cream-dark: #f7ebd9;
  --brown: #5c3d2e;
  --brown-light: #8a6552;
  --orange: #e07b39;
  --orange-dark: #c9662a;
  --green-wa: #25d366;
  --green-wa-dark: #1ebe5b;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(92, 61, 46, 0.12);
  --radius: 16px;
  --font-body: 'Nunito', sans-serif;
  --font-display: 'Caveat', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brown);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text em {
  font-style: normal;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(224, 123, 57, 0.14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(138, 101, 82, 0.12), transparent 50%),
    var(--cream);
  overflow: hidden;
}

.hero-content {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title span {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.2em;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--brown-light);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 24px;
  font-weight: 700;
  color: var(--brown-light);
  font-size: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--green-wa-dark);
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(224, 123, 57, 0.35);
}

.btn-call:hover {
  background: var(--orange-dark);
}

.btn-outline {
  border: 2px solid var(--brown);
  color: var(--brown);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--cream);
}

.btn-card {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.92rem;
}

.btn-card:hover {
  background: var(--orange-dark);
}

.btn-lg {
  font-size: 1.15rem;
  padding: 18px 36px;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 54px;
}

.section-tagline {
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--brown-light);
  font-size: 1.05rem;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(92, 61, 46, 0.18);
}

.product-img {
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.product-body p {
  color: var(--brown-light);
  font-size: 0.95rem;
  flex: 1;
}

.product-body .btn {
  align-self: flex-start;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-text .section-title {
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--brown-light);
}

.about-text .btn {
  margin-top: 8px;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature p {
  color: var(--brown-light);
  font-size: 0.93rem;
}

/* ===== Contact ===== */
.section-contact {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224, 123, 57, 0.12), transparent 60%),
    var(--cream-dark);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.contact-info p {
  margin-bottom: 6px;
  color: var(--brown-light);
}

.contact-info a {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 44px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-logo em {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.6rem;
}

.footer-copy {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 58px;
  height: 58px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, background 0.25s;
  animation: pulse 2.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--green-wa-dark);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Fade-in animation ===== */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.open {
    max-height: 320px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .nav-link {
    display: block;
    padding: 13px 24px;
    border-bottom: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }
}
