/* =========================================================
   Monmouth Florals — style.css (Clean + Organized)
   Notes:
   - Global styles first, then shared components, then page-specific sections,
     then responsive rules at the bottom.
   - Keep class names the same so your existing HTML continues to work.
========================================================= */


/* =========================================================
   01) DESIGN TOKENS (SITE-WIDE)
========================================================= */
:root{
  --bg: #fbfaf8;
  --paper: #ffffff;

  --ink: #1f1b1c;
  --muted: #6f6468;
  --line: #e9e3e6;

  --accent: #6b4e71;   /* plum */
  --accent2:#b08a96;   /* rose */

  --shadow: 0 14px 36px rgba(20,16,18,.10);
  --radius: 18px;
  --max: 1120px;
}


/* =========================================================
   02) BASE / RESET
========================================================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; font-size:17px;}
body{
    margin:0;
  font-family:"Lora", ui-serif, Georgia, "Times New Roman", serif;
  color:var(--ink);
  background:linear-gradient(180deg, #fff, var(--bg));
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
p{ margin: .4rem 0 0;  color:var(--muted);}
section{ padding: 14px 0; }
hr{ border: 0; border-top: 1px solid var(--line); margin: 18px 0; }


/* =========================================================
   03) TYPOGRAPHY HELPERS (SITE-WIDE)
========================================================= */
.container{ width: min(var(--max), 92%); margin-inline: auto; }

.small{ color:var(--muted);}
/*.vsmall{ font-size: 1.1rem;  color:var(--muted);}*/



.h1{
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 350;
  letter-spacing: .01em;
  margin: .25rem 0 0;
}
.h2{
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.35;
  font-weight: 350;
  margin: .3rem 0;
}
.h3{
  font-size: 1.05rem;
  font-weight: 350;
  margin: .2rem 0;
}

.quote{
  font-style: italic;
  font-size: 1.02rem;
}


/* =========================================================
   04) HEADER + BRAND (ALL PAGES)
========================================================= */
header{
  position: sticky;
  top: 0;
  z-index: 50;

  backdrop-filter: blur(10px);
  background: rgba(251,250,248,.72);
  border-bottom: 1px solid rgba(233,227,230,.9);
}

.header-row{
  position: relative; /* needed so mobile dropdown anchors correctly */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(107,78,113,.95), rgba(176,138,150,.95));
  box-shadow: 0 10px 26px rgba(107,78,113,.22);
  display: grid;
  place-items: center;
}
.brand-mark svg{ width: 22px; height: 22px; }

