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

/* Font personalizat */
@font-face {
  font-family: "BLACKFRIDAY";
  src: url("fonts/BLACKFRIDAY.ttf") format("truetype");
}

/* Bază generală */
html, body {
  font-family: Arial, sans-serif;
  background-color: #FFFFFF;
  color: #333;
}

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

/* === HEADER === */
header.site-header {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

/* Logo */
.site-header .logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo img {
  height: 100px; /* 🔥 mai mare */
  width: auto;
  display: block;
  cursor: pointer;
}

/* NAV */
nav.main-nav {
  margin-left: auto;
}

nav.main-nav ul {
  list-style: none;
  font-family: "BLACKFRIDAY", sans-serif;
  display: flex;
  gap: 100px;
  align-items: center;
}

nav.main-nav ul li a {
  color: #C20000;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.1s ease;
}

nav.main-nav ul li a:hover,
nav.main-nav ul li a:focus {
  color: #8a0000;
  transform: translateY(-1px);
}

/* Buton hamburger */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #C20000;
  cursor: pointer;
  padding: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header.site-header {
    align-items: center;
    padding: 10px;
  }

  nav.main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: none;
    z-index: 9999;
  }

  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav.main-nav ul li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .hamburger-btn {
    display: inline-flex;
    align-items: center;
  }

  nav.main-nav.open {
    display: block;
    min-width: 160px;
  }
}

/* === HERO SECTION === */
.hero {
  background: url("images/background-hero.webp") center center / cover no-repeat;
  color: #FFFFFF; /* text alb peste imagine */
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;      /* centrare orizontală */
  justify-content: center;  /* centrare verticală */
  text-align: center;
  min-height: 90vh;         /* ocupă aproape tot ecranul */
  position: relative;
}

/* opțional — overlay semitransparent pentru lizibilitate */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* umbrește fundalul */
  z-index: 0;
}

/* asigură că textul e deasupra overlay-ului */
.hero h2,
.hero p,
.hero button {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-family: "BLACKFRIDAY", sans-serif;
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 25px;
  max-width: 600px;
}

button {
  font-size: 20px;
  background-color: #EB2700;
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-family: "BLACKFRIDAY", sans-serif;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #C02000;
}


/* === CAROUSEL === */
.carousel {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Carousel Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #EB2700;
  border: none;
  color: white;
  font-size: 2em;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.prev:hover,
.next:hover {
  background-color: #C02000;
}

.prev { left: 10px; }
.next { right: 10px; }

/* === PRODUCTS === */
.product-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
  width: fit-content;
  padding: 10px;
  text-align: center;
}

.product img {
  display: block;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.products h1 {
  font-family: "BLACKFRIDAY", sans-serif;
  font-size: 2.5em;
  color: black;        /* optional red accent */
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}

.product h3 {

  font-size: 1.5em;
  color: black;        /* optional red accent */
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
}


/* === FOOTER === */
footer {
  background-color: #333;
  color: white;
  padding: 30px 20px;
  margin-top: 40px;
  text-align: center;
  font-family: "BLACKFRIDAY", sans-serif;
}

/* Section Title */
.section-title {
  font-family: "BLACKFRIDAY", sans-serif;
  font-size: 3em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

/* Product Info Section */
.product-info-section {
  padding: 60px 20px; /* reduced from 150px to 20px for better responsiveness */
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.product-info {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Product Image - remove box/shadow */
.product-image img {
  width: 100%;
  max-width: 600px;   /* keeps image large on desktop */
  height: auto;       /* maintain aspect ratio */
  object-fit: cover;
  border-radius: 15px;
  display: block;
  margin: 0 auto;     /* centers the image */
}
/* Product Details - stylish, centered, narrower */
.product-details {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  flex: 0 0 400px; /* narrower box */
  font-family: "BLACKFRIDAY", sans-serif;
  text-align: center; /* center all text */
}

/* Product Name Styling */
.product-details .product-name {
  font-size: 3em;              
  color: #C20000;              
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

/* Paragraph Styling */
.product-details p {
  font-size: 1.3em;            
  margin-bottom: 12px;
  line-height: 1.6;
  color: #333;
}

/* Strong labels in red */
.product-details p strong {
  color: #EB2700;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .product-info {
    flex-direction: column; /* stack image above details */
    text-align: center;
    gap: 25px;
    padding: 20px;         /* shorter container height */
  }

  .product-image img {
    max-width: 500px;      /* large but fits mobile screens */
    height: auto;
  }

  .product-details {
    width: 90%;             /* narrower box */
    padding: 20px;
    flex: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin: 0 auto;         /* center the box */
  }

  .product-details .product-name {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .product-details p {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 8px;
  }
}