/* ═══ Kwiaciarnia Róża ─ style.css ═══ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --rosegold: #B76E79;
  --rosegold-light: #E8C4C4;
  --rosegold-dark: #9B5B65;
  --rosegold-pale: #FDF2F0;
  --beige: #D4B896;
  --beige-light: #E8D5B7;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE3;
  --cream-darker: #EDE3D5;
  --warmtext: #3D2C2E;
  --warmtext-light: #6B5557;
  --warmtext-muted: #8A7274;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--warmtext);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background: rgba(183, 110, 121, 0.2);
  color: var(--warmtext);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--beige); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--rosegold); }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: background-color 500ms cubic-bezier(0.16,1,0.3,1),
              padding 500ms cubic-bezier(0.16,1,0.3,1),
              box-shadow 500ms cubic-bezier(0.16,1,0.3,1),
              backdrop-filter 500ms cubic-bezier(0.16,1,0.3,1);
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(183,110,121,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo {
  display: flex; align-items: center; gap: 8px;
}
.header-logo svg { transition: color 300ms ease, transform 300ms ease; }
.header-logo:hover svg { transform: rotate(12deg); }
.header-logo span {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 300ms ease;
}
.header:not(.scrolled) .header-logo svg { color: var(--white); }
.header:not(.scrolled) .header-logo span { color: var(--white); }
.header.scrolled .header-logo svg { color: var(--rosegold); }
.header.scrolled .header-logo span { color: var(--warmtext); }

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: color 300ms ease;
}
.header:not(.scrolled) .nav a { color: rgba(255,255,255,0.8); }
.header.scrolled .nav a { color: var(--warmtext-light); }
.nav a:hover { color: var(--rosegold); }

.mobile-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
  }
  .mobile-toggle svg { width: 24px; height: 24px; }
  .header:not(.scrolled) .mobile-toggle { color: var(--white); }
  .header.scrolled .mobile-toggle { color: var(--warmtext); }
  .mobile-menu.active {
    display: flex; flex-direction: column; gap: 16px;
    background: rgba(255,248,240,0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-top: 1px solid rgba(183,110,121,0.1);
  }
  .mobile-menu a {
    font-size: 0.875rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--warmtext-light); padding: 8px 0;
    transition: color 200ms ease;
  }
  .mobile-menu a:hover { color: var(--rosegold); }
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(61,44,46,0.50) 0%,
    rgba(61,44,46,0.20) 40%,
    #FFF8F0 100%);
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center; max-width: 720px;
  padding: 0 24px;
}
.hero-subtitle {
  color: var(--rosegold-light);
  font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em; margin-bottom: 16px;
  opacity: 0; transform: translateY(24px);
  animation: heroReveal 1s cubic-bezier(0.16,1,0.3,1) 0s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1.05; margin-bottom: 24px;
  opacity: 0; transform: translateY(24px);
  animation: heroReveal 1s cubic-bezier(0.16,1,0.3,1) 0.25s forwards;
}
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem; line-height: 1.7;
  max-width: 560px; margin: 0 auto 40px;
  opacity: 0; transform: translateY(24px);
  animation: heroReveal 1s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--rosegold); color: var(--white);
  padding: 16px 32px; border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: background-color 300ms ease;
  box-shadow: 0 8px 24px rgba(183,110,121,0.25);
  opacity: 0; transform: translateY(24px);
  animation: heroReveal 1s cubic-bezier(0.16,1,0.3,1) 0.75s forwards;
}
.hero-btn:hover { background: var(--rosegold-dark); }
.hero-btn svg { width: 16px; height: 16px; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); animation: bounce 2s infinite;
}
.hero-scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  display: flex; align-items: flex-start;
  justify-content: center; padding-top: 8px;
}
.hero-scroll-dot {
  width: 4px; height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 9999px;
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* ── Sections Base ── */
.section {
  padding: 96px 0;
}
@media (min-width: 768px) {
  .section { padding: 128px 0; }
}
.section--alt { background: var(--cream-dark); }
.section-label {
  color: var(--rosegold);
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em; margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--warmtext);
  line-height: 1.15;
}
.section-header {
  text-align: center; margin-bottom: 64px;
}

/* ── Fade-up Animation ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.in-view {
  opacity: 1; transform: translateY(0);
}

/* ── About ── */
.about-grid {
  display: grid; gap: 64px; align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  width: 100%; object-fit: cover;
  aspect-ratio: 4/5;
}
.about-deco-1 {
  position: absolute; bottom: -24px; right: -24px;
  width: 128px; height: 128px;
  background: rgba(183,110,121,0.1);
  border-radius: 16px; z-index: -1;
}
.about-deco-2 {
  position: absolute; top: -24px; left: -24px;
  width: 96px; height: 96px;
  background: rgba(212,184,150,0.3);
  border-radius: 16px; z-index: -1;
}
.about-text .section-label { margin-bottom: 12px; }
.about-text .section-title { margin-bottom: 24px; }
.about-text p {
  line-height: 1.7; margin-bottom: 24px;
}
.about-text p:first-of-type { color: var(--warmtext-light); }
.about-text p:last-of-type { color: var(--warmtext-muted); margin-bottom: 32px; }
.about-stats {
  display: flex; gap: 48px;
}
.about-stat-number {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 600;
  color: var(--rosegold);
}
.about-stat-label {
  font-size: 0.875rem; color: var(--warmtext-muted);
  margin-top: 4px;
}

