/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f5f6f5; /* Fallback color */
  min-height: 100vh;
}

.page-wrapper {
  min-height: 100vh;
  width: 100%;
  /* background-image set inline in front-page.php */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Container to handle the left-side content */
.content-overlay {
  width: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
}

/* Logo */
.logo-section {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.logo {
  /* Logo is cropped to the artwork with a transparent background;
     size/margins match the original 250px-wide padded image. */
  display: block;
  max-width: 138px;
  height: auto;
  margin: 14px auto 23px;
  background: transparent;
}

/* Typography */
.text-section {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

/* Logo Text Styles */
.logo-text {
  text-align: center;
  margin-top: -1rem;
}

.logo-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #033642; /* Dark Teal */
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.1;
}

.logo-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d7a3c;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin: 0.5rem 0;
}

.logo-subtitle .line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: #5d7a3c;
  margin: 0 12px;
}

.logo-motto {
  font-size: 0.75rem;
  color: #033642;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.motto-part {
  text-align: center;
  display: inline-block;
  line-height: 1.3;
}

.mobile-break {
  display: none;
}

.text-leaf {
  color: #5d7a3c;
  font-size: 0.8rem;
}

.logo-location {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d7a3c;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.logo-location .line {
  display: inline-block;
  width: 150px;
  height: 1px;
  background-color: #5d7a3c;
  margin: 0 10px;
}

.title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: #033642; /* Dark Teal */
  font-weight: 700;
  margin-bottom: -0.5rem;
  margin-top: -1rem;
  letter-spacing: -1px;
}

.coming-soon-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0.5rem 0 1rem; */
}

.coming-soon-divider .line {
  flex-grow: 1;
  height: 2px;
  background-color: #5d7a3c;
  max-width: 230px;
}

.coming-soon-divider .text-leaf-divider {
  color: #5d7a3c;
  font-size: 0.9rem;
  margin: 0 15px;
}

.subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #5d7a3c; /* Olive Green */
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.info-block {
  display: flex;
  align-items: center;
  text-align: left;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.info-icon {
  width: 45px;
  height: 45px;
  border: 1px solid #5d7a3c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5d7a3c;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.95rem;
  color: #444;
  padding-left: 1.5rem;
  border-left: 1px solid #ccc;
}

.strong-text {
  font-weight: 700;
  color: #000;
  margin-bottom: 0.2rem;
}

/* Contact Block */
.contact-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: #033642;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.1rem;
  margin-right: 1rem;
}

.contact-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #033642;
}

.contact-link {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Below 1000px: single column, full width */
@media (max-width: 999px) {
  .mobile-break {
    display: block;
  }

  .logo-motto {
    gap: 0.8rem;
  }

  .motto-part {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .info-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    padding-left: 0;
  }

  .info-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .logo {
    max-width: 99px;
    margin: 10px auto 16px;
  }

  .logo-location .line {
    width: 80px;
  }
}

/* 1000px and above: two-side layout, 60-40 split */
@media (min-width: 1000px) {
  .content-overlay {
    width: 60%;
    padding: 2rem 4%;
    background: rgba(255, 255, 255, 0.85);
  }
}

/* Large desktop: remove overlay background */
@media (min-width: 1200px) {
  .content-overlay {
    background: transparent;
    padding: 2rem 5%;
  }
}

/* Badge Container */
.badge-container {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0.5rem 1rem;
}

.badge-text {
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 1px;
  margin-right: 0.5rem;
}

.badge-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
}


/* ==========================================================================
   Responsive refinements (Hostinger build)
   - Photo is anchored bottom-right so the door and "Serving Maryland" badge
     stay in view at every desktop size instead of being cropped.
   - Phones/tablets get the photo as a banner under the content.
   - Type and logo scale with the screen on large monitors.
   ========================================================================== */

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.page-wrapper {
  background-image: var(--bn-bg);
  background-position: right bottom;
}

.logo {
  max-width: 8.6rem;            /* was 138px; now scales with root size */
  margin: 0.9rem auto 1.4rem;
}

.title {
  line-height: 1.1;
  margin-top: 0.6rem;           /* was -1rem: overlapped "MARYLAND" */
  margin-bottom: 0.25rem;
}

.coming-soon-divider {
  margin-bottom: 0.5rem;
}

.subtitle {
  line-height: 1.3;
}

.contact-link {
  overflow-wrap: anywhere;
}

/* ---------- Phones & tablets (< 1000px): content, then photo banner ---------- */
@media (max-width: 999px) {
  .page-wrapper {
    flex-direction: column;
    background-image: none;
    background-color: #fff;
  }

  .content-overlay {
    background: #fff;
    padding: 2.5rem 1.25rem 2rem;
    flex: 1 0 auto;
  }

  .page-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: clamp(240px, 62vw, 520px);
    background-image: var(--bn-bg);
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    /* soft fade from the white content into the photo */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }

  .logo {
    max-width: 7rem;
    margin: 0 auto 1rem;
  }

  .logo-subtitle {
    font-size: clamp(0.85rem, 3.6vw, 1.1rem);
    letter-spacing: clamp(2px, 0.8vw, 4px);
    white-space: nowrap;
  }

  .logo-subtitle .line {
    width: clamp(16px, 6vw, 40px);
    margin: 0 8px;
  }

  .info-text {
    border-left: none;
    padding-left: 0;
  }

  .contact-block {
    margin-top: 1.25rem;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .logo-title {
    letter-spacing: 4px;
  }
  .logo-location .line {
    width: 50px;
  }
}

/* ---------- Desktop (>= 1000px): scale everything with the screen ---------- */
@media (min-width: 1000px) {
  html {
    font-size: clamp(15px, 0.6vw + 7.5px, 21px);
  }

  .content-overlay {
    width: 58%;
  }

  .logo-section,
  .text-section {
    max-width: 38rem;
  }

  .logo-subtitle .line {
    width: 2.5rem;
  }

  .logo-location .line {
    width: 9rem;
  }

  .coming-soon-divider .line {
    max-width: 14rem;
  }
}

/* Very wide screens: keep content in the white area of the photo */
@media (min-width: 1600px) {
  .content-overlay {
    width: 52%;
  }
}

/* Contact block is a single non-clickable, non-selectable image */
.contact-img {
  display: block;
  width: 14.92rem;               /* 238.75px at 16px: same size as the original text */
  max-width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}

.contact-block {
  -webkit-user-select: none;
          user-select: none;
}
