/* ===== Brand palette ===== */
:root{
  --deep-green: #3F4A3C;
  --gold:       #FFCC33;
  --hover-blue: #0F3D75;
  --brand-size: clamp(15px, 1.6vw, 21px);
  --nav-size:   clamp(14px, 1.4vw, 19px);
  --roles-size: clamp(16px, 1.6vw, 19px);

  /* Floating contact form dynamic positions (set by JS) */
  --fcf-top: 220px;
  --fcf-right: 40px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }

body{
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background: var(--deep-green);
  color: var(--gold);
  display:flex;
  flex-direction:column;
}

/* ===== Top nav (logo does NOT affect layout) ===== */
.main-nav{
  position: fixed;   /* stick to top */
  top: 0;
  left: 0;
  width: 100%;
  padding:14px 24px;
  background: var(--deep-green);
  z-index: 1000;
}
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:28px;
  align-items:center;
}
.main-nav a{
  text-decoration:none;
  color: var(--gold);
  font-size: var(--nav-size);
  font-weight:700;
  border-bottom:2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover{
  color: var(--hover-blue);
  border-color: var(--hover-blue);
}
.main-nav a.active{ border-color: var(--gold); }

/* Brand link (top-left) */
.main-nav .brand-link{
  font-size: var(--brand-size);
  letter-spacing: .5px;
}

/* Right-side logo image (absolute so it doesn't push anything down) */
.nav-logo{
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-19%);
  height: 120px;
  width: auto;
  display: block;
  pointer-events: auto;
  z-index: 2;
}

/* Optional: smaller on very small screens */
@media (max-width: 600px){
  .nav-logo{ height: 72px; }
}

/* ===== Home ===== */
.center-wrap{ flex:1; padding: 2rem; }
.hero{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap: 1rem;
  min-height: calc(100vh - 160px); /* shortened on phones below */
}
.brand{
  margin:0;
  font-size: clamp(48px, 6vw, 96px);
  font-weight:700;
  letter-spacing: 2px;
}
.roles{
  margin:0;
  font-size: var(--roles-size);
  font-weight:600;
  letter-spacing: 1px;
}
.roles a{
  text-decoration:none;
  color: var(--gold);
  font-size: inherit;
  font-weight: inherit;
  border-bottom:2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.roles a:hover{
  color: var(--hover-blue);
  border-color: var(--hover-blue);
}

/* ===== Base page layout ===== */
.page-wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 24px 0 56px 0;
}
.page-title{
  text-align:center;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 2px;
  margin: 8px 0 24px 0;
}
.content-section{
  border-top: 1px solid rgba(255,204,51,0.35);
  padding: 22px 0;
}
.content-section h2{
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 8px;
}
.content-section p,
.lead{
  font-size: clamp(14px, 2.1vw, 18px);
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.95;
}

/* ===== About + Services readability ===== */
.about-page .content-section{
  background: #EAE7C6; 
  color: #2B3327; 
  padding: 22px 26px;
  border-radius: 12px;
  margin-top: 18px;
}
.read-panel{
  background: #EAE7C6;
  color: #2B3327;
  padding: 22px 26px;
  border-radius: 12px;
  margin-top: 12px;
}
.read-panel p{ margin-bottom: 18px; }
.read-panel p:last-child{ margin-bottom: 0; }

/* Keep other pages’ paragraph colour as-is */
.prices-page .content-section p,
.contact-page .content-section p{
  color: var(--gold);
}

/* ===== Prices ===== */
.price-table {
  width: 100%;
  max-width: 520px;
  margin: 18px auto 8px auto;
  border-collapse: collapse;
  border: 1px solid rgba(255,204,51,0.25);
  border-radius: 10px;
  overflow: hidden;
}
.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 204, 51, 0.2);
  font-size: clamp(14px, 2vw, 18px);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child {
  text-align: right;
  font-weight: 800;
}

