/* ensure full-page background works */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Background: confirm the file name & path below.
   - If style.css and Griddy.jpg are in same folder, use "Griddy.jpg".
   - If image is in /images, use "images/Griddy.jpg".
   - Use the exact extension and letter case as the file on disk.
*/
body {

  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  /* avoid fixed on mobile if you had issues: use fixed only if you want the parallax effect */
  background-attachment: scroll;
  color: #333;
  line-height: 1.6;
}

/* Make big blocks transparent so Griddy shows through where you want it */
.hero-slide,
.page-title-wrapper,
.content-section {
  background: transparent !important;
}

/* Booking box readable but translucent to show the pattern */
.booking-container {
  background-color: rgba(255,255,255,0.85); /* tweak alpha to taste */
  backdrop-filter: blur(2px); /* optional nice touch */
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* If you want to force-test with a web image (debug) — uncomment to try */
/* body { background-image: url("https://via.placeholder.com/1920x1080.png?text=TEST+BG"); } */




/* --- Global Reset --- */
* { box-sizing: border-box; }

/* --- Global Styles & Typography --- */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0; /* desktop padding handled by layout; mobile adds padding via var */
 background: url("Griddy.jpeg") no-repeat center center fixed;
  background-size: cover;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  color: #222;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ===== Layout variables ===== */
:root {
  --header-height: 140px; /* desktop header height (2 rows) */
}

/* --- Header (Michelle style) --- */
.mp-header {
  background: white;
  padding: 20px 0 5px;
  border-bottom: 1px solid #e8e8e8;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* header above most elements */
}

/* Wrap logo + nav vertically (2 rows) */
.mp-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo / Title centered */
.mp-logo-wrapper {
  font-size: 14px;
  letter-spacing: 1px;
  padding-bottom: 10px;
}

.mp-logo-text {
  color: #c2a58b;
  font-weight: 500;
}

/* Menu aligned center */
.mp-nav-menu {
  display: flex;
  gap: 35px;
  margin-top: 5px;
}

.mp-nav-menu a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a7a7a;
  font-weight: 500;
}

.mp-nav-menu a:hover { color: #c2a58b; }

/* --- Title container (neutral) --- */
.page-title-wrapper {
  position: static;         /* no stacking context */
  margin-top: 0;            /* no lift tricks */
  padding-right: 0;
}

/* --- Title image: DESKTOP behavior (fixed top-right above header) --- */
img.page-title-logo[src$="titlev2.jpg"] {
  position: fixed;        /* pin to viewport */
  top: 5px;              /* adjust as desired */
  right: 28px;            /* adjust as desired */
  width: 350px;
  height: auto;
  z-index: 2001;          /* above header */
  pointer-events: none;   /* never blocks clicks on nav */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

/* --- Hero Section --- */
.hero-slide {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  margin-top: 0;          /* no compensation needed */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Buttons --- */
.btn {
  padding: 12px 25px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  transition: 0.3s;
  margin-top: 20px;
}

.primary-btn {
  background-color: #c2a58b;
  color: white;
  border: 2px solid #c2a58b;
}
.primary-btn:hover { background-color: #a9876e; border-color: #a9876e; }

.secondary-btn {
  background-color: transparent;
  color: #c2a58b;
  border: 2px solid #c2a58b;
}
.secondary-btn:hover { background-color: #c2a58b; color: white; }

/* --- Sections / Portfolio --- */
.content-section {
  padding: 80px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}
.portfolio-item:hover img { transform: scale(1.05); }

.overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 0;
  text-align: center;
  font-weight: 700;
  transform: translateY(100%);
  transition: 0.3s ease;
}
.portfolio-item:hover .overlay { transform: translateY(0); }

/* --- CTA & Footer --- */
.cta-section {
  background-color: #333;
  padding: 80px 20px;
  text-align: center;
  color: white;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: #aaa;
  font-size: 0.9rem;
}

/* =========================
   MOBILE FIXES (≤ 768px)
   ========================= */
@media (max-width: 768px) {
  :root {
    --header-height: 160px; /* taller header on mobile */
  }

  /* Start page content below the fixed header on mobile */
  body {
    padding-top: var(--header-height);
  }

  .mp-nav-menu {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  /* Title image on mobile: smaller and BELOW the header, never blocks taps */
  img.page-title-logo[src$="titlev2.jpg"] {
    position: fixed  !important;;
    top: calc(var(--header-height) - 155px); /* sits just under the white bar */
    right: 12px;
    width: min(55vw, 220px);
    height: auto;
    z-index: 2000;               /* below header, so nav is fully clickable */
    pointer-events: none;       /* just in case */
  }

  .hero-slide {
    height: 70vh; /* shorter hero for better first fold on mobile */
  }

  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 28px;
  }

  .content-section {
    padding: 40px 20px;
  }
}
