/*
Theme Name: Nequia Group
Theme URI: https://dev.nequia.com
Author: Nequia Group BV
Description: Custom theme for Nequia Group BV - Oral care formulation consultancy
Version: 1.0.0
*/

/* -------------------------------------------------
   GLOBAL
------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* -------------------------------------------------
   HEADER WAVE
------------------------------------------------- */
.wave-header,
.wave-footer {
  width: 100%;
  display: block;
}

/* -------------------------------------------------
   HEADER
------------------------------------------------- */
.header {
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  position: relative;
}

.logo img {
  height: 80px;
}

/* Desktop navigation */
.nav {
  display: flex;
  gap: 40px;
  font-size: 16px;
  font-weight: 500;
}

.nav a {
  color: #5A2D82;
  text-decoration: none;
}

/* Hidden menu items for SEO */
.hidden-menu {
    display: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: #5A2D82;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 100;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .nav.active {
    display: flex;
  }

  .header {
    padding: 20px 20px;
  }
}

/* Phone */
@media (max-width: 768px) {
  .nav {
    gap: 16px;
    padding: 16px;
  }

  .logo img {
    height: 44px;
  }
}

/* -------------------------------------------------
   HERO (homepage)
------------------------------------------------- */
.hero {
  text-align: center;
  padding: 32px 20px 24px;
  max-width: 900px;
  margin: auto;
}

.tagline {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  line-height: 1.25;
  margin: 0 auto 24px;
  letter-spacing: -0.3px;
  text-align: center;
}

.hero-sub {
  font-size: 20px;
  color: #555;
  margin: -4px auto 36px;
  max-width: 700px;
  text-align: center;
  line-height: 1.45;
}

/* -------------------------------------------------
   SECTION TITLES
------------------------------------------------- */
.section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 40px 0 32px;
  margin-bottom: 40px;
  color: #222;
  width: 100%;
}

/* -------------------------------------------------
   SERVICES GRID (homepage)
------------------------------------------------- */
.services {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
}

.service-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 20px;
}

/* Correct link styling (fixes permanent underline) */
.service-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.service-link:hover {
  text-decoration: underline;
}

/* -------------------------------------------------
   CTA BUTTON
------------------------------------------------- */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: #5A2D82;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
}

.cta-button:hover {
  background: #4a236b;
  color: white;
}

