/* ==========================================================
   SYNKFOOD — Custom CSS
   Bootstrap 5 base | Josefin Sans + Lato
   ========================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --sf-black: #1a1a1a;
  --sf-dark: #1e1e1e;
  --sf-mid-gray: #4a4a4a;
  --sf-light-gray: #f4f4f4;
  --sf-white: #ffffff;
  --sf-accent-blue: #3d5a7c;
  --sf-card-bg: #e8e8e8;
  --sf-border: #cccccc;

  --sf-font-head: "Josefin Sans", sans-serif;
  --sf-font-body: "Lato", sans-serif;

  --sf-letter-wide: 0.18em;
  --sf-letter-nav: 0.12em;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sf-font-body);
  color: var(--sf-black);
  background-color: var(--sf-white);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================
   NAVBAR
   ========================================================== */
.sf-navbar {
  background-color: var(--sf-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 14px 0;
  z-index: 1000;
}

/* Logo */
.sf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sf-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--sf-black);
  color: var(--sf-white);
  font-family: var(--sf-font-head);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sf-logo-text {
  font-family: var(--sf-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--sf-black);
  text-transform: uppercase;
  border-left: 1.5px solid var(--sf-black);
  padding-left: 8px;
}

/* Nav links */
.sf-nav-link {
  font-family: var(--sf-font-head);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: var(--sf-letter-nav);
  text-transform: uppercase;
  color: var(--sf-black) !important;
  padding: 6px 16px !important;
  position: relative;
  transition: color 0.2s;
}

.sf-nav-link.active,
.sf-nav-link:hover {
  color: var(--sf-black) !important;
}

.sf-nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--sf-black);
  border-radius: 1px;
}

/* Nav Icons (bag, user, search) — using simple unicode shapes */
.sf-nav-icons {
  gap: 18px !important;
}

.sf-icon-link {
  color: var(--sf-black);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: opacity 0.2s;
}

.sf-icon-link:hover {
  opacity: 0.6;
}

/* Icon pseudo-elements */
.sf-icon {
  display: inline-block;
  font-style: normal;
}

.sf-icon-bag::before {
  content: "🛍";
  font-size: 17px;
}
.sf-icon-user::before {
  content: "👤";
  font-size: 17px;
}
.sf-icon-search::before {
  content: "🔍";
  font-size: 16px;
}

/* ==========================================================
   HERO / CAROUSEL
   ========================================================== */
.sf-hero {
  background-color: var(--sf-white);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.sf-hero .carousel,
.sf-hero .carousel-inner,
.sf-hero .carousel-item {
  height: 500px;
}

.sf-hero .carousel-item .container {
  height: 100%;
}

.sf-hero-text {
  padding: 40px 0 40px 20px;
}

.sf-hero-title {
  font-family: var(--sf-font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: var(--sf-letter-wide);
  text-transform: uppercase;
  color: var(--sf-black);
  line-height: 1.2;
}

.sf-hero-product-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
  transition: transform 0.6s ease;
}

.carousel-item.active .sf-hero-product-img {
  animation: heroFloat 0.8s ease forwards;
}

@keyframes heroFloat {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel controls */
.sf-carousel-btn {
  width: 40px;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}

.sf-carousel-btn.carousel-control-prev {
  left: 12px;
}
.sf-carousel-btn.carousel-control-next {
  right: 12px;
}

.sf-carousel-arrow {
  font-size: 38px;
  color: var(--sf-black);
  line-height: 1;
  font-weight: 200;
  font-family: var(--sf-font-head);
}

/* Indicators */
.sf-carousel-indicators {
  bottom: 16px;
}

.sf-carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sf-mid-gray);
  border: none;
  opacity: 0.4;
  margin: 0 4px;
}

.sf-carousel-indicators button.active {
  background-color: var(--sf-black);
  opacity: 1;
}

/* ==========================================================
   SOBRE NOSOTROS
   ========================================================== */
.sf-about {
  min-height: 440px;
  overflow: hidden;
}

.sf-about .row {
  min-height: 440px;
}

.sf-about-left {
  background-color: var(--sf-black);
  color: var(--sf-white);
  padding: 60px 70px;
}

.sf-about-title {
  font-family: var(--sf-font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: var(--sf-letter-wide);
  color: var(--sf-white);
  line-height: 1.1;
  text-transform: uppercase;
}

.sf-about-text {
  font-family: var(--sf-font-body);
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 420px;
}

.sf-about-right {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.sf-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.65);
}

.sf-about-overlay-logo {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 2;
}

.sf-overlay-logo-text {
  font-family: var(--sf-font-head);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sf-white);
  text-transform: uppercase;
  line-height: 1.1;
}

.sf-logo-d {
  color: var(--sf-white);
}

/* ==========================================================
   PRODUCTOS
   ========================================================== */
.sf-products {
  background-color: var(--sf-white);
  padding: 64px 0;
}

.sf-section-title {
  font-family: var(--sf-font-head);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sf-black);
}

/* Product card */
.sf-product-card {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.sf-product-card:hover {
  transform: translateY(-4px);
}

.sf-product-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  background: #d9d9d9;
}

.sf-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Featured (middle) card is slightly taller */
.sf-product-card--featured .sf-product-img-wrap {
  aspect-ratio: 1 / 1.15;
}

