/* ==========================================================================
   FONTS
   ========================================================================== */

@font-face {
  font-family: 'Main';
  src: url('fonts/Rosemartin.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Other';
  src: url('fonts/Hyde-Regular.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Signature';
  src: url('fonts/Days%20of%20Charity.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --beige: #F5F0E6;
  --brown: #201a17;
  --burgundy: #7C1F2C;
  --cream: #fffaf4;

  --header-bg: var(--cream);
  --header-border: rgba(0, 0, 0, .06);
  --brand-color: var(--burgundy);
  --menu-text-color: var(--brown);
  --menu-active-color: var(--burgundy);
}


/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--beige);
  color: var(--brown);
  font-family: 'Other', system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 53px;
}

main {
  flex: 1;
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1 {
  font-size: 2.5rem;
  letter-spacing: .3px;
  color: var(--brown);
  margin: 0 0 12px;
}

h2 {
  font-size: 2rem;
  color: var(--brown);
  font-family: 'Main', serif;
  margin: 0 0 12px;
}

h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin: 0 0 12px;
}

h4 {
  color: var(--brown);
  margin: 0 0 12px;
}

.signature {
  font-family: 'Signature', cursive;
  font-size: 3.8rem !important;
  color: var(--burgundy);
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.2;
}

a {
  color: var(--brown);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

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

.section {
  background: linear-gradient(180deg, var(--beige), rgba(245, 240, 230, 0.95));
}

.section.alt {
  background: var(--cream);
}

.section .container {
  padding: 40px 24px;
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--header-border);
  background: rgba(255, 250, 244, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.brand {
  letter-spacing: .5px;
}

.brand a {
  color: var(--brand-color);
  font-family: 'Main', serif;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
}

.menu a.active,
.mobile-menu a.active {
  color: var(--menu-active-color);
}

.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--menu-text-color);
}

.mobile-menu {
  display: none;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
  grid-template-areas:
    "text image"
    "buttons image";
}

.hero-text {
  grid-area: text;
}

.hero .placeholder {
  grid-area: image;
}

.hero .cta-row {
  grid-area: buttons;
  margin-top: 10px;
  align-self: end;
}

.hero h1 {
  font-size: 60px;
  font-family: 'Main', serif;
  line-height: 1.1;
}

.hero p,
.hero-p {
  font-size: 1.2rem;
  max-width: 55ch;
}


/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
  align-items: start;
  grid-template-columns: 1fr 1.2fr;
}

.about-grid .about-title {
  display: none;
}

.about-text h1 {
  display: block;
}


/* ==========================================================================
   COMPONENTS: BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--burgundy), #8a1e30);
  color: #fff;
  border-radius: 18px;
  padding: 12px 20px;
  transition: .2s transform ease, .2s opacity ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: .95;
  text-decoration: none;
}

.btn-brown {
  background: linear-gradient(135deg, var(--brown), #2a221f);
}

.btn-booking {
  background: linear-gradient(135deg, #18411a, #1e4920);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}


/* ==========================================================================
   COMPONENTS: GRIDS
   ========================================================================== */

.grid {
  display: grid;
  gap: 40px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ==========================================================================
   COMPONENTS: CARDS
   ========================================================================== */

.card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .03);
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  background: rgba(124, 31, 44, .12);
  color: var(--burgundy);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 17px;
  margin-bottom: 12px;
}


/* ==========================================================================
   COMPONENTS: LISTS
   ========================================================================== */

.list {
  padding-left: 0;
  margin: 10px 0 0;
  flex-grow: 0;
}

.pricing-list {
  min-height: 200px;
}

.list li {
  list-style: none;
  margin: 8px 0;
  padding-left: 28px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--burgundy);
  opacity: .9;
}

.list-secondary {
  padding-left: 0;
  margin: 10px 0 0;
}

.list-secondary li {
  list-style: none;
  margin: 8px 0;
  padding-left: 28px;
  position: relative;
}

.list-secondary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--burgundy);
  font-weight: bold;
}

.links-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.link-pill {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  transition: .2s background ease;
}

.link-pill:hover {
  background: rgba(124, 31, 44, .06);
  text-decoration: none;
}


/* ==========================================================================
   COMPONENTS: QUOTES
   ========================================================================== */

