/* ================================================
   LOCAL INTER FONT (self-hosted)
   ================================================ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ================================================
   GLOBAL RESET & BASE TYPOGRAPHY
   ================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.125rem);
  line-height: 1.7;
  color: #3e2723;
  background: #fff8e1;
}

/* Headings */
h1, h2, h3 {
  font-weight: 600;
  color: #3e2723;
  line-height: 1.3;
}
h1 {
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.5rem, 1rem + 1vw, 2.25rem);
  margin-bottom: 0.8rem;
}
h3 {
  font-size: clamp(1.25rem, 0.9rem + 0.7vw, 1.75rem);
  margin-bottom: 0.6rem;
}

/* Lists & paragraphs */
p, li {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.125rem);
  margin-bottom: 1rem;
}

/* Buttons & nav links */
button, .btn, nav a {
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */
header {
  margin-bottom: 0;   /* make sure no outer gap */
  padding-bottom: 0.5rem; /* slightly tighten the header bottom if needed */
  position: relative;
  z-index: 1000;
  background: #f5ebd0;
  color: #3e2723;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.8rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

header h1, header h2 {
  margin-bottom: 0;
}

/* Logo & slogan */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo img {
  height: 45px;
  width: auto;
}
.logo .slogan {
  font-size: clamp(1.3rem, 0.9rem + 1.5vw, 1.9rem);
  font-weight: 700;
  color: #3e2723;
  line-height: 1.2;
  letter-spacing: 0.4px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}
nav a {
  color: #3e2723;
  margin: 0 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
nav a.active,
nav a:hover {
  color: #e67e22;
}

/* Dropdowns */
nav .dropdown {
  position: relative;
}
nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f5ebd0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  min-width: 230px;
  z-index: 1100;
}
nav .dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #3e2723;
  text-decoration: none;
}
nav .dropdown-content a:hover {
  background: #e0d3b8;
}
nav .dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile menu toggle (hidden by default) */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #3e2723;
  font-size: 1.8rem;
}

/* ================================================
   HERO & INTRO
   ================================================ */
.hero {
  position: relative;
  z-index: 0;
  background: #d7ccc8;
  color: #3e2723;
  text-align: center;
  padding: 4rem 1rem;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Split hero */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  min-height: 70vh; /* allow flexibility but still maintain height balance */
  height: auto;     /* auto expands if content grows */
  position: relative;
  z-index: 0;
}

