/* ══════════════════════════════════════════════════════
   Muravsku Sodyba — Main Stylesheet
   ══════════════════════════════════════════════════════ */

/* ─── Custom properties ──────────────────────────────── */
:root {
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #74c69d;
  --green-pale: #d8f3dc;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Typography ─────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  color: var(--green-dark);
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

/* ─── Container ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-mid);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}
.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}
.btn-full {
  width: 100%;
}

/* ─── Section helpers ────────────────────────────────── */
.section {
  padding-block: 6rem;
}
.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-desc {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.6rem;
}

/* ─── Photo placeholder ──────────────────────────────── */
.photo-placeholder {
  background: linear-gradient(135deg, var(--green-pale) 0%, #b7e4c7 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%2374c69d' stroke-width='1'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E")
    center / 60px no-repeat;
  opacity: 0.4;
}
.photo-placeholder span {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.photo-tall {
  min-height: 420px;
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1rem;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(27, 67, 50, 0.97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  margin-right: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 400;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0d2818 0%, #1b4332 45%, #2d6a4f 100%);
  /* Replace below with: background-image: url('images/hero.jpg'); background-size: cover; background-position: center; */
  overflow: hidden;
}

/* Decorative circles */
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(116, 198, 157, 0.15);
  bottom: -200px;
  right: -150px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 8rem 5rem;
  max-width: 780px;
}
.hero-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 {
  margin-bottom: 1.25rem;
}
.about-text p {
  margin-bottom: 1rem;
}

.feature-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 0.5rem;
}
.feature-list li {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ═══════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-wide {
  grid-column: span 2;
}

/* ═══════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-featured {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: scale(1.04);
}
.pricing-featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.pricing-featured h3,
.pricing-featured .pricing-sub,
.pricing-featured .pricing-amount,
.pricing-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}
.pricing-featured .price {
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}
.pricing-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.pricing-card h3 {
  margin-bottom: 0.3rem;
}
.pricing-sub {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.price {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-dark);
}
.period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin-bottom: 1.75rem;
}
.pricing-features li {
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.pricing-featured .pricing-features li {
  border-color: rgba(255, 255, 255, 0.12);
}
.pricing-features li::before {
  content: "✓  ";
  color: var(--green-light);
  font-weight: 700;
}

.pricing-note {
  margin-top: 2.5rem;
  background: var(--green-pale);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--green-dark);
}
.pricing-note p {
  color: var(--green-dark);
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info > p {
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.contact-list a,
.contact-list span {
  color: var(--green-dark);
  font-weight: 400;
  transition: color var(--transition);
}
.contact-list a:hover {
  color: var(--green-mid);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}
.social-link:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Form ───────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.12);
}
textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}
.footer-copy {
  font-size: 0.82rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .photo-tall {
    min-height: 280px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .pricing-featured {
    transform: none;
  }
  .pricing-featured:hover {
    transform: translateY(-4px);
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-wide {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding-block: 4rem;
  }

  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.3rem;
  }
  .nav-toggle {
    z-index: 101;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-wide {
    grid-column: span 1;
  }
  .gallery-grid .gallery-item {
    min-height: 200px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