.brand-name{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name strong{
   font-size: 1.4rem;  
   font-weight: 450;
}


/* =========================================================
   05) NAVIGATION (DESKTOP + MOBILE)
========================================================= */

/* Desktop nav row */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a{
  text-decoration: none;
  color: var(--ink);

  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{ background: rgba(176,138,150,.16); }
.nav .btn{ margin-left: 6px; }

/* Accessibility helper */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Mobile toggle button (hidden on desktop, shown in @media below) */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(31,27,28,.18);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

/* hamburger bars */
.nav-toggle__bar{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* animate icon into X when menu is open */
body.nav-open .nav-toggle__bar:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle__bar:nth-child(2){
  opacity: 0;
}
body.nav-open .nav-toggle__bar:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   06) BUTTONS + BADGES (SHARED)
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(176,138,122,.28);
  background: linear-gradient(180deg, rgba(176,138,122,.18), rgba(176,138,122,.10));

  text-decoration: none;
  font-weight: 500;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn.outline{
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(31,27,28,.18);
  box-shadow: none;
}
.btn.outline:hover{ background: rgba(255,255,255,.55); }

.badge{
  display: inline-flex;
  gap: 8px;
  align-items: center;

  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,27,28,.10);
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-size: .9rem;
}

/* Used on full-width hero sections */
.btn-primary{
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(86, 15, 2, 0.28);
  background: linear-gradient(180deg, rgba(176,138,122,.18), rgba(176,138,122,.10));
  text-decoration: none;
  border-radius: 30px;
}
.btn-primary:hover{ transform: translateY(-1px); }


/* =========================================================
   07) LAYOUT SECTIONS (SHARED)
========================================================= */
.hero{ padding: 28px 0 12px; }

.hero-grid{
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(233,227,230,.95);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-points{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.point{ display: flex; gap: 10px; }
.point svg{ flex: 0 0 20px; margin-top: 2px; }

.panel{
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(233,227,230,.95);
  border-radius: var(--radius);
  padding: 26px;
 height:100%;
  box-shadow: var(--shadow);
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(233,227,230,.95);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(20,16,18,.08);
}

.card .icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(176,138,150,.18);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.card .icon svg{ width: 22px; height: 22px; }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.list{
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
}


/* =========================================================
   08) GALLERY (SHARED)
   Used on: Home + Rentals + other pages
========================================================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(233,227,230,.95);
  background: rgba(255,255,255,.65);
  box-shadow: 0 10px 22px rgba(20,16,18,.08);
  min-height: 160px;
}
.tile img{ width: 100%; height: 100%; object-fit: cover; }

/* Home gallery sizes (existing classes) */

.tile.t1{ grid-column: span 7; max-height: 280px; }
.tile.t2{ grid-column: span 4; }
.tile.t3,.tile.t4,.tile.t5{ grid-column: span 4; max-height: 300px; }

/* Proposal page: Large editorial gallery */
/* =========================================================
   15) PROPOSAL PACKAGES – CARD IMAGES
   Used on: proposal.html
========================================================= */

.package-image{
  width: 100%;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(233,227,230,.95);
  background: #fff;
}

.package-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery--large{
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery--large .tile{
  min-height: 220px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.gallery--large .tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20,16,18,.12);
}

.tile--lg{ grid-column: span 8; max-height: 520px; }
.tile--md{ grid-column: span 4; max-height: 520px; }
.tile--sm{ grid-column: span 4; max-height: 520px;}


/* =========================================================
   09) FORMS (CONTACT + ENQUIRY PAGES)
========================================================= */
.form{ display: grid; gap: 12px; margin-top: 14px; }

input, textarea, select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,27,28,.14);
  background: rgba(255,255,255,.78);
  font: inherit;

  
}

textarea{ min-height: 140px; resize: vertical; }


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


/* =========================================================
   10) FOOTER (ALL PAGES)
========================================================= */
footer{
  padding: 38px 0 50px;
  border-top: 1px solid rgba(233,227,230,.95);
  background: rgba(255,255,255,.48);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

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

.footer-links a{
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid rgba(46, 15, 23, 0.1);
  background: rgba(213, 134, 134, 0.55);
}
.footer-links a:hover{ color: var(--ink); }


/* =========================================================
   11) CALLOUT / NOTICE (SHARED)
========================================================= */
.notice{
  border-left: 3px solid rgba(107,78,113,.55);
  padding: 10px 14px;
  background: rgba(255,255,255,.55);
  border-radius: 14px;
  color: var(--muted);
}


/* =========================================================
   12) PAGE-SPECIFIC: FULL-WIDTH HERO IMAGE
   Used on: index.html
========================================================= */
.full-width-image {
  width: 100%;
  height: 75vh;
  background: url("../images/home/hero.jpeg") center center / cover no-repeat;
  position: relative;
}
#full-width-image_proposal
{
  background: url("../images/proposal/beach_white_heart.JPG") center center / cover no-repeat;
}
#full-width-image_flowerwall
{
  background: url("../images/silk_flower_wall/bluewall.jpg") center center / cover no-repeat;
}

#full-width-image_inquiry
{
  background: url("../images/silk_flower_wall/header_mainpage_original.png") center center / cover no-repeat;
}
.full-width-image .overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

/* content width alignment */
.full-width-image .content{
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
  width: 100%;
}

/* text panel */
.full-width-image .text-box{
  background: rgba(235, 222, 222, 0.6);
  padding: 20px 25px;
  max-width: 720px;
  border-radius: 14px;
}

/* left alignment */
.full-width-image .text-box.left{
  margin-left: 0;
  margin-right: auto;
}

/* text styles */
.full-width-image h2{
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 100;
}

.full-width-image .divider{
  display: block;
  width: 60px;
  height: 2px;
}

.full-width-image p{

  line-height: 1.6;
  margin-bottom: 25px;
}


/* =========================================================
   13) PAGE-SPECIFIC: TESTIMONIALS SLIDER (HOME)
========================================================= */
.testimonial-center{ text-align: center; }

.testimonial-wrapper{
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.testimonial-track{
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial{
  min-width: 100%;
  padding: 0 90px 0 90px;
  text-align: center;
}

.testimonial strong{
  display: block;
  margin-top: 10px;
  color: var(--accent);
}

.testimonial-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 18px;
}

.testimonial-btn.left{ left: 10px; }
.testimonial-btn.right{ right: 10px; }

.testimonial-btn:hover{
  background: var(--accent2);
  color: #fff;
}


/* =========================================================
   14) RESPONSIVE RULES
========================================================= */

/* --- Tablet + Mobile (primary breakpoint) --- */
@media (max-width: 920px){

  /* Global layout stacks */
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }

  /* Home gallery stack */
  .tile.t1,
  .tile.t2,
  .tile.t3,
  .tile.t4,
  .tile.t5{ grid-column: span 12; }

  /* Proposal large gallery stack */
  .tile--lg,
  .tile--md,
  .tile--sm{
    grid-column: span 12;
    min-height: 240px;
  }

  /* Mobile nav: show toggle and turn nav into dropdown panel */
  .nav-toggle{ display: inline-flex; }

  /* hide nav until opened */
  .nav{
    display: none;
    position: absolute;

    /* compact width dropdown aligned right */
    right: 0;
    left: auto;
    width: 170px;

    top: calc(100% + 8px);
    flex-direction: column;
    gap: 6px;

    padding: 12px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(233,227,230,.9);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(31,27,28,.12);
    z-index: 100;
  }

  body.nav-open .nav{ display: flex; }

  .nav a{ padding: 12px 14px; border-radius: 12px; }
  .nav .btn{
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  /* make header fully solid on mobile */
  header{
    background: var(--paper);
    backdrop-filter: none;
  }
}


/* --- Small mobile (hero panel improvements) --- */
@media (max-width: 768px){

  /* Full-width hero becomes content-first */
  .full-width-image{
    height: auto;
    padding: 60px 0;
  }

  .full-width-image .text-box{
    max-width: 100%;
    padding: 30px;
    border-radius: 16px;
  }

  .full-width-image h2{
    font-size: 22px;
    line-height: 1.15;
    font-weight: lighter;
  }

  .full-width-image p{
    font-size: 15px;
    margin-bottom: 14px;
  }

  /* Stack hero buttons */
  .full-width-image .btn-primary{
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}


/* =========================
   FOOTER – Minimal Luxury
========================= */
.site-footer{
  background:#faf9f7;
  border-top:1px solid rgba(0,0,0,.06);
  padding:48px 0 18px;
  margin-top:60px;
}

.site-footer .footer-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap:28px;
  align-items:start;
}

.footer-brand h3{
  margin:0 0 8px;
  font-size:24px;
  font-weight:500;
  letter-spacing:.02em;
}

.footer-brand p{
  margin:0;
  color:#777;
  font-size:14px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}

.footer-link{
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
  text-decoration:none;
  color:inherit;
  transition:opacity .25s ease;
}

.footer-link:hover{ opacity:.65; }

.footer-contact{
  text-align:right;
}

.footer-label{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#555;
}

.footer-text{
  margin:0;
  font-size:14px;
  color:#555;
}

.footer-text a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.14);
}

.footer-text a:hover{
  border-bottom-color: rgba(0,0,0,.35);
}

.footer-bottom{
  text-align:center;
  margin-top:28px;
  font-size:12px;
  color:#999;
  padding:12px 20px 0;
}

/* Footer mobile */
@media (max-width: 820px){
  .site-footer .footer-inner{
    grid-template-columns:1fr;
    text-align:center;
  }
  .footer-links{
    align-items:center;
  }
  .footer-contact{
    text-align:center;
  }
}

/* =========================
   ENQUIRY – Right-side contact card
========================= */
.enquiry-grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr;
  gap:22px;
  align-items:start;
}

