
/* =========================
   BLOMMY DAYS - MAIN STYLE
========================= */

:root {
  --pink: #FADADA;
  --cream: #F5EDE8;
  --hero-pink: #F1A7B2;
  --rose-brown: #A66B59;
  --green: #116E5D;
  --white: #FFFFFF;
  --text: #3B3936;
  --soft-text: #82766F;

  --shadow: 0 10px 35px rgba(166, 107, 89, 0.10);
  --radius: 22px;
  --transition: 0.3s ease;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  width: 100%;
  height: 85px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 237, 232, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(166, 107, 89, 0.10);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 72px;
  height: 65px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-links a {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.call-link)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -7px;
  left: 0;
  background: var(--rose-brown);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--rose-brown);
}

.call-link {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 30px;
}

.call-link:hover {
  background: #0b5548;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 620px;
  padding: 75px 10%;
  background: var(--hero-pink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: #754c43;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(45px, 6vw, 78px);
  line-height: 1.15;
  font-weight: 600;
  color: #44271f;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--green);
  font-style: italic;
}

.hero-description {
  max-width: 400px;
  font-size: 17px;
  line-height: 2;
  color: #62473f;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  border-radius: 40px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
}

.hero-button:hover {
  background: #0b5548;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 110, 93, 0.18);
}

.hero-logo {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(91, 50, 39, 0.12);
  animation: floatLogo 5s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events: none;
}

.decoration-one {
  width: 380px;
  height: 380px;
  top: -140px;
  left: -100px;
}

.decoration-two {
  width: 230px;
  height: 230px;
  bottom: -100px;
  right: 30%;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   GENERAL SECTIONS
========================= */

.product-section,
.reviews-section {
  padding: 90px 8%;
}

.section-alt {
  background: #FADADA;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 55px;
}

.section-label {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--rose-brown);
  margin-bottom: 12px;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 15px;
}

.section-heading p {
  color: var(--soft-text);
  font-size: 16px;
  line-height: 1.9;
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Cards generated by JavaScript */

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(166, 107, 89, 0.16);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7e8e4;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1;
}

.product-info h3 {
  font-family: "Cairo", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.product-price {
  color: var(--rose-brown);
  font-weight: 800;
  font-size: 17px;
}

.product-order {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: 11px 16px;
  border-radius: 30px;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.product-order:hover {
  background: #0b5548;
  transform: translateY(-2px);
}

/* =========================
   CUSTOMER REVIEWS
========================= */

.reviews-section {
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 1050px;
  margin: 0 auto;
}

.reviews-viewport {
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  border-radius: 20px;
}

.reviews-track {
  display: flex;
  align-items: center;
  transition: transform 0.45s ease;
  will-change: transform;
}

.review-slide {
  min-width: 100%;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-slide img {
  max-width: 100%;
  width: auto;
  height: 430px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-arrow {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: none;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.review-arrow:hover {
  background: var(--rose-brown);
  transform: scale(1.08);
}

.review-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(166, 107, 89, 0.35);
  transition: var(--transition);
}

.review-dot.active {
  width: 27px;
  border-radius: 20px;
  background: var(--green);
}

/* =========================
   CONTACT
========================= */

.contact-section {
  background: var(--hero-pink);
  padding: 85px 8%;
  text-align: center;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream);
  padding: 10px;
  margin: 0 auto 25px;
}

.contact-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 46px);
  color: #44271f;
  margin-bottom: 20px;
}

.contact-content p {
  color: #62473f;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-button {
  min-width: 160px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  border-radius: 40px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
}

.contact-button:hover {
  transform: translateY(-3px);
  background: #0b5548;
  box-shadow: 0 8px 20px rgba(17, 110, 93, 0.15);
}

.instagram-button {
  background: var(--rose-brown);
}

.instagram-button:hover {
  background: #895746;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: var(--cream);
  padding: 30px 8%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.footer p {
  color: var(--rose-brown);
  font-family: "Playfair Display", serif;
  font-size: 15px;
}

.footer span {
  color: var(--soft-text);
  font-size: 13px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    gap: 17px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero {
    padding: 70px 7%;
  }

  .hero-logo {
    width: 290px;
    height: 290px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .product-section,
  .reviews-section {
    padding: 75px 6%;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

  html {
    scroll-padding-top: 75px;
  }

  .navbar {
    height: 72px;
    padding: 0 5%;
  }

  .brand img {
    width: 62px;
    height: 58px;
  }

  /* Mobile menu button */

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1002;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--rose-brown);
    border-radius: 5px;
    transition: var(--transition);
  }

  /* Mobile navigation */

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    width: 100%;
    padding: 25px 20px 30px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    box-shadow: 0 15px 25px rgba(80, 40, 30, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 17px;
  }

  .call-link {
    margin-top: 5px;
  }

  /* Hero */

  .hero {
    min-height: auto;
    padding: 60px 7% 70px;
    flex-direction: column-reverse;
    text-align: center;
    gap: 38px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-logo {
    width: 220px;
    height: 220px;
    padding: 22px;
  }

  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }

  .hero h1 {
    font-size: 43px;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 2;
    margin: 0 auto 25px;
  }

  .hero-button {
    padding: 12px 32px;
  }

  .decoration-one {
    width: 230px;
    height: 230px;
    top: -80px;
    left: -80px;
  }

  .decoration-two {
    width: 150px;
    height: 150px;
    bottom: -70px;
    right: -30px;
  }

  /* Sections */

  .product-section,
  .reviews-section {
    padding: 60px 5%;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-label {
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .section-heading p {
    font-size: 14px;
  }

  /* Products */

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .product-card {
    border-radius: 17px;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .product-info {
    padding: 13px 10px;
    gap: 8px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-price {
    font-size: 15px;
  }

  .product-order {
    padding: 10px 8px;
    font-size: 12px;
  }

  /* Reviews */

  .reviews-slider {
    gap: 8px;
  }

  .reviews-viewport {
    border-radius: 13px;
  }

  .review-slide {
    padding: 5px;
  }

  .review-slide img {
    height: auto;
    max-height: 390px;
    width: 100%;
    object-fit: contain;
    border-radius: 13px;
  }

  .review-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 19px;
  }

  .review-dots {
    margin-top: 18px;
    gap: 7px;
  }

  .review-dot {
    width: 8px;
    height: 8px;
  }

  .review-dot.active {
    width: 20px;
  }

  /* Contact */

  .contact-section {
    padding: 65px 6%;
  }

  .contact-logo {
    width: 95px;
    height: 95px;
  }

  .contact-content h2 {
    font-size: 32px;
  }

  .contact-content p {
    font-size: 14px;
  }

  .contact-links {
    gap: 12px;
  }

  .contact-button {
    min-width: 140px;
    padding: 12px 22px;
    font-size: 14px;
  }

  /* Footer */

  .footer {
    padding: 25px 5%;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-logo {
    width: 185px;
    height: 185px;
  }

  .product-grid {
    gap: 11px;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .product-order {
    font-size: 11px;
  }

  .review-arrow {
    width: 31px;
    height: 31px;
    min-width: 31px;
    font-size: 17px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* REVIEWS SLIDER FIX */

.reviews-viewport {
  direction: ltr;
}

.reviews-track {
  direction: ltr;
}

.review-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
}
