/* ===============================================================
   Krishna Florist — landing page
   =============================================================== */
:root {
  --cream: #fbf6f0;
  --paper: #ffffff;
  --blush: #f6e2e7;
  --plum: #3a2230; /* headings / dark text */
  --body: #574a52; /* body text */
  --rose: #c64c78;
  --rose-dk: #a5385f;
  --green: #3f6b4c;
  --gold: #c99a4e;
  --line: #ecdfe4;
  --sh-sm: 0 6px 20px rgba(58, 34, 48, 0.1);
  --sh-md: 0 18px 44px rgba(58, 34, 48, 0.16);
  --sh-lg: 0 34px 80px rgba(58, 34, 48, 0.22);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, Arial, sans-serif;
  --r: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--plum);
  font-weight: 700;
  line-height: 1.15;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
section {
  scroll-margin-top: 80px;
}

.wrap {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-dk);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 12px 26px rgba(198, 76, 120, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--rose-dk);
  box-shadow: 0 18px 34px rgba(198, 76, 120, 0.42);
}
.btn-outline {
  border-color: currentColor;
  color: var(--plum);
}
.btn-outline:hover {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}
.hero .btn-outline {
  color: #fff;
}
.hero .btn-outline:hover {
  background: #fff;
  color: var(--plum);
  border-color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  transition: all 0.35s ease;
}
.site-header.scrolled {
  background: rgba(251, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 5%;
  box-shadow: var(--sh-sm);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  height: 100%;
  width: auto;
  border-radius: 8px;
}
.brand-txt b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--plum);
  display: block;
  line-height: 1.1;
}
.brand-txt i {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
}
.site-header:not(.scrolled) .brand b {
  color: #fff;
}
.site-header:not(.scrolled) .brand i {
  color: rgba(255, 255, 255, 0.85);
}

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--plum);
  position: relative;
  padding: 4px 0;
}
.site-header:not(.scrolled) .nav a {
  color: #fff;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 95;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--plum);
  transition: 0.3s;
}
.site-header:not(.scrolled) .nav-toggle span {
  background: #fff;
}
.site-header.menu-open .nav-toggle span {
  background: var(--plum);
}
.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 9px;
}
.nav-toggle span:nth-child(3) {
  top: 18px;
}
.site-header.menu-open .nav-toggle span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .nav-toggle span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(45, 20, 33, 0.86) 0%,
    rgba(45, 20, 33, 0.55) 50%,
    rgba(45, 20, 33, 0.3) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 140px 0 90px;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  color: #fff;
  margin: 22px 0 20px;
}
.hero h1 em {
  font-style: italic;
  color: #f3b9cd;
}
.hero p {
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(70px, 10vw, 130px) 0;
}
.section.paper {
  background: var(--paper);
}
.section.blush {
  background: var(--blush);
}
.section.green {
  background: var(--green);
}
.section.green h2,
.section.green h3 {
  color: #fff;
}
.section.green .eyebrow {
  color: #f3b9cd;
}
.section.green .eyebrow::before {
  background: #f3b9cd;
}

.head {
  max-width: 640px;
  margin-bottom: 60px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head.center .eyebrow {
  display: inline-flex;
}
.head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-top: 16px;
}
.head p {
  margin-top: 14px;
  font-size: 1.05rem;
}
.section.green .head p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}
.about-pics {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
}
.about-pics .p1 {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--sh-md);
}
.about-pics .p2 {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 46%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid var(--paper);
  box-shadow: var(--sh-lg);
}
.about-copy p {
  margin-top: 18px;
}
.stats {
  display: flex;
  gap: 44px;
  margin: 34px 0 32px;
  flex-wrap: wrap;
}
.stats b {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--rose-dk);
  display: block;
  line-height: 1;
}
.stats span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service {
  background: var(--paper);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-md);
}
.service figure {
  overflow: hidden;
}
.service .body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-actions {
  margin-top: auto;
  padding-top: 18px;
}
.service figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service:hover figure img {
  transform: scale(1.07);
}
.service .body {
  padding: 26px 26px 30px;
}
.service .no {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-dk);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.service h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.service p {
  font-size: 0.95rem;
}
.service-actions {
  display: flex;
  gap: 10px;
}
.mini {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1.5px solid var(--rose);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.mini-solid {
  background: var(--rose);
  color: #fff;
}
.mini-solid:hover {
  background: var(--rose-dk);
  border-color: var(--rose-dk);
}
.mini-line {
  color: var(--rose-dk);
}
.mini-line:hover {
  background: var(--rose);
  color: #fff;
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 4;
  column-gap: 18px;
}
.gallery a {
  position: relative;
  display: block;
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.gallery img {
  width: 100%;
  transition: transform 0.6s ease;
}
.gallery a::after {
  content: "View";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(58, 34, 48, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery a:hover img {
  transform: scale(1.06);
}
.gallery a:hover::after {
  opacity: 1;
}
.gallery-video {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: #000;
  line-height: 0;
}
.gallery-video video {
  width: 100%;
  display: block;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(34px, 6vw, 72px);
}
.contact-list {
  list-style: none;
}
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-list .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.contact-list span.k {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f3b9cd;
  display: block;
  margin-bottom: 2px;
}
.contact-list a,
.contact-list p {
  color: #fff;
  text-decoration: none;
  font-size: 1.06rem;
}
.contact-list a:hover {
  color: #f3b9cd;
}
.contact-map {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 6px solid var(--paper);
  min-height: 380px;
  background: var(--paper);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 368px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  text-align: center;
}
.site-footer .brand {
  justify-content: center;
  margin-bottom: 16px;
}
.site-footer .brand b {
  color: #fff;
}
.site-footer .brand i {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer a {
  color: #f3b9cd;
  text-decoration: none;
}
.site-footer .fine {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}
.fab:hover {
  transform: translateY(-4px) scale(1.05);
}
.fab-wa {
  background: #25d366;
}
.fab-call {
  background: var(--rose);
  animation: fab-pulse 2s infinite;
}
@keyframes fab-pulse {
  0% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(198, 76, 120, 0.5);
  }
  70% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.28),
      0 0 0 16px rgba(198, 76, 120, 0);
  }
  100% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(198, 76, 120, 0);
  }
}
@media (max-width: 640px) {
  .float-actions {
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }
  .fab {
    width: 52px;
    height: 52px;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 16, 25, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--sh-lg);
}
.lightbox .x {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery {
    columns: 3;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-pics {
    max-width: 320px;
  }
  .about-pics .p2 {
    right: -10px;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .section.green .contact-list a,
  .section.green .contact-list p {
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 76%;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 110px 34px;
    background: var(--cream);
    box-shadow: var(--sh-lg);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 90;
  }
  .nav.open {
    transform: none;
  }
  .site-header .nav a,
  .site-header:not(.scrolled) .nav a {
    color: var(--plum);
    font-size: 1.05rem;
  }
  .nav-toggle {
    display: block;
  }
  .gallery {
    columns: 2;
    column-gap: 12px;
  }
  .gallery a {
    margin-bottom: 12px;
  }
  .services {
    grid-template-columns: 1fr;
  }
}