.contact-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:18px 18px 16px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.contact-card h3{
  margin:0 0 10px;
  font-size:18px;
  font-weight:500;
}

.contact-card p{
  margin:0 0 10px;
  color:#555;
}

.contact-card a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.14);
}

.contact-card a:hover{
  border-bottom-color: rgba(0,0,0,.35);
}

@media (max-width: 900px){
  .enquiry-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   MOBILE HERO + HEADER FIX
   (Paste at bottom of style.css)
========================= */

/* Make header slimmer on mobile */
@media (max-width: 768px){
  .header-row{ padding: 10px 0; }
  .brand-name strong{ font-size: 1.15rem; }

  .nav-toggle{
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

/* Fix the top hero section on mobile */
@media (max-width: 768px){
  /* IMPORTANT: override your current "height:auto; padding:60px 0" */
  .full-width-image{
    height: 78vh;          /* gives real hero height again */
    min-height: 520px;     /* prevents tiny strip */
    padding: 0 !important; /* cancels the padding-based layout */
    background-position: center;
  }

  .full-width-image .overlay{
    align-items: flex-end;
    padding-bottom: 18px;
  }

  .full-width-image .content{
    margin: 0 auto 0;
    padding: 0 14px;
  }

  .full-width-image .text-box{
    max-width: 100%;
    padding: 18px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.72); /* cleaner on mobile */
    backdrop-filter: blur(6px);
  }

  .full-width-image h2{
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  /* Button looks nicer and doesn't stretch awkwardly */
  .full-width-image .btn-primary{
    display: inline-block;
    width: auto;
    padding: 12px 18px;
  }
}

.modal{ position:fixed; inset:0; display:none; z-index:9999; }
.modal.is-open{ display:block; }
.modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.modal__card{
  position:relative;
  width:min(520px,92%);
  margin:14vh auto 0;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(233,227,230,.95);
  border-radius:18px;
  padding:22px;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}

