/* ==========================================================================
   VIJENCI ZA SPROVODE — style.css
   Bloom Event Design j.d.o.o.
   ========================================================================== */

:root{
  --black: #17151b;
  --ink: #201d24;
  --white: #faf8f6;
  --paper: #f4f1ee;
  --purple-deepest: #3a2446;
  --purple-deep: #4a2e58;
  --purple: #6b4c7a;
  --purple-light: #9c7fae;
  --purple-mist: #ece5f0;
  --grey: #6d6a71;
  --grey-light: #a7a3ab;
  --line: rgba(23,21,27,0.1);
  --line-light: rgba(250,248,246,0.16);

  --font: 'EB Garamond', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-s: .25s;
  --dur-m: .5s;
  --dur-l: .9s;

  --container: 1180px;
  --header-h: 84px;
}

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

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body{
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--font);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; font-weight: 500; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-align: center; }
h3{ font-size: 1.35rem; }
h4{ font-size: 1.1rem; }

p{ margin: 0 0 1.1em; color: var(--ink); }

em{ font-style: italic; color: var(--purple-deep); }

::selection{ background: var(--purple-light); color: var(--white); }

:focus-visible{
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow{ max-width: 760px; }

.section{ padding: 96px 0; }
.section h2{ margin-bottom: .5em; }
.section-lead{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--grey);
  font-size: 1.1rem;
}

.eyebrow-quiet{
  font-family: var(--font);
  font-style: italic;
  color: var(--purple-light);
  font-size: 1.05rem;
  margin-bottom: 1.2em;
  letter-spacing: .02em;
}

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.9em;
  font-family: var(--font);
  font-size: 1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  text-align: center;
}
.btn:active{ transform: translateY(1px); }

.btn--accent{
  background: var(--purple-deep);
  color: var(--white);
  border-color: var(--purple-deep);
}
.btn--accent:hover{
  background: var(--purple-deepest);
  border-color: var(--purple-deepest);
}

.btn--outline-light{
  background: transparent;
  color: var(--white);
  border-color: var(--line-light);
}
.btn--outline-light:hover{
  background: rgba(250,248,246,0.1);
  border-color: var(--white);
}

.btn--ghost-dark{
  background: transparent;
  color: var(--white);
  border-color: rgba(250,248,246,0.3);
}
.btn--ghost-dark:hover{ background: rgba(250,248,246,0.12); }

.btn--whatsapp-inline{
  background: transparent;
  color: var(--purple-deep);
  border-color: var(--purple-deep);
  margin: 1.4rem 0 2rem;
}
.btn--whatsapp-inline:hover{
  background: var(--purple-deep);
  color: var(--white);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner{
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--purple);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: translateY(140%);
  opacity: 0;
  transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease);
}
.cookie-banner.is-visible{ transform: translateY(0); opacity: 1; }
.cookie-banner__text p{ margin: 0; font-size: .92rem; color: var(--grey-light); }
.cookie-banner__text a{ color: var(--purple-light); text-decoration: underline; }
.cookie-banner__actions{ display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn{ padding: .6em 1.3em; font-size: .92rem; }

/* ==========================================================================
   SCROLL PROGRESS RIBBON
   ========================================================================== */
.ribbon-track{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: rgba(23,21,27,0.08);
  z-index: 500;
}
.ribbon-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-light));
  transition: width .08s linear;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: fixed;
  top: 4px;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(250,248,246,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.site-header.is-hidden{ transform: translateY(-110%); }
.site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(23,21,27,.06); }

.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: 1.28rem;
  color: var(--black);
  white-space: nowrap;
}
.brand__mark{ color: var(--purple); font-size: 1rem; }

.nav-desktop ul{
  list-style: none;
  display: flex;
  gap: 2.1rem;
  margin: 0;
  padding: 0;
}
.nav-desktop a{
  position: relative;
  font-size: 1rem;
  color: var(--ink);
  padding: 4px 0;
}
.nav-desktop a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--purple);
  transition: right var(--dur-s) var(--ease);
}
.nav-desktop a:hover::after{ right: 0; }