/* ===== Gallery (grid) ===== */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.gallery-item{
  position: relative;
  border: 1px solid rgba(255,204,51,0.35);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display:flex;
  flex-direction:column;
  background: rgba(255,255,255,0.03);
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  flex:1 1 auto;
}

/* ===== Lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lightbox.open{ display:flex; }
.lb-stage{
  max-width: 92vw;
  max-height: 86vh;
}
.lb-media{
  max-width: 92vw;
  max-height: 86vh;
  display:block;
}
.lb-close, .lb-prev, .lb-next{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 48px;
  border-radius: 8px;
  transition: background .2s ease, transform .1s ease;
}
.lb-close{
  top: 6%;
  right: 4%;
  transform: none;
  font-size: 60px;
}
.lb-prev{ left: 4%; }
.lb-next{ right: 4%; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover{
  background: rgba(0,0,0,0.6);
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .contact-grid, .gallery-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .contact-grid, .gallery-grid{ grid-template-columns: 1fr; }
}

/* ===== Floating contact form ===== */
.floating-contact-form {
  position: fixed;
  right: var(--fcf-right);
  top: var(--fcf-top);
  width: 280px;
  background: #EAE7C6;
  color: #2B3327;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 100;
}
.floating-contact-form h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; }
.floating-contact-form input,
.floating-contact-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #F5F2D6;
  color: #2B3327;
}
.floating-contact-form textarea { resize: vertical; }
.floating-contact-form button {
  width: 100%;
  background: var(--gold);
  color: var(--deep-green);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.floating-contact-form button:hover { background: var(--hover-blue); color: #fff; }

/* On small screens, stack below content */
@media (max-width: 768px) {
  .floating-contact-form {
    position: static;
    width: 100%;
    margin-top: 20px;
  }
}

/* ===== Nav dropdown under "Services" ===== */
.main-nav ul li { position: relative; }
.has-sub > a::after{ content: "▾"; font-size: .9em; margin-left: 6px; opacity: 0.85; }
.subnav{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,204,51,0.35);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav{ display: block; }
.subnav li { margin: 2px 0; }
.subnav a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.subnav a:hover,.subnav a:focus{
  background: rgba(15,61,117,0.2);
  color: var(--hover-blue);
  border-color: var(--hover-blue);
}

/* Force Services dropdown to be hidden unless hovered/focused */
nav.main-nav .has-sub > .subnav { display: none !important; }
nav.main-nav .has-sub:hover > .subnav,
nav.main-nav .has-sub:focus-within > .subnav { display: block !important; }

body { padding-top: 40px; }

/* ===== Home testimonials (constrained to brand width, left-aligned, centered) ===== */
.home-testimonials{
  width: min(var(--brand-width, 720px), 92vw);
  margin: 0.25rem auto 0;   /* centers container under hero */
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tst-heading {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--gold);
  opacity: 0.95;
}
.tst{ margin: 0; padding-left: 14px; border-left: 2px solid rgba(255,204,51,0.4); }
.tst p{ font-size: clamp(13px, 1.6vw, 16px); line-height: 1.65; color: var(--gold); opacity: 0.95; }
.tst footer{ margin-top: 6px; font-size: 0.9rem; opacity: 0.9; }
.more-tst{ margin-top: 2px; }
.more-tst a{
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,204,51,0.45);
  transition: color .2s ease, border-color .2s ease;
}
.more-tst a:hover{ color: var(--hover-blue); border-color: var(--hover-blue); }

/* ===== Mobile WhatsApp + Text chips next to number ===== */
.phone-line{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.phone-number{
  font-weight: 800; letter-spacing: 0.5px; text-decoration: none; color: var(--gold);
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.phone-number:hover{ color: var(--hover-blue); border-color: var(--hover-blue); }
.phone-action{
  display: none; align-items: center; gap: 6px; text-decoration: none; font-weight: 700;
  font-size: 0.95rem; color: var(--gold); border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.phone-action:hover{ color: var(--hover-blue); border-color: var(--hover-blue); }
.phone-action svg{ width: 20px; height: 20px; display: block; }
@media (max-width: 900px){ .phone-action{ display: inline-flex; } }

/* ===== Services: Contact between box and yellow line (right edge) ===== */
.services-page .content-section{ position: relative; }
.services-page .service-row{ position: static; }
.services-page .service-cta{
  position: absolute;
  right: 0;       /* right edge of content */
  bottom: 6px;    /* sits in the gap above divider */
  margin: 0;
  white-space: nowrap;
  line-height: 1;
  z-index: 1;
}
.services-page .service-cta a{
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,204,51,0.45);
  transition: color .2s ease, border-color .2s ease;
}
.services-page .service-cta a:hover{ color: var(--hover-blue); border-color: var(--hover-blue); }
@media (max-width: 820px){
  .services-page .service-cta{ position: static; text-align: right; margin-top: 6px; }
}

/* ===== MOBILE POLISH ===== */
/* Home: reveal a bit of Testimonials under the hero */
@media (max-width: 820px){ .hero{ min-height: 72vh; } }

/* Nav: hide gloves, wrap items, smaller font, more top space */
@media (max-width: 820px){
  .nav-logo{ display:none; }
  .main-nav{ padding:10px 12px; }
  .main-nav ul{ flex-wrap:wrap; gap:10px 16px; }
  .main-nav a{ font-size: clamp(13px, 3.6vw, 16px); }
  body{ padding-top: 76px; }
}

/* Services: tiny "Scroll" hint */
@media (max-width: 820px){
  .services-page .page-title{ position:relative; padding-bottom:22px; }
  .services-page .page-title::after{
    content:"Scroll"; position:absolute; left:50%; transform:translateX(-50%);
    bottom:2px; font-size:.85rem; letter-spacing:.06em; opacity:.85;
    border-bottom:1px solid rgba(255,204,51,0.45);
  }
}

/* Contact: stop floating box covering the page on phones/short screens */
@media (max-width: 900px), (max-height: 520px){
  .floating-contact-form{
    position: static !important; right:auto !important; top:auto !important;
    width: 100% !important; margin-top: 16px !important;
  }
}

/* === Fixes requested === */

/* Home: show a bit of testimonial TEXT under the hero */
@media (max-width: 820px){
  .hero{ min-height: 66vh !important; }  /* was taller; now you see some copy */
}

/* Services: remove the "Scroll" hint completely */
@media (max-width: 9999px){
  .services-page .page-title::after{ content: none !important; }
}

/* Services: anchors land with the SECTION TITLE visible below the fixed nav */
.services-page .content-section{ scroll-margin-top: 100px; }

/* Nav (phones): show the gloves, but keep nav tappable */
@media (max-width: 820px){
  .nav-logo{
    display: block !important;
    height: 56px;                /* smaller so it doesn’t dominate */
    top: 50%;
    transform: translateY(-50%);
  }
  .main-nav{
    /* reserve space on the right so links don’t sit under the logo */
    padding: 12px 92px 12px 12px;
  }
  .main-nav ul{ flex-wrap: wrap; gap: 10px 16px; }
  body{ padding-top: 76px; }
}

/* Contact: keep address/email GOLD (not blue), visited too */
.contact-page a,
.contact-page a:visited{ color: var(--gold) !important; }
.contact-page a:hover{ color: var(--hover-blue) !important; }

/* Lightbox: make sure next/prev arrows sit ABOVE the video */
.lb-close, .lb-prev, .lb-next{ z-index: 1001; }

/* Force gloves logo visible and keep nav tappable on phones */
@media (max-width: 820px){
  .nav-logo{
    display: block !important;
    height: 56px;                 /* smaller so it doesn’t block taps */
    top: 50%;
    transform: translateY(-50%);
  }
  .main-nav{
    padding: 12px 92px 12px 12px; /* reserve space on right for the logo */
  }
}
/* Normalize testimonial layout on the testimonials page */
.testimonials-page .content-section .tst{
  max-width: 62ch;        /* same readable width as others */
  margin: 0;              /* left aligned, no stray indent */
}