.cta-section {
  text-align: center;
  padding: 60px 0;
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Final CTA */
.final-cta {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #5A2D82;
  margin: 48px 0;
}

/* -------------------------------------------------
   FOOTER WAVE
------------------------------------------------- */
.footer-wave {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.footer-wave img {
  width: 100%;
  max-width: 3500px;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
}

/* -------------------------------------------------
   FOOTER CONTENT
------------------------------------------------- */
footer {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: #222;
  box-sizing: border-box;
}

.footer-common {
  font-size: 14px;      
  line-height: 1.8;     
  color: #222;
}

/* logo removed from footer */

/* footer now centered, no flex columns */

footer a {
  color: #5A2D82;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------
   BRAND SECTION (homepage)
------------------------------------------------- */
.full-width-brand {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 40px;
  text-align: center;
}

.brand-card {
  max-width: 700px;
  margin: 0 auto;
}

.brand-card img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.brand-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.brand-card p {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: underline;
}

/* -------------------------------------------------
   LATEST INSIGHTS (homepage)
------------------------------------------------- */
.latest-insights {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
  box-sizing: border-box;
}

.latest-insights h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #222;
}

.insights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.insight-card {
  flex: 1;
  min-width: 200px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
  box-sizing: border-box;
}

.insight-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

/* -------------------------------------------------
   SUBPAGE TITLES
------------------------------------------------- */
.services-title,
.expertise-title {
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 24px;
  text-align: center;
}

/* -------------------------------------------------
   TAGLINE (subpages)
------------------------------------------------- */
.services-tagline,
.expertise-tagline,
.formulation-tagline,
.ownlabel-tagline {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 40px;
  text-align: center;
}

.services-tagline p,
.expertise-tagline p,
.formulation-tagline p,
.ownlabel-tagline p {
  font-size: 26px;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

/* -------------------------------------------------
   HERO IMAGE (subpages)
------------------------------------------------- */
.services-hero,
.expertise-hero,
.formulation-hero,
.ownlabel-hero {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 40px;
  text-align: center;
}

.ownlabel-hero {
  margin-top: 20px;
  padding: 0 20px;
}

.services-hero img,
.expertise-hero img,
.formulation-hero img {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.ownlabel-hero img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
}

/* -------------------------------------------------
   CARD GRIDS (subpages)
------------------------------------------------- */
.expertise,
.formulation,
.ownlabel {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.expertise-card,
.formulation-card {
  width: 350px;
  text-align: center;
}

.ownlabel-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
}

/* Remove card images (subpages don't use them) */
.service-card img,
.expertise-card img,
.formulation-card img,
.ownlabel-card img {
  display: none;
}

/* Subpage service-card override (services page hides images) */
.services .service-card img {
  display: none;
}

.expertise-card h3,
.formulation-card h3,
.ownlabel-card h3 {
  margin-bottom: 10px;
  color: #222;
  font-size: 20px;
  font-weight: 600;
}

.expertise-card p,
.formulation-card p,
.ownlabel-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

/* Extra spacing for specific cards */
.service-card.surfactant-fix::after {
  content: "";
  display: block;
  height: 24px;
  background: transparent;
}

.expertise-card.whitening-fix h3 {
  margin-bottom: 48px;
}

/* -------------------------------------------------
   ABOUT / CONTACT PAGE LAYOUT
------------------------------------------------- */
main {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 40px 60px 40px;
  line-height: 1.7;
  box-sizing: border-box;
  text-align: left;
}

main a {
  color: #5A2D82;
  text-decoration: none;
  font-weight: 500;
}

main a:hover {
  text-decoration: underline;
}

main h2 {
  margin-top: 40px;
  font-size: 24px;
  font-weight: 600;
  color: #5A2D82;
}

h1 {
  color: #222;
  margin-bottom: 20px;
  font-weight: 600;
}

main p {
  font-size: 16px;
}

ul li {
  margin-bottom: 8px;
}

/* -------------------------------------------------
   CONTACT FORM
------------------------------------------------- */
form {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #222;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

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

button {
  background: #5A2D82;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  background: #4a236b;
}

input:focus, textarea:focus {
  border-color: #5A2D82;
  outline: none;
}

/* -------------------------------------------------
   FOOTER (subpage variant - centered, minimal)
------------------------------------------------- */
.footer-minimal {
  width: 100%;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

/* -------------------------------------------------
   FOOTER (subpage - universal)
------------------------------------------------- */
.footer-subpage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px 40px;
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  box-sizing: border-box;
}

.footer-subpage-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-subpage-logo {
  height: 60px;
  width: auto;
}

.footer-subpage-info a {
  color: #5A2D82;
  text-decoration: none;
}

.footer-subpage-info a:hover {
  text-decoration: underline;
}

.footer-subpage-copy {
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .footer-subpage {
    padding: 20px 16px 30px;
  }
  .footer-subpage-logo {
    height: 44px;
  }
}

/* -------------------------------------------------
   FOOTER (homepage - centered)
------------------------------------------------- */
.site-footer {
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: #222;
  box-sizing: border-box;
}

.footer-centered p {
  margin: 4px 0;
  line-height: 1.8;
}

.footer-centered a {
  color: #5A2D82;
  text-decoration: none;
}

.footer-centered a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------
   BLOG PAGES (centered layout)
------------------------------------------------- */

/* -------------------------------------------------
   FORCE CENTER BLOG PAGES (override theme)
------------------------------------------------- */

.entry-content .blog-wrapper {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 40px !important;
  display: block !important;
  box-sizing: border-box !important;
}

.entry-content .blog-wrapper .blog-hero {
  display: block !important;
  margin: 40px auto !important;
  max-width: 100% !important;
  border-radius: 12px;
}

.blog-wrapper {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 40px !important;
  display: block !important;
  box-sizing: border-box !important;
}

.blog-wrapper .blog-hero {
  display: block !important;
  margin: 40px auto !important;
  max-width: 100% !important;
  border-radius: 12px;
}

.blog-wrapper img.blog-hero {
  display: block;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 12px;
}

.blog-wrapper h1,
.blog-wrapper h2,
.blog-wrapper h3,
.blog-wrapper p,
.blog-wrapper div {
  text-align: left;
}

/* -------------------------------------------------
 Hide breadcrumbs everywhere
------------------------------------------------- */
.breadcrumbs {
  display: none;
}

