/* ============================================
   ANASAYFA STYLES - Figma Match
   ============================================ */

/* --- Sofia Pro Font --- */
@font-face {
  font-family: 'Sofia Pro';
  src: url('../assets/Sofia Pro Semi Bold Az.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Hero --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-gradient-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--color-text);
  padding-left: 100px;
  max-width: 700px;
}
.hero-title {
  font-family: 'Sofia Pro', 'Nunito', sans-serif;
  font-size: var(--fs-6xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xs);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease-out 0.3s forwards;
}

.hero-subtitle {
  font-family: 'Sofia Pro', 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease-out 0.5s forwards;
  letter-spacing: 0.5px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-cream);
  color: var(--color-text);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease-out 0.7s forwards;
}

.btn-primary:hover {
  background: #e8dfd7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}



@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Features Bar --- */
.features-bar {
  background: var(--color-bg-cream);
  padding: 50px 40px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform var(--transition-base);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.feature-item:hover .feature-icon {
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transform: scale(1.06);
}

.feature-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feature-icon img[alt="3 Taksit"] {
  transform: scale(1.35);
}

.feature-item span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* --- Healthy Start (Sağlıklı Başlangıç) --- */
.healthy-start {
  padding: var(--space-4xl) var(--space-3xl);
  background: var(--color-bg);
}

.healthy-start-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.healthy-start-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.healthy-start-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.healthy-start-image:hover img {
  transform: scale(1.03);
}

.healthy-start-text h2 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.hs-line {
  width: 80px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.healthy-start-text p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.hs-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hs-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-base);
}

.hs-feature:hover {
  transform: translateX(6px);
}

.hs-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #f0ebe5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.hs-feature:hover .hs-icon {
  background: #e8dfd7;
}

.hs-feature strong {
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.hs-feature span {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}

/* --- Charms Section --- */
.charms-section {
  padding: var(--space-4xl) var(--space-3xl);
  background: #ffffff;
}

.charms-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.charms-text h2 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.charms-line {
  width: 80px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.charms-text p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.charms-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.charms-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.charms-image:hover img {
  transform: scale(1.03);
}

/* --- Home Products (Slider) --- */
.home-products {
  padding: 70px 60px;
  background: var(--color-bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.section-line {
  width: 90px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
}

.home-products-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.home-products-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-products-grid::-webkit-scrollbar {
  display: none;
}

.home-products-grid .product-card {
  flex: 0 0 calc(33.333% - 19px);
  scroll-snap-align: start;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card.glass {
  background: #ffffff;
  border: 1px solid #f2ede7;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 260px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-info {
  padding: 16px 18px 20px;
}

.product-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  min-height: 40px;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* --- Bilgilendirme Section --- */
.bilgilendirme-section {
  padding: var(--space-4xl) var(--space-3xl);
  background: var(--color-bg);
  text-align: center;
}

.bilgilendirme-container {
  max-width: 800px;
  margin: 0 auto;
}

.bilgilendirme-container h2 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.bilgilendirme-line {
  width: 80px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 24px;
}

.bilgilendirme-container p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.bilgilendirme-image {
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px auto 0;
  box-shadow: var(--shadow-md);
}

.bilgilendirme-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { padding-left: 50px; }
  .hero-title { font-size: 44px; }
  .healthy-start { padding: 60px 30px; }
  .healthy-start-container { grid-template-columns: 1fr; gap: 30px; }
  .charms-section { padding: 60px 30px; }
  .charms-container { grid-template-columns: 1fr; gap: 30px; }
  .home-products-grid .product-card { flex: 0 0 calc(50% - 14px); }
  .home-products { padding: 50px 30px; }
  .bilgilendirme-section { padding: 60px 30px; }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    height: 100vh;
  }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 20px; }
  .hero-content { text-align: center; padding: 0 20px; margin: 0 auto; }
  .features-grid { gap: 30px; }
  .home-products-slider-container { padding: 0 10px; }
  .home-products-grid .product-card { flex: 0 0 82%; }
  .slider-arrow { display: none; }
  .section-header h2 { font-size: 24px; }
  .charms-container { grid-template-columns: 1fr; }
  .charms-image img { height: 280px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .features-grid { gap: 20px; }
  .feature-icon { width: 48px; height: 48px; }
  .home-products-grid .product-card { flex: 0 0 88%; }
}
