@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;600&display=swap');

/* ==============================
   VARIABLES
   ============================== */
:root {
  --blue: #1f4fb2;
  --navy: #0f2f5f;
  --teal: #2aa6a1;
  --light: #5fa8ff;
  --cream: #f7f9fc;
}

/* ==============================
   BASE
   ============================== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: #333;
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}

.site-container {
  max-width: 75%;
  margin: auto;
  background: #fff;
}

/* ==============================
   HEADER
   ============================== */
header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-bar {
  width: 100%;
  background: var(--blue);
  border-bottom: 4px solid var(--navy);
  box-shadow: inset 0 -2px 6px rgba(255,255,255,0.25);
}

.header-inner {
  max-width: 75%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  transition: padding 0.4s ease;
}

header.shrink .header-inner {
  padding: 8px 0;
}

/* ==============================
   LOGO / TEXT SWAP
   ============================== */


.logo-wrap {
  display: flex;
  align-items: center;
  min-width: 280px;
  height: 100px;
}

/* LOGO IMAGE (DEFAULT) */
#logo-img {
  height: 250px;
  display: block;
}

/* TEXT LOGO (DEFAULT HIDDEN) */
#logo-text {
  display: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #ffffff;
  white-space: nowrap;
}

/* SCROLLED STATE */
header.shrink #logo-img {
  display: none;
}

header.shrink #logo-text {
  display: block;
  font-size: 1.6rem;
}


/* SCROLLED STATE */
header.shrink #logo-img {
  opacity: 0;
  height: 56px;
  transform: translateY(-2px);
}

header.shrink #logo-text {
  opacity: 1;
  font-size: 1.6rem;
}

/* ==============================
   MAIN NAVIGATION
   ============================== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;

  background: rgba(255,255,255,0.18);

  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.45),
    inset 0 -2px 3px rgba(0,0,0,0.25),
    0 1px 2px rgba(0,0,0,0.25);

  transition: all 0.25s ease;
}

.main-nav > ul > li:hover > a {
  background: rgba(255,255,255,0.28);
  box-shadow:
    0 0 10px rgba(255,255,255,0.35),
    inset 0 1px 3px rgba(255,255,255,0.5);
}

.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
  background: var(--teal);
  color: #ffffff;
  box-shadow:
    0 0 14px rgba(42,166,161,0.9),
    inset 0 1px 4px rgba(255,255,255,0.5);
}

/* ==============================
   DROPDOWN MENU
   ============================== */
.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #cfd9f1;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  padding: 6px 0;
  display: none;
  z-index: 9999;
}

.main-nav ul li:hover > ul {
  display: block;
}

.main-nav ul ul li a {
  padding: 10px 16px;
  display: block;
  color: var(--navy);
  background: none;
  box-shadow: none;
}

.main-nav ul ul li a:hover {
  background: #eef3ff;
  color: var(--blue);
}

/* ==============================
   FOOTER (HEADER-STYLE)
   ============================== */
.footer-bar {
  width: 100%;
  background: var(--navy);
  border-top: 4px solid var(--blue);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.15);
}

.footer-inner {
  max-width: 75%;
  margin: 0 auto;
  padding: 28px 0;
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-logo img {
  height: 120px;
}

.footer-info {
  color: #ffffff;
  text-align: right;
  line-height: 1.6;
}

.footer-info a {
  color: #ffffff;
  text-decoration: none;
}

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

/* ==============================
   FOOTER SITEMAP
   ============================== */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 22px 36px;
  justify-content: center;
}

.sitemap-title {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-sitemap li {
  margin: 6px 0;
}

.footer-sitemap a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-sitemap a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ==============================
   MOBILE
   ============================== */
@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    max-width: 92%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-sitemap {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==============================
   WOOCOMMERCE PRODUCT GRID
   ============================== */

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
}


/* ==============================
   HOME PAGE
   ============================== */

.home section {
  margin: 60px 0;
}

/* HERO */
.home-hero {
  background: linear-gradient(
    135deg,
    var(--blue),
    var(--navy)
  );
  color: #ffffff;
  padding: 80px 0;
}

.home-hero-inner {
  max-width: 75%;
  margin: 0 auto;
}

.home-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.home-hero p {
  font-size: 1.15rem;
  max-width: 640px;
  opacity: 0.95;
}

/* SERVICES */
.home-services {
  max-width: 75%;
  margin: 0 auto;
}

.home-services h2 {
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 22px;

  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

/* VALUES */
.home-values {
  background: #eef3ff;
  padding: 60px 0;
}

.values-inner {
  max-width: 75%;
  margin: 0 auto;
}

.values-inner p {
  max-width: 700px;
  font-size: 1.05rem;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-hero-inner,
  .home-services,
  .values-inner {
    max-width: 92%;
  }

  .home-hero h1 {
    font-size: 2.1rem;
  }
}


/* ==============================
   SERVICE DETAIL (HTML BLOCK)
   ============================== */

.service-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 60px 0;
  color: #ffffff;
}

.service-hero-inner {
  max-width: 75%;
  margin: 0 auto;
}

.service-hero h1 {
  margin: 0;
  font-size: 2.2rem;
  color: #ffffff;
}

.service-content {
  padding: 60px 0;
}

.service-content-inner {
  max-width: 75%;
  margin: 0 auto;
  line-height: 1.7;
}

.service-intro {
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.service-content h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-list {
  margin-left: 20px;
}

.service-list li {
  margin-bottom: 8px;
}

/* MOBILE */
@media (max-width: 900px) {
  .service-hero-inner,
  .service-content-inner {
    max-width: 92%;
  }
}

