:root {
  --cream: #ffffff;           /* putih bersih profesional */
  --primary: #5F8B4C;          /* dark sage green */
  --primary-dark: #4A6F3A;     /* lebih gelap untuk hover */
  --charcoal: #2F4F4F;         /* dark slate (untuk teks) */
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 2rem 1.5rem;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #000000;              /* hitam */
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

/* Efek garis bawah saat hover atau active */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #5a6b7a;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-primary:active {
  transform: scale(0.97);
  background-color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn:not(.btn-primary) {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn:not(.btn-primary):hover {
  background-color: #25D366; /* hijau WA */
  border-color: #25D366;
  color: white;
}

.btn:not(.btn-primary):active {
  transform: scale(0.97);
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
}

.hero-image {
  flex: 1;
  height: 500px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);   /* tambahan shadow */
  transition: all 0.3s;
}

.hero-image:hover {
  animation: gentleShake 0.4s ease-in-out;
}

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

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-item h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ===== KATALOG ===== */
.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.section-sub {
  text-align: center;
  color: #5a6b7a;
  margin-bottom: 3rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.flower-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  position: relative;
}

.flower-card:hover {
  transform: translateY(-5px);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.flower-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 20px 20px 0 0;
}

.flower-card img:hover {
  transform: scale(1.05);
}

.card-info {
  padding: 1.5rem;
  text-align: center;
}

.flower-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.wa-order {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s, transform 0.2s;
}

.wa-order:hover {
  background-color: #128C7E;
}

.wa-order:active {
  transform: scale(0.95);
}

/* ===== FEATURES ===== */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--primary);
  border-radius: 50px;
  padding: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  color: var(--white);
}

.feature-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ===== KONTAK ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail i {
  width: 25px;
  color: var(--primary);
}

.hours-heading {
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.wa-click {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #25D366;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.wa-click:hover {
  background-color: #128C7E;
}

.wa-click:active {
  transform: scale(0.97);
}

/* Efek goyang lembut */
@keyframes gentleShake {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2px, 1px) rotate(0.5deg); }
  50% { transform: translate(-2px, -1px) rotate(-0.5deg); }
  75% { transform: translate(1px, -1px) rotate(0.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.map-container {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);   /* tambahan shadow default */
  transition: all 0.3s;
}

.map-container:hover {
  animation: gentleShake 0.4s ease-in-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* ===== FOOTER - Latief Florist Boyolali ===== */
.footer-new {
  background-color: #2C4A3C;  /* deep green */
  color: #ffffff;
  padding: 3rem 2rem 1rem;
  font-family: 'Poppins', sans-serif; /* fallback, ganti sesuai kebutuhan */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

/* Kolom umum */
.footer-col h4 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b8d9b0;  /* aksen terang */
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #b8d9b0;
}

.footer-logo {
  font-family: 'Playfair Display', serif;  /* font serif premium */
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.3;
}

.footer-logo span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #b8d9b0;
  font-family: sans-serif;
}

.footer-tagline {
  font-style: italic;
  margin: 0.8rem 0;
  color: #e0e0e0;
  font-size: 0.95rem;
  border-left: 3px solid #b8d9b0;
  padding-left: 0.75rem;
}

.footer-desc {
  color: #cccccc;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* List footer */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.6rem;
  color: #dddddd;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-list li i {
  width: 1.2rem;
  color: #b8d9b0;
  font-size: 1rem;
}

/* Link (jika ada) bisa ditambahkan */
.footer-list a {
  color: #dddddd;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}

.footer-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #b8d9b0;
  transition: width 0.3s ease;
}

.footer-list a:hover::after {
  width: 100%;
}

.footer-list a:hover {
  color: #b8d9b0;
}

/* Pembayaran */
.payment-icons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #dddddd;
  font-size: 1rem;
}

.payment-icons i {
  width: 1.5rem;
  color: #b8d9b0;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.social-links a {
  color: #ffffff;
  font-size: 1.3rem;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: #b8d9b0;
  color: #2C4A3C;
  transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3a6b5a;
  font-size: 0.9rem;
  color: #aaaaaa;
}

.footer-bottom i.fa-heart {
  color: #b8d9b0 !important;
  margin: 0 3px;
}

/* Responsive extra */
@media (max-width: 600px) {
  .footer-container {
    gap: 2rem;
  }
  .footer-col h4::after {
    width: 30px;
  }
}
/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s;
  z-index: 99;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float:active {
  transform: scale(0.95);
}

/* ===== MODAL LIGHTBOX ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  padding-top: 60px;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .btn-group {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    height: 300px;
    border-radius: 30px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .container {
    margin-bottom: 3rem;
  }
}
.flower-desc {
  font-size: 0.9rem;       /* Ukuran teks sedikit lebih kecil dari judul */
  color: #666;             /* Warna abu-abu agar tidak terlalu dominan */
  margin-bottom: 12px;     /* Memberi jarak ke tombol WA */
  line-height: 1.4;        /* Agar teks lebih enak dibaca */

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* Tambahkan baris ini (versi standar) */
  overflow: hidden;
}