/* Icon overlay */
.sf-product-icon {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.sf-product-label {
  font-family: var(--sf-font-head);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-black);
  line-height: 1.5;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.sf-btn-primary {
  background-color: var(--sf-accent-blue);
  color: var(--sf-white);
  border: none;
  border-radius: 30px;
  font-family: var(--sf-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 30px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.sf-btn-primary:hover {
  background-color: #2e4560;
  color: var(--sf-white);
  transform: translateY(-1px);
}

.sf-btn-dark {
  background-color: var(--sf-black);
  color: var(--sf-white);
  border: none;
  border-radius: 30px;
  font-family: var(--sf-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 11px 34px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.sf-btn-dark:hover {
  background-color: #333;
  color: var(--sf-white);
  transform: translateY(-1px);
}

.sf-btn-outline-dark {
  background-color: transparent;
  color: var(--sf-black);
  border: 1.5px solid var(--sf-black);
  border-radius: 30px;
  font-family: var(--sf-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 11px 34px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

.sf-btn-outline-dark:hover {
  background-color: var(--sf-black);
  color: var(--sf-white);
  transform: translateY(-1px);
}

/* ==========================================================
   RECETAS
   ========================================================== */
.sf-recipes {
  background-color: var(--sf-light-gray);
  min-height: 400px;
  overflow: hidden;
}

.sf-recipes .row {
  min-height: 400px;
}

.sf-recipes-media {
  min-height: 400px;
  overflow: hidden;
  background: #c8c8c8;
}

.sf-recipes-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.8);
}

/* Play button */
.sf-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(4px);
}

.sf-play-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.06);
}

.sf-recipes-text {
  background-color: var(--sf-light-gray);
  padding: 50px 60px;
}

.sf-recipes-title {
  font-family: var(--sf-font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sf-black);
}

.sf-recipes-subtitle {
  font-family: var(--sf-font-head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sf-mid-gray);
  line-height: 1.9;
}

.sf-recipes-body {
  font-family: var(--sf-font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--sf-mid-gray);
  line-height: 1.7;
}

/* ==========================================================
   TESTIMONIOS
   ========================================================== */
.sf-testimonials {
  background-color: var(--sf-white);
  padding: 72px 0;
}

.sf-testimonial-card {
  background-color: var(--sf-card-bg);
  border-radius: 16px;
  padding: 48px 28px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.sf-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.sf-testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sf-white);
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sf-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-testimonial-text {
  font-family: var(--sf-font-body);
  font-size: 12.5px;
  font-weight: 400;
  font-style: italic;
  color: var(--sf-mid-gray);
  line-height: 1.6;
  margin-bottom: 14px;
}

.sf-testimonial-author {
  font-family: var(--sf-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sf-black);
  margin: 0;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.sf-footer {
  background-color: var(--sf-black);
  color: var(--sf-white);
  padding: 56px 0 28px;
}

.sf-footer-logo {
  margin-bottom: 20px;
}

.sf-footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--sf-white);
  color: var(--sf-black);
  font-family: var(--sf-font-head);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sf-footer-logo-text {
  font-family: var(--sf-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--sf-white);
  text-transform: uppercase;
  border-left: 1.5px solid var(--sf-white);
  padding-left: 8px;
}

.sf-footer-label {
  font-family: var(--sf-font-head);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.sf-footer-info {
  font-family: var(--sf-font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.sf-footer-heading {
  font-family: var(--sf-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sf-white);
  margin-bottom: 14px;
}

.sf-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-footer-list li {
  margin-bottom: 6px;
}

.sf-footer-list a {
  font-family: var(--sf-font-body);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.sf-footer-list a:hover {
  color: var(--sf-white);
}

/* Social icons */
.sf-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.sf-social-link:hover {
  opacity: 0.65;
}

/* Divider */
.sf-footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Bottom bar */
.sf-footer-bottom-link {
  font-family: var(--sf-font-head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.sf-footer-bottom-link:hover {
  color: var(--sf-white);
}

.sf-footer-copy {
  font-family: var(--sf-font-head);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 991.98px) {
  .sf-about-left {
    padding: 48px 40px;
  }
  .sf-about-right {
    min-height: 320px;
  }
  .sf-recipes-text {
    padding: 40px 40px;
  }
  .sf-hero .carousel,
  .sf-hero .carousel-inner,
  .sf-hero .carousel-item {
    height: 420px;
  }
}

@media (max-width: 767.98px) {
  .sf-about-left {
    padding: 40px 28px;
  }
  .sf-about-right {
    min-height: 260px;
  }
  .sf-about .row {
    min-height: unset;
  }
  .sf-hero .carousel,
  .sf-hero .carousel-inner,
  .sf-hero .carousel-item {
    height: auto;
    min-height: 340px;
  }
  .sf-hero-text {
    padding: 32px 16px 0;
    text-align: center;
  }
  .sf-hero-product-img {
    max-height: 260px;
    margin-top: 16px;
  }
  .sf-recipes-media {
    min-height: 260px;
  }
  .sf-recipes-text {
    padding: 32px 24px;
  }
  .sf-testimonial-card {
    margin-top: 36px;
  }
  .sf-footer {
    text-align: center;
  }
  .sf-social-icons {
    justify-content: center;
  }
  .sf-footer-logo {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .sf-about-title {
    font-size: 36px;
  }
  .sf-section-title {
    font-size: 12px;
  }
  .sf-hero-title {
    font-size: 28px;
  }
}
