/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #f39c12;
  --bg: #fdfaf7;
  --text: #2c2c2c;
  --muted: #777;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.brand-motto {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

nav a:hover { color: var(--primary); }

.lang-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background var(--transition), transform var(--transition);
}

.lang-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== HERO / SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 0;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: var(--white);
  text-align: center;
  pointer-events: none;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.92;
}

.cta-btn {
  pointer-events: all;
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 1.2rem; }
.next { right: 1.2rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== PRODUCTS ===== */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

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

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.product-info .badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
}

/* ===== ABOUT ===== */
.about-section {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding: 5rem 1.5rem;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 0 0 220px;
}

.about-img img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.about-text {
  flex: 1;
  min-width: 260px;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-text blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ===== CONTACT ===== */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e0d6d6;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer .footer-motto {
  color: var(--accent);
  font-style: italic;
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { gap: 1rem; }
  .about-inner { flex-direction: column; align-items: center; text-align: center; }
  .about-text blockquote { text-align: left; }
  .hero-overlay { padding: 2rem 1rem 4rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .product-card img { height: 200px; }
}