/* ── Bouquets ── */
.bouquets-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
@media (min-width: 1024px) {
  .bouquets-grid { grid-template-columns: repeat(4, 1fr); }
}
.bouquet-card {
  background: var(--white);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.bouquet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(183,110,121,0.12);
}
.bouquet-img-wrap { overflow: hidden; aspect-ratio: 3/4; }
.bouquet-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms ease;
}
.bouquet-card:hover .bouquet-img-wrap img { transform: scale(1.1); }
.bouquet-info { padding: 24px; }
.bouquet-name {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--warmtext);
  margin-bottom: 8px;
}
.bouquet-desc {
  font-size: 0.875rem; color: var(--warmtext-muted);
  line-height: 1.6; margin-bottom: 16px;
}
.bouquet-footer {
  display: flex; align-items: center;
  justify-content: space-between;
}
.bouquet-price {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  color: var(--rosegold);
}
.bouquet-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(183,110,121,0.1);
  display: flex; align-items: center;
  justify-content: center;
  transition: background-color 300ms ease;
}
.bouquet-card:hover .bouquet-arrow { background: rgba(183,110,121,0.2); }
.bouquet-arrow svg { width: 16px; height: 16px; color: var(--rosegold); }

/* ── Occasions ── */
.occasions-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (min-width: 1024px) {
  .occasions-grid { grid-template-columns: repeat(3, 1fr); }
}
.occasion-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(183,110,121,0.1);
  border-radius: 16px; padding: 32px;
  text-align: center; cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.occasion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(183,110,121,0.12);
}
.occasion-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(183,110,121,0.1);
  display: flex; align-items: center;
  justify-content: center;
  transition: background-color 300ms ease;
}
.occasion-card:hover .occasion-icon { background: rgba(183,110,121,0.2); }
.occasion-icon svg { width: 24px; height: 24px; color: var(--rosegold); }
.occasion-name {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--warmtext);
  margin-bottom: 12px;
}
.occasion-desc {
  font-size: 0.875rem; color: var(--warmtext-muted);
  line-height: 1.6;
}

/* ── Testimonials ── */
.reviews-grid {
  display: grid; gap: 32px;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: var(--white);
  border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(183,110,121,0.12);
}
.review-quote {
  position: absolute; top: -12px; left: 32px;
  width: 32px; height: 32px;
  background: rgba(183,110,121,0.1);
  border-radius: 50%;
  display: flex; align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem; color: var(--rosegold);
}
.review-stars {
  display: flex; gap: 4px;
  margin-bottom: 16px; margin-top: 8px;
}
.review-stars svg {
  width: 16px; height: 16px;
  fill: var(--rosegold); color: var(--rosegold);
}
.review-text {
  font-size: 0.875rem; color: var(--warmtext-light);
  line-height: 1.7; margin-bottom: 24px;
  font-style: italic;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 500; color: var(--warmtext);
}

/* ── Contact ── */
.contact-grid {
  display: grid; gap: 64px;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(183,110,121,0.1);
  display: flex; align-items: center;
  justify-content: center; margin-top: 2px;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--rosegold); }
.contact-info-label {
  font-size: 0.875rem; font-weight: 500;
  color: var(--warmtext);
}
.contact-info-value {
  font-size: 0.875rem; color: var(--warmtext-muted);
}

.contact-form {
  background: var(--white);
  border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 0.875rem;
  font-weight: 500; color: var(--warmtext);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212,184,150,0.4);
  background: rgba(255,248,240,0.5);
  font-family: var(--font-body);
  font-size: 0.875rem; color: var(--warmtext);
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138,114,116,0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(183,110,121,0.5);
  box-shadow: 0 0 0 3px rgba(183,110,121,0.1);
}
.form-group textarea { resize: none; min-height: 120px; }
.form-submit {
  width: 100%;
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  background: var(--rosegold); color: var(--white);
  padding: 14px; border-radius: 12px;
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: background-color 300ms ease;
  box-shadow: 0 4px 16px rgba(183,110,121,0.2);
}
.form-submit:hover { background: var(--rosegold-dark); }
.form-submit svg { width: 16px; height: 16px; }
.form-success {
  text-align: center; font-size: 0.875rem;
  color: var(--rosegold); margin-top: 16px;
  display: none;
}
.form-success.visible { display: block; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Footer ── */
.footer {
  background: var(--warmtext);
  color: rgba(255,255,255,0.7);
  padding: 64px 0;
}
.footer-grid {
  display: grid; gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 24px; height: 24px; color: var(--rosegold-light); }
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--white);
}
.footer-desc { font-size: 0.875rem; line-height: 1.6; }
.footer-heading {
  font-family: var(--font-display);
  color: var(--white); font-size: 1.125rem;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.875rem;
  transition: color 300ms ease;
}
.footer-links a:hover { color: var(--rosegold-light); }
.footer-contact p {
  font-size: 0.875rem; margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { font-size: 0.875rem; }
.footer-top-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center;
  justify-content: center;
  transition: background-color 300ms ease;
  color: rgba(255,255,255,0.7);
}
.footer-top-btn:hover { background: rgba(255,255,255,0.1); }
.footer-top-btn svg { width: 20px; height: 20px; }