.nav-cta{ flex-shrink: 0; }

.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span{
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--black);
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   SIDE MENU (mobile)
   ========================================================================== */
.side-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(23,21,27,.5);
  z-index: 350;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-m) var(--ease), visibility var(--dur-m);
}
.side-menu-overlay.is-open{ opacity: 1; visibility: visible; }

.side-menu{
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(84vw, 360px);
  background: var(--black);
  color: var(--white);
  z-index: 400;
  padding: 90px 36px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-m) var(--ease);
}
.side-menu.is-open{ transform: translateX(0); }

.side-menu__close{
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}
.side-menu nav ul{
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.side-menu nav a{
  font-size: 1.4rem;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.side-menu nav a:hover{ color: var(--purple-light); border-color: var(--purple-light); }

.side-menu__phone{
  font-size: 1.2rem;
  color: var(--purple-light);
  margin-bottom: 1.4rem;
}
.side-menu__cta{ margin-top: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,21,27,.55), rgba(23,21,27,.82)),
    url('https://images.unsplash.com/photo-1508615039623-a25605d2b022?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
  z-index: -2;
}
.hero__bg::after{
  content:'';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(107,76,122,.35), transparent 55%);
}
.hero__content{
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.hero h1{ color: var(--white); }
.hero h1 em{ color: var(--purple-light); font-style: italic; }
.hero__lead{
  font-size: 1.2rem;
  color: rgba(250,248,246,.86);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero__actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 1.6rem;
}
.hero__note{
  font-size: .95rem;
  color: rgba(250,248,246,.65);
  font-style: italic;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro{ background: var(--paper); text-align: center; }
.intro h2{ margin-bottom: .8em; }
.intro p{ font-size: 1.12rem; color: var(--ink); }

/* ==========================================================================
   SYMBOLISM
   ========================================================================== */
.symbol-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 3rem 0 4rem;
}
.symbol-card{
  text-align: center;
  padding: 2.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.symbol-card:hover{
  transform: translateY(-6px);
  border-color: var(--purple-light);
  box-shadow: 0 20px 40px rgba(74,46,88,.08);
}
.symbol-card__icon{
  display: inline-block;
  color: var(--purple);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.symbol-card p{ color: var(--grey); font-size: .98rem; margin: 0; }

.flower-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flower-card{
  background: var(--purple-mist);
  padding: 1.8rem 1.4rem;
  border-radius: 4px;
  border-left: 3px solid var(--purple);
  transition: background var(--dur-s) var(--ease);
}
.flower-card:hover{ background: #e4d9ea; }
.flower-card h4{ color: var(--purple-deep); margin-bottom: .4em; }
.flower-card p{ color: var(--grey); font-size: .93rem; margin: 0; }

/* ==========================================================================
   GUIDE
   ========================================================================== */
.guide{ background: var(--white); }
.guide h3{ color: var(--purple-deep); margin-top: 1.8em; }
.guide h3:first-of-type{ margin-top: 0; }

/* ==========================================================================
   CATALOG
   ========================================================================== */
.catalog{ background: var(--paper); }

.catalog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 32px;
}
.product-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.product-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(23,21,27,.1);
}
.product-card__img{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--purple-mist);
}
.product-card__img img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-card__img img{ transform: scale(1.06); }

.product-card__body{
  padding: 1.5rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__type{
  color: var(--purple);
  font-style: italic;
  font-size: .92rem;
  margin-bottom: .6em;
}
.product-card__body p{ font-size: .96rem; }
.product-card__size{
  color: var(--grey);
  font-size: .88rem;
  margin-top: -.4em;
}
.product-card__cta{ margin-top: auto; width: 100%; }

.catalog-note{
  margin-top: 4rem;
  padding: 2.4rem;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
}
.catalog-note h3{ color: var(--purple-light); }
.catalog-note p{ color: rgba(250,248,246,.82); margin: 0; }

/* ==========================================================================
   DELIVERY
   ========================================================================== */
.delivery{ background: var(--white); }
.delivery-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.delivery-item h3{ color: var(--purple-deep); }
.delivery-item p{ color: var(--grey); }

/* ==========================================================================
   AREAS (local seo)
   ========================================================================== */
.areas{ background: var(--paper); }
.tag-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}
.tag-list li{
  padding: .5em 1.1em;
  border: 1px solid var(--purple-light);
  color: var(--purple-deep);
  border-radius: 30px;
  font-size: .95rem;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.tag-list li:hover{ background: var(--purple-deep); color: var(--white); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ background: var(--white); }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list{
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.contact-list li{
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.contact-list__label{
  font-size: .8rem;
  text-transform: none;
  color: var(--grey-light);
  font-style: italic;
}
.contact-list a:hover{ color: var(--purple); }

.map-wrap{
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-form{
  background: var(--paper);
  padding: 2.2rem;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.form-row{ margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.form-row label{ font-size: .92rem; color: var(--grey); }
.form-row input, .form-row textarea{
  font-family: var(--font);
  font-size: 1rem;
  padding: .75em .9em;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,76,122,.15);
  outline: none;
}
.form-note{ font-size: .85rem; color: var(--grey-light); margin-top: 1rem; margin-bottom: 0; }

/* Honeypot - sakriveno od korisnika, vidljivo botovima */
.form-row--hp{
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.form-status{
  margin-top: 1rem;
  font-size: .92rem;
  min-height: 1.2em;
  transition: opacity var(--dur-s) var(--ease);
}
.form-status:empty{ margin-top: 0; }
.form-status.is-success{ color: var(--purple-deep); }
.form-status.is-error{ color: #9c3b3b; }

.btn[disabled]{
  opacity: .6;
  cursor: not-allowed;
}

/* ==========================================================================
   LEGAL
   ========================================================================== */
.legal{ background: var(--paper); }
.legal p{ color: var(--grey); font-size: .98rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--black);
  color: rgba(250,248,246,.72);
  padding: 72px 0 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.brand--footer{ color: var(--white); margin-bottom: .8rem; font-size: 1.2rem; }
.footer-col h4{ color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-col p{ color: rgba(250,248,246,.65); font-size: .93rem; }
.footer-col a:hover{ color: var(--purple-light); }
.footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a{ font-size: .93rem; color: rgba(250,248,246,.72); }
.footer-bottom{
  text-align: center;
  padding: 28px 0;
  font-size: .85rem;
  color: rgba(250,248,246,.45);
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating{
  position: fixed;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 10px 26px rgba(23,21,27,.25);
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.floating:hover{ transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(23,21,27,.3); }

.floating--whatsapp{
  bottom: 96px;
  background: #25d366;
  color: var(--white);
}
.floating--top{
  bottom: 24px;
  background: var(--purple-deep);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.floating--top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   ORDER MODAL
   ========================================================================== */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(23,21,27,.6);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-m) var(--ease), visibility var(--dur-m);
}
.modal-overlay.is-open{ opacity: 1; visibility: visible; }

.modal{
  background: var(--white);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  padding: 2.4rem;
  position: relative;
  transform: translateY(24px) scale(.98);
  transition: transform var(--dur-m) var(--ease);
}
.modal-overlay.is-open .modal{ transform: translateY(0) scale(1); }

.modal__close{
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--grey);
}
.modal h3{ margin-bottom: .3em; }
.modal__product{ color: var(--purple); font-style: italic; margin-bottom: 1.4rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px){
  .nav-desktop, .nav-cta{ display: none; }
  .hamburger{ display: flex; }
  .symbol-grid{ grid-template-columns: 1fr; }
  .flower-grid{ grid-template-columns: repeat(2, 1fr); }
  .delivery-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  body{ font-size: 16.5px; }
  .section{ padding: 64px 0; }
  .hero{ min-height: 86vh; }
  .flower-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cookie-banner{ flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__actions{ justify-content: flex-end; }
  .floating{ width: 48px; height: 48px; right: 16px; }
  .floating--whatsapp{ bottom: 84px; }
  .floating--top{ bottom: 16px; }
}
