/* ========================================
   Słodka Przystań – Marble & Soft Rose
   Elegant, feminine, confectionery
======================================== */

:root {
  --cream: #FBF7F3;
  --ivory: #F8F1EB;
  --blush: #F5E6E0;
  --rose: #E8C4BC;
  --rose-deep: #C9958C;
  --rose-gold: #C9A88A;
  --marble: #EDE6E0;
  --marble-dark: #D9CFC6;
  --text: #4A3F38;
  --text-soft: #7A6B60;
  --white: #FFFCFA;
  --border: rgba(201, 168, 138, 0.25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Josefin Sans', sans-serif;
  --font-script: 'Great Vibes', cursive;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(251, 247, 243, 0.95);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 24px rgba(74, 63, 56, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo-sub {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--rose-deep);
  margin-top: -2px;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav a:hover {
  color: var(--rose-deep);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 18px;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.menu-toggle span:first-child { top: 3px; }
.menu-toggle span:last-child { bottom: 3px; }

.menu-toggle.active span:first-child {
  top: 8px;
  transform: rotate(45deg);
}
.menu-toggle.active span:last-child {
  bottom: 8px;
  transform: rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F5E6E0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(251, 247, 243, 0.55) 0%,
    rgba(251, 247, 243, 0.7) 40%,
    rgba(251, 247, 243, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--rose-deep);
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--rose-deep);
  color: var(--white);
  border: 1px solid var(--rose-deep);
}

.btn-primary:hover {
  background: transparent;
  color: var(--rose-deep);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rose-gold);
}

.btn-outline:hover {
  background: var(--rose-gold);
  color: var(--white);
  border-color: var(--rose-gold);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--rose-deep), transparent);
}

/* ========== Hero photos strip ========== */
.hero-photos {
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.hero-photos-track {
  display: flex;
  gap: 12px;
  padding: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hero-photos-track::-webkit-scrollbar {
  height: 4px;
}

.hero-photos-track::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 2px;
}

.hero-photo {
  flex: 0 0 280px;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-photo:hover img {
  transform: scale(1.05);
}

/* ========== About ========== */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 14px;
  font-weight: 400;
}

.about h2,
.section-header h2,
.orders h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 480px;
}

.about-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.feature-icon {
  color: var(--rose-deep);
  font-size: 1.1rem;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(74, 63, 56, 0.12);
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ========== Gallery ========== */
.gallery {
  padding: 120px 0;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--marble);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(74, 63, 56, 0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Menu ========== */
.menu {
  padding: 120px 0;
  background: var(--ivory);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.tab {
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}

.tab:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}

.tab.active {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: var(--white);
}

.menu-panel {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease;
}

.menu-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-list {
  list-style: none;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
}

.menu-list li span:last-child {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--rose-deep);
  font-weight: 500;
  white-space: nowrap;
  margin-left: 24px;
}

.menu-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-soft);
}

/* ========== Orders ========== */
.orders {
  padding: 120px 0;
  background: linear-gradient(160deg, #F5E6E0 0%, #EDE6E0 50%, #E8C4BC 100%);
  position: relative;
}

.orders-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.orders-content p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.orders-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 40px;
}

.orders-list li {
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.orders-list li::before {
  content: '♡';
  position: absolute;
  left: 0;
  color: var(--rose-deep);
  font-size: 0.75rem;
}

.orders-contact {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--ivory);
  padding: 48px 40px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--text);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:last-child {
  color: var(--text);
  font-weight: 400;
}

.address {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  font-size: 0.95rem;
  color: var(--rose-deep);
}

.contact-links a:hover {
  color: var(--text);
}

/* ========== Footer ========== */
.footer {
  padding: 56px 0;
  background: var(--text);
  color: var(--cream);
  text-align: center;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand .logo-main {
  color: var(--cream);
  font-size: 1.4rem;
}

.footer-brand .logo-sub {
  color: var(--rose);
  display: block;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--marble-dark);
  margin-top: 8px;
}

.footer-tagline {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--rose);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--marble-dark);
  letter-spacing: 0.05em;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-wrap img {
    height: 360px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
    transition: right var(--transition);
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 90vh;
  }

  .about, .gallery, .menu, .orders, .contact {
    padding: 80px 0;
  }

  .menu-tabs {
    gap: 6px;
  }

  .tab {
    padding: 9px 16px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .hero-photo {
    flex: 0 0 200px;
    height: 150px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .contact-card {
    padding: 36px 28px;
  }
}
