/* =========================================================
   GOSPORT KITCHENS – Master Stylesheet
   Colour palette:
     Charcoal:  #1e2228
     Mid-dark:  #2c3340
     Gold:      #b8952a
     Gold-light:#d4aa44
     Cream:     #f8f5f0
     White:     #ffffff
     Text:      #2c2c2c
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1e2228;
  --mid-dark: #2c3340;
  --gold: #b8952a;
  --gold-light: #d4aa44;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --border: #ddd;
  --radius: 6px;
  --transition: 0.25s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--charcoal);
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--mid-dark); border-color: var(--mid-dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

/* ── Header ── */
.site-header {
  background: #4b5f53;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo a { text-decoration: none; display: block; }
.header-contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.header-phone, .header-email {
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color var(--transition);
}
.header-phone { font-size: 1.05rem; font-weight: 600; }
.header-phone:hover, .header-email:hover { color: var(--gold); }
.header-phone svg, .header-email svg { flex-shrink: 0; }

/* ── Navigation ── */
.main-nav {
  background: var(--mid-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.main-nav .container { position: relative; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}
.nav-list li a {
  display: block;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-list li a:hover,
.nav-list li.active a {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.04);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/kitchen1.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30,34,40,0.88) 0%, rgba(30,34,40,0.55) 60%, rgba(30,34,40,0.20) 100%);
  z-index: 1;
}
.hero-content {  
  position: relative;  
  z-index: 2;  
  width: 100%;        /* ← lets it span the full hero */  
  padding: 60px 0;  
}
.hero-content .container { display: flex; align-items: flex-start; }
.hero-text { max-width: 660px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-intro {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--charcoal);
  padding: 52px 0 44px;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .page-intro {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 700px;
  margin-top: 12px;
  line-height: 1.7;
}

/* ── Sections ── */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 12px; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-bottom: 44px; max-width: 640px; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.text-gold { color: var(--gold); }
.section-header { margin-bottom: 44px; }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 4px solid var(--gold);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; margin: 0 auto 18px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.65; margin-bottom: 18px; }
.service-card a.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-card a.card-link:hover { color: var(--charcoal); }

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; }
.why-list { list-style: none; margin: 24px 0 30px; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.why-list li:last-child { border-bottom: none; }
.why-list .check { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  position: relative;
  border-left: 4px solid var(--gold);
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 0.93rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 600; color: var(--charcoal); font-size: 0.9rem; }

/* ── Badges / Brands ── */
.brands-strip {
  background: var(--cream);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.brand-badge-large {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 28px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.brands-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 600;
  margin-right: 10px;
}

/* ── Contact Bar ── */
.contact-bar {
  background: var(--mid-dark);
  padding: 36px 0;
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-bar-text { color: var(--white); font-size: 1.08rem; }
.contact-bar-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Content Layouts ── */
.content-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 52px;
  align-items: start;
}
.content-two-col .sidebar {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--gold);
}
.sidebar h3 { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sidebar ul li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.sidebar ul li:last-child { border-bottom: none; }

.prose h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; line-height: 1.8; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 8px; line-height: 1.7; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  margin: 28px 0;
  color: var(--text);
}
.prose blockquote footer { font-style: normal; font-weight: 600; margin-top: 10px; color: var(--charcoal); font-size: 0.9rem; }

/* ── Page Image ── */
.page-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── Highlight Box ── */
.highlight-box {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin: 36px 0;
}
.highlight-box h3 { color: var(--gold); margin-bottom: 12px; }
.highlight-box p { color: rgba(255,255,255,0.85); margin: 0; }

/* ── FAQ Accordion ── */
.faq-list { list-style: none; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 18px; color: var(--text-light); line-height: 1.75; font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  align-items: start;
}
.contact-form { background: var(--white); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--charcoal); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 34px 28px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--gold); margin-bottom: 22px; }
.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-item svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.info-item p { color: rgba(255,255,255,0.8); font-size: 0.93rem; line-height: 1.6; margin: 0; }
.info-item a { color: var(--gold-light); }
.info-item a:hover { color: var(--white); }
.form-notice { font-size: 0.82rem; color: var(--text-light); margin-top: 6px; }
.form-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
}

/* ── Stats strip ── */
.stats-strip { padding: 52px 0; background: var(--charcoal); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h3 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer p { font-size: 0.88rem; line-height: 1.7; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 9px; }
.footer-nav ul li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: color var(--transition); }
.footer-nav ul li a:hover { color: var(--gold); }
.footer-contact address { font-style: normal; }
.footer-contact a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-areas { margin-top: 12px; color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-badges .badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.brand-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}
.niceic-note, .gas-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.88rem;
  margin-top: 14px;
  font-weight: 600;
}
.social-link:hover { color: var(--gold-light); }
.footer-bottom { padding: 18px 0; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ── General Services page ── */
.services-list-full { list-style: none; }
.services-list-full li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.95rem;
}
.services-list-full li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.services-list-full li:last-child { border-bottom: none; }

/* ============================================================
   KITCHEN PHOTO GALLERY

   ============================================================ */

.kitchen-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Each photo tile */
.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: var(--charcoal);
  aspect-ratio: 4 / 3;       /* keeps all tiles the same proportions */
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

/* The photo itself */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease, filter 0.38s ease;
}

/* Caption bar – slides up on hover */
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30,34,40,0.88));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 28px 12px 10px;
  transform: translateY(100%);
  transition: transform 0.32s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Gold top-border accent on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* Hover state */
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.88);
}
.gallery-item:hover figcaption {
  transform: translateY(0);
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Responsive – 2 columns on tablet */
@media (max-width: 900px) {
  .kitchen-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Responsive – 2 columns on mobile (keeps thumbnails usable) */
@media (max-width: 480px) {
  .kitchen-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item figcaption {
    transform: translateY(0);   /* always visible on touch screens */
    font-size: 0.76rem;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--mid-dark);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-list.open { display: flex; }
  .nav-list li a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.07); border-left: 3px solid transparent; }
  .nav-list li.active a, .nav-list li a:hover { border-left-color: var(--gold); border-bottom-color: transparent; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-contact { align-items: flex-start; }
  .hero { min-height: 70vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .why-grid, .content-two-col, .contact-grid { grid-template-columns: 1fr; }
  .why-image img { height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-bar-inner { flex-direction: column; text-align: center; }
  .contact-bar-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .brands-inner { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { flex-direction: column; gap: 12px; }
}