.hero-split > div {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
}
.hero-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-split > div:hover img {
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease;
}
.hero-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}
.hero-overlay h2 {
  font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  margin-bottom: 1rem;
}
.hero-overlay .btn {
  background: #e67e22;
  padding: 0.9rem 1.6rem;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* === Hero overlay: enforce white text and add hover/fade transitions === */

/* Ensure hero-overlay and its headings always use white */
.hero-split .hero-overlay {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Anchor/link color inside hero overlay: override browser defaults */
.hero-split .hero-overlay a,
.hero-split .hero-overlay a:visited,
.hero-split .hero-overlay a:active,
.hero-split .hero-overlay a:focus {
  color: #ffffff;
  text-decoration: none;
}

/* Make .btn inside hero overlay visually consistent */
.hero-split .hero-overlay .btn {
  background: #e67e22;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
}

/* Ensure button hover works (keeps white text) */
.hero-split .hero-overlay .btn:hover,
.hero-split .hero-overlay .btn:focus {
  background: #bf6516;
  color: #ffffff;
}

/* Ensure the H2 inside hero overlay always uses white */
.hero-split .hero-overlay h2 {
  color: #ffffff !important;
  margin: 0 0 1rem 0;
}

/* === Hover/fade/slide transition for overlay content === */
/* Start slightly lower and slightly transparent */
.hero-split .hero-overlay h2,
.hero-split .hero-overlay .btn {
  opacity: 0.95;
  transform: translateY(6px);
  transition: opacity 0.36s cubic-bezier(.2,.8,.2,1), transform 0.36s cubic-bezier(.2,.8,.2,1);
}

/* On hover, make text pop gently into place */
.hero-split > div:hover .hero-overlay h2,
.hero-split > div:hover .hero-overlay .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Small accessibility: keyboard users see same effect when focusing the button */
.hero-split .hero-overlay .btn:focus {
  outline: 3px solid rgba(230,126,34,0.25);
  outline-offset: 4px;
}

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-form {
  background: #fff8e1;
  padding: 3rem 2rem;
  margin: 2rem left;
  max-width: 700px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-field {
  flex: 1 1 100%;
  min-width: 0;
}
.form-row.double .form-field {
  flex: 1 1 48%;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #e6ded3;
  border-radius: 8px;
  font-size: 1rem;
  color: #3e2723;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9e7f71;
}
.form-field textarea {
  min-height: 160px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #a0522d;
  box-shadow: 0 6px 18px rgba(160, 82, 45, 0.08);
}
.orange-btn,
.contact-form .btn {
  background: #e67e22;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.orange-btn:hover,
.contact-form .btn:hover {
  background: #bf6516;
}
@media (max-width: 600px) {
  .form-row.double {
    flex-direction: column;
  }
}

/* ================================================
   GALLERY
   ================================================ */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  justify-items: center;
}
.gallery-item {
  background: #f5ebd0;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease;
  max-width: 320px;
}
.gallery-item:hover {
  transform: translateY(-4px);
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #e6ded3;
  cursor: pointer;
}
.gallery-text {
  padding: 1rem;
}
.gallery-text h3 {
  color: #3e2723;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.gallery-text p {
  color: #6d4c41;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Modal viewer */
#image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  background: rgba(62, 39, 35, 0.85);
  backdrop-filter: blur(3px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  cursor: zoom-out;
}
#image-modal.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
#image-modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  background: #fff8e1;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}
#image-modal .caption {
  margin-top: 1rem;
  max-width: 80%;
  text-align: center;
  color: #111;
  font-size: 1.05rem;
  line-height: 1.45;
}
#image-modal .caption strong {
  display: block;
  color: #111;
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* ================================================
   UTILITIES
   ================================================ */
.mini-tagline {
  margin-top: 0;      /* remove any gap above */
  padding-top: 0.4rem; /* optional — gentle breathing room */
  text-align: center;
  background: #f5ebd0;
  padding: 0.8rem;
  color: #4a332a;
  font-size: 1rem;
  letter-spacing: 0.3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

footer {
  background: #f5ebd0;
  color: #3e2723;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem 2rem;
}

/* Flex layout: copyright left, icons right */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Social icons */
footer .social-links {
  display: flex;
  gap: 1.2rem;
}

footer .social-links img {
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(15%) saturate(1200%) hue-rotate(341deg) brightness(92%) contrast(90%);
  transition: filter 0.25s ease, transform 0.25s ease;
}

/* Hover color: warm orange accent */
footer .social-links img:hover {
  filter: brightness(0) saturate(100%) invert(54%) sepia(59%) saturate(1554%) hue-rotate(358deg) brightness(96%) contrast(94%);
  transform: scale(1.1);
}

/* Mobile: center both text and icons */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    margin-top: 0.4rem;
  }
}

body, html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: #fff8e1;  /* same as your page background */
  min-height: 100%;
}

body::after {
  content: '';
  display: block;
  height: 0;
}


.hero-split > div {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  min-height: 320px; /* ensures visibility on small viewports */
}


/* =======================================================
   BUSINESS THEME
   ======================================================= */

/* =======================================================
   BUSINESS THEME (gray / professional look)
   ======================================================= */

body.business-theme {
  background: #eeeeee; /* neutral gray background */
  color: #2b2b2b;
}

/* Header */
body.business-theme header {
  background: #e0e0e0;
  color: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero-business {
  background: linear-gradient(135deg, #cfd8dc 0%, #b0bec5 100%);
  color: #1a1a1a;
  text-align: center;
  padding: 4rem 1rem;
}

.hero-business-content h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  margin-bottom: 1rem;
}

.hero-business-content p {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  margin-bottom: 2rem;
  color: #2e2e2e;
}

/* Business services section */
.business-services {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;             /* space between service blocks */
  max-width: 1000px;       /* keeps readable width on large screens */
  margin: 0 auto;          /* center the content */
  padding: 2rem 1rem;      /* side padding for breathing room */  background: #eeeeee; /* same as body for seamless look */
}

.business-services ul li {
  margin-bottom: 4px;
}

.business-services .service {
  background: #f2f2f2;     /* light neutral gray for contrast */
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.business-services .service:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.business-services h2 {
  margin-bottom: 0.75rem;
  color: #2c2c2c;
}

.business-services p {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Make lists look tidy and consistent with paragraphs */
.business-services .service ul {
  margin-left: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.business-services .service ul li {
  margin-bottom: 4px;
}


/* On larger screens, keep them centered with some margin on sides */
@media (min-width: 900px) {
  .business-services .service {
    margin: 0 auto;
    width: 85%;
  }
}

/* CTA */
.business-cta {
  text-align: center;
  background: #d7d7d7;
  padding: 3rem 1rem;
  color: #111;
}

.business-cta h2 {
  font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.business-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

body.business-theme .btn {
  background: #424242;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

body.business-theme .btn:hover {
  background: #212121;
}

/* Responsive */
@media (max-width: 768px) {
  .business-services {
    grid-template-columns: 1fr;
  }
}

/* Footer icon fixes */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #f5ebd0; /* keep consistent with main theme */
  color: #3e2723;
}

.footer-content p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-content .social-icons {
  display: flex;
  gap: 0.8rem;
}

.footer-content .social-icons a img {
  width: 22px;
  height: 22px;
  filter: grayscale(30%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.footer-content .social-icons a:hover img {
  filter: none;
  transform: scale(1.1);
}

/* =======================================================
   BUSINESS THEME – EXTENDED FIXES
   ======================================================= */

/* Dropdown background for business pages */
body.business-theme nav .dropdown-content {
  background: #e0e0e0; /* gray tone matching header */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

body.business-theme nav .dropdown-content a {
  color: #1e1e1e;
}

body.business-theme nav .dropdown-content a:hover {
  background: #cfcfcf; /* slightly darker gray on hover */
  color: #000;
}

/* Footer adjustments for business pages */
body.business-theme footer {
  background: #d6d6d6;   /* uniform light gray footer */
  color: #1a1a1a;
}

body.business-theme footer .footer-content {
  background: transparent; /* remove beige box */
  color: #1a1a1a;
}

body.business-theme footer .social-icons a img {
  filter: brightness(0.3);
}

body.business-theme footer .social-icons a:hover img {
  filter: brightness(0) saturate(100%);
  transform: scale(1.1);
}


/* Neutral contact page adjustments */
.contact-neutral {
  background: linear-gradient(to bottom, #f5f2ec 0%, #f0efea 100%);
  padding: 3rem 2rem 5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-neutral h1 {
  text-align: left;
  margin-bottom: 0.8rem;
}

.contact-neutral .intro-text {
  text-align: left;
#  max-width: 650px;
  margin: 0 auto 2rem left;
  color: #4a3c34;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Footer consistency fix for neutral theme */
footer {
  background: #e6e3db;
  color: #3e2723;
  text-align: center;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .social-links a img {
  width: 22px;
  height: 22px;
  margin-left: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

footer .social-links a img:hover {
  opacity: 1;
}

/* Thematic variants for Contact page */
body.contact-business .contact-neutral {
  background: linear-gradient(to bottom, #f0f0f0 0%, #d9d9d9 100%);
}

body.contact-business header {
  background-color: #e3e3e3;
}

body.contact-business footer {
  background-color: #d7d7d7;
  color: #222;
}

body.contact-consumer .contact-neutral {
  background: linear-gradient(to bottom, #f6f2e8 0%, #f0ede6 100%);
}

body.contact-consumer header {
  background-color: #f2ece2;
}

body.contact-consumer footer {
  background-color: #e8e1d6;
  color: #3e2723;
}

body.contact-business .contact-neutral,
body.contact-consumer .contact-neutral {
  transition: background 0.6s ease-in-out;
}

/* =====================================
   Adaptive page themes (Contact + About)
   ===================================== */

.page-neutral main,
.page-consumer main,
.page-business main {
  transition: background 0.6s ease-in-out, color 0.6s ease-in-out;
}

/* Neutral (default look) */
.page-neutral main {
  background: linear-gradient(to bottom, #f9f7f2 0%, #f0ece3 100%);
  color: #3e2723;
}

.page-neutral header,
.page-neutral footer {
  background: #f2ece2;
  color: #3e2723;
}

/* Consumer (beige) variant */
.page-consumer main {
  background: linear-gradient(to bottom, #fff8e1 0%, #f2ebd3 100%);
  color: #3e2723;
}

.page-consumer header,
.page-consumer footer {
  background: #f5ebd0;
  color: #3e2723;
}

/* Business (gray) variant */
.page-business main {
  background: linear-gradient(to bottom, #f0f0f0 0%, #d9d9d9 100%);
  color: #222;
}

.page-business header {
  background-color: #e3e3e3;
}

.page-business footer {
  background-color: #d7d7d7;
  color: #222;
}

/* -----------------------------------------
   THEME ADAPTATION: consumer / business / neutral
   ----------------------------------------- */

/* Default (neutral) colors are already set */

/* Consumer beige tone */
body.consumer-theme {
  background-color: #fff8e1;
  color: #3e2723;
}

body.consumer-theme header,
body.consumer-theme .mini-tagline,
body.consumer-theme footer {
  background-color: #f5ebd0;
  color: #3e2723;
}

/* Business gray tone */
body.business-theme {
  background-color: #f0f0f0;
  color: #2c2c2c;
}

body.business-theme header,
body.business-theme .mini-tagline,
body.business-theme footer {
  background-color: #d6d6d6;
  color: #1e1e1e;
}

/* Ensure social icons remain visible on gray */
body.business-theme .social-links img {
  filter: brightness(0) invert(0.15);
  transition: filter 0.2s ease;
}

body.business-theme .social-links img:hover {
  filter: brightness(0) invert(0);
}

/* Dropdown menus in business mode */
body.business-theme nav .dropdown-content {
  background-color: #d6d6d6;
}

body.business-theme nav .dropdown-content a:hover {
  background-color: #c0c0c0;
}

/* Footer layout fix */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
}

.footer-content p {
  margin: 0;
}

.footer-content .social-links a {
  margin-left: 0.5rem;
}

.footer-content .social-links img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}


/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Gallery items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-text {
  padding: 1rem;
  text-align: left;
}

/* ============================
   IMAGE MODAL (FADE ANIMATION)
   ============================ */

#image-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-out;
}

/* When active (JS adds .show class) */
#image-modal.show {
  opacity: 1;
  visibility: visible;
}

#image-modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  background: #fff8e1;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
  cursor: default;
}

#image-modal.show img {
  transform: scale(1.03);
}

#image-modal .caption {
  margin-top: 1rem;
  max-width: 80%;
  text-align: center;
  color: #111111;
  background: rgba(255, 248, 225, 0.95);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
  cursor: default;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

#image-modal .caption strong {
  display: block;
  color: #111111;
  font-weight: 600;
  margin-bottom: 0.35rem;
}


/* Footer social links alignment */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content .social-links img {
  width: 24px;
  height: 24px;
  margin-left: 12px;
  filter: brightness(0.9);
  transition: filter 0.2s;
}

.footer-content .social-links img:hover {
  filter: brightness(1.2);
}

/* ===== FOOTER LAYOUT (updated 2025) ===== */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--footer-bg, #f8f1e8); /* beige default */
  color: #3e2723;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

footer .social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

footer .social-links a {
  display: inline-block;
  width: 26px;
  height: 26px;
  transition: opacity 0.3s ease;
}

footer .social-links a:hover {
  opacity: 0.7;
}

footer .social-links img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== THEME VARIANTS ===== */

/* Consumer pages (default beige) */
body.page-consumer footer {
  --footer-bg: #f8f1e8;
  color: #3e2723;
}

/* Business pages (gray) */
body.page-business footer {
  --footer-bg: #e3e3e3;
  color: #222;
}

/* Neutral pages (contact, about) */
body.page-neutral footer {
  --footer-bg: #f3f3f3;
  color: #333;
}

/* Responsive tweak */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  footer .social-links {
    justify-content: center;
  }
}

/* ==========================================================
   PORTFOLIO – BUSINESS PAGE (ALTERNATING “CHESSBOARD” LAYOUT)
   ========================================================== */

/* Keep consistent spacing on all pages */
.content {
  padding: 0 1.5rem;
}

/* Each project row */
.project-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 2rem;
}

/* True alternating “chessboard” layout */
.project-row:nth-of-type(odd) {
  flex-direction: row;
}

.project-row:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* Text and image blocks */
.project-text {
  flex: 1 1 55%;
  color: #2b2b2b;
  padding: 0 1rem;
}

.project-text h2 {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  margin-bottom: 0.75rem;
  color: #222;
}

.project-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.project-image {
  flex: 1 1 40%;
  text-align: center;
}

.project-image img {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Add gentle background separation per row (optional) */
.page-business .project-row:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 1rem;
}
.page-business .project-row:nth-of-type(even) {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  padding: 1rem;
}

/* Business theme background and header/footer alignment */
body.page-business {
  background: #f1f1f1;
  color: #2b2b2b;
}

body.page-business header,
body.page-business footer,
body.page-business .dropdown-content {
  background: #e0e0e0;
  color: #2b2b2b;
}

/* Responsive stacking for small screens */
@media (max-width: 768px) {
  .project-row {
    flex-direction: column !important;
    text-align: center;
  }
  .project-text,
  .project-image {
    flex: 1 1 100%;
  }
}

.content ul {
  margin-left: 20px;
  padding-left: 10px;
  line-height: 1.3;
}

.content ul li {
  margin-bottom: 4px;
}

#reveal-button {
  margin-top: 1rem;
  background-color: var(--accent-color);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

#reveal-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Smooth fade for form status messages */
.fade-message {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  margin-top: 1em;
  font-weight: 500;
  text-align: left; /* aligns with your design intent */
}

.fade-message.visible {
  opacity: 1;
}


.grecaptcha-badge {
    visibility: hidden;
}