.quote {
  font-style: normal;
  background: linear-gradient(135deg, #fff 0%, #fffbf7 100%);
  border-left: 4px solid var(--burgundy);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(124, 31, 44, 0.08);
  position: relative;
}

.quote::before {
  content: '';
  display: none;
}

.quote-author {
  display: block;
  font-style: normal;
  margin-top: 12px;
  color: var(--burgundy);
  font-weight: 500;
}

.quote-role {
  font-size: 0.9rem;
  color: #6b5f57;
  font-weight: normal;
}


/* ==========================================================================
   COMPONENTS: TESTIMONIALS
   ========================================================================== */

.testimonials-section .grid.two > div:first-child {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonials-section .card .btn {
  margin-top: auto;
}

.testimonials-grid {
  column-count:2;
  column-gap: 22px;
  margin-top: 12px;
}

.testimonials-grid .quote {
  margin: 0 0 22px 0;
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}


/* ==========================================================================
   COMPONENTS: IMAGES
   ========================================================================== */

.placeholder {
  width: 100%;
  aspect-ratio: 6 / 7;
  background: url('pic/Anastasia_12052025_0181_compressed.webp') center/cover;
  border-radius: 18px;
}

.avatar-placeholder {
  width: 100%;
  border-radius: 20px;
  background: url('pic/5408913248457192601_121_compressed.webp') center/cover;
}

.full-width-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.help-image {
  width: 100%;
  height: 690px;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  object-position: top;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 0px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: var(--cream);
  color: #6b5f57;
  font-size: .9rem;
  margin-top: auto;
}

.footer .container {
  padding: 8px 24px;
}

.footer .links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ==========================================================================
   STICKY BOOKING BUTTON
   ========================================================================== */

.sticky-booking-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #18411a, #1e4920);
  color: #fff;
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.sticky-booking-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
  text-decoration: none;
}


/* ==========================================================================
   BOOKING MODAL
   ========================================================================== */

.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.booking-modal.active {
  display: block;
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 26, 23, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.booking-modal-content {
  position: relative;
  background: var(--cream);
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--brown);
  cursor: pointer;
  line-height: 1;
  padding: 5px 10px;
  transition: color 0.2s;
}

.booking-modal-close:hover {
  color: var(--burgundy);
}

.booking-modal h2 {
  margin-bottom: 24px;
  color: var(--burgundy);
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--brown);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  font-family: 'Other', sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}

.form-group select:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
  border-radius: 18px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Other', sans-serif;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--brown);
  color: #fff;
}

.booking-success {
  text-align: center;
  padding: 20px 0;
}

.booking-success h3 {
  color: var(--burgundy);
  margin-bottom: 16px;
}

.booking-success p {
  margin-bottom: 24px;
  line-height: 1.6;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.notice {
  font-size: .9rem;
  color: #6b5f57;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/* Desktop styles for about grid */
@media (min-width: 769px) {
  .section:first-of-type {
    min-height: calc(100vh - 53px);
    padding: 0 !important;
    display: flex;
    align-items: center;
  }

  .section:first-of-type .container {
    padding: 40px 24px !important;
  }

  .about-grid .avatar-placeholder {
    height: 100%;
  }
}

/* Mobile & Tablet styles */
@media (max-width: 768px) {

  /* Section */
  .section:first-of-type {
    height: auto;
    padding: 0;
  }

  /* Hero section */
  .hero-section .container {
    padding-top: 30px !important;
  }

  /* Avatar */
  .avatar-placeholder {
    aspect-ratio: 2 / 3;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Help image */
  .help-image {
    display: none;
  }

  /* Testimonials */
  .testimonials-section .container {
    padding: 40px 24px !important;
    max-width: 100% !important;
  }

  .testimonials-card {
    max-width: 500px !important;
    margin: 0 auto !important;
  }

  .testimonials-grid {
    column-count: 1;
  }

  .signature {
    font-size: 3rem !important;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-areas:
      "text"
      "image"
      "buttons";
  }

  .hero .placeholder {
    max-height: 800px;
    background-position: center 20%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  /* Grids */
  .grid.two {
    grid-template-columns: 1fr;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-grid .about-title {
    display: block;
    order: -2;
    text-align: center !important;
    margin-bottom: 0;
  }

  .about-grid .about-title-desktop {
    display: none;
  }

  .about-grid .avatar-placeholder {
    order: -1;
  }

  .about-grid .about-text {
    order: 0;
  }

  /* Cards */
  .card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Navigation */
  .menu {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
  }

  .mobile-menu.open {
    max-height: 300px;
    padding: 0px 24px 8px;
  }

  .mobile-menu a {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  .footer .links {
    order: -1;
    justify-content: center;
  }

  /* Booking Modal */
  .booking-modal-content {
    margin: 20px;
    padding: 30px 20px;
    max-height: calc(100vh - 40px);
  }

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

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions button {
    width: 100%;
  }
}
