/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Topbar ===== */
.topbar {
  background: #0c3d58;
  color: #cfe9f2;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.topbar a {
  color: #cfe9f2;
  text-decoration: none;
}
.topbar .dot {
  opacity: 0.6;
  margin: 0 8px;
}

/* ===== Brandbar ===== */
.brandbar {
  background: #0b3a3c;
  border-bottom: 3px solid #072426;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.brandbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brandbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.brandbar .logo img {
  height: 48px;
  width: auto;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,.5));
  border: 2px solid #0e4a4d;
}


.brandbar .logo img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 200, 200, 0.4);
}
.brandbar .logo strong {
  font-size: 22px;
  letter-spacing: .3px;
  color: #fff;
}

/* ===== Navigation ===== */
.mainmenu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mainmenu a {
  position: relative;
  color: #e9f6fb;
  font-weight: 500;
  padding: 6px 8px;
  transition: color 0.3s;
}
.mainmenu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #18a2a5;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.mainmenu a:hover::after,
.mainmenu a[aria-current="page"]::after {
  width: 60%;
}
.mainmenu a:hover {
  color: #fff;
}
.btn.btn-mini {
  background: linear-gradient(135deg, #18a2a5, #0e4a4d);
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn.btn-mini:hover {
  background: linear-gradient(135deg, #0e4a4d, #18a2a5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .mainmenu {
    position: absolute;
    top: 110px;
    right: 15px;
    left: 15px;
    background: #0f5c7a;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 14px;
    flex-direction: column;
    display: none;
    z-index: 1000;
  }
  .mainmenu.show { display: flex; }
}

/* ===== Promo Ribbon ===== */
.promo-ribbon {
  background: #eaf6ff;
  color: #0f5c7a;
  border-bottom: 1px solid #d7eaf8;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: clamp(340px, 60vh, 640px);
  overflow: hidden;
}
.hero-slides-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===== Premium Hero Overlay ===== */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35));
  backdrop-filter: blur(6px);
  padding: 20px 28px;
  border-radius: 10px;
  max-width: 520px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  line-height: 1.5;
  animation: fadeInUp 0.8s ease both;
}
.hero-overlay h1, 
.hero-overlay h2 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw + 1rem, 2.2rem);
}
.hero-overlay p {
  margin-bottom: 16px;
  font-size: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
}

/* Matching Hero Buttons */
.hero-overlay .btn {
  background: linear-gradient(135deg, #18a2a5, #0e4a4d);
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.hero-overlay .btn:hover {
  background: linear-gradient(135deg, #0e4a4d, #18a2a5);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/* Hero dots & arrows */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot:hover {
  transform: scale(1.3);
}
.hero-dot.active {
  background: #17A2A5;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 28px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
}
.hero-prev { left: 15px; }
.hero-next { right: 15px; }
.hero-slider:hover .hero-arrow {
  opacity: 1;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.card img {
  height: 220px;
  object-fit: cover;
}
.card .body {
  padding: 15px;
}

/* --- Products page: force 2 columns + square thumbs --- */
.products-two-col .product-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px;
}

/* 1 column on small screens */
@media (max-width: 700px) {
  .products-two-col .product-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Square product images */
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* square */
  height: auto;          /* let aspect-ratio control height */
  object-fit: cover;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #18a2a5, #0e4a4d);
  color: white;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn:hover {
  background: linear-gradient(135deg, #0e4a4d, #18a2a5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-outline {
  background: transparent;
  border: 2px solid #17A2A5;
  color: #17A2A5;
}
.btn-outline:hover {
  background: #17A2A5;
  color: white;
}

/* ===== Footer ===== */
footer.site-footer {
  background: #222;
  color: white;
  padding: 30px 0;
}
footer.site-footer .logo img {
  height: 48px;
  background: white;
  padding: 4px;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
  border: 2px solid #0e4a4d;
}
footer.site-footer a {
  color: #17A2A5;
}

/* ===== Premium Hero Controls (arrows + dots) ===== */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;

  /* brandy glow */
  background: radial-gradient(ellipse at center, rgba(24,162,165,0.95) 0%, rgba(14,74,77,0.9) 70%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.28), 0 0 0 2px rgba(24,162,165,.25) inset;

  opacity: 0;
  transition: opacity .35s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* show on hover (desktop) */
.hero-slider:hover .hero-arrow { opacity: 1; }

/* hover feel */
.hero-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 0 3px rgba(24,162,165,.28) inset;
}

/* smaller on mobile, always visible just a bit */
@media (max-width: 768px) {
  .hero-arrow {
    width: 36px; height: 36px; opacity: .85;
    background: radial-gradient(ellipse at center, rgba(24,162,165,0.92) 0%, rgba(14,74,77,0.88) 70%);
  }
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hero-dot:hover { transform: scale(1.25); background: rgba(255,255,255,.85); }
.hero-dot.active {
  background: #18a2a5;
  box-shadow: 0 0 0 3px rgba(24,162,165,.25);
  transform: scale(1.3);
}

/* ===== Premium Footer Upgrade ===== */
footer.site-footer {
  background: #0b3a3c; /* deep teal to match header */
  color: #e6f4f5;
  padding: 40px 0 20px;
  border-top: 4px solid #18a2a5; /* brand accent */
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

footer.site-footer .footer-col {
  flex: 1 1 220px;
}

footer.site-footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer ul li {
  margin-bottom: 8px;
}

footer.site-footer ul a {
  color: #cfe9f2;
  transition: color 0.3s ease;
}

footer.site-footer ul a:hover {
  color: #18a2a5;
}

footer.site-footer .logo img {
  height: 48px;
  width: auto;
  background: white;
  padding: 4px;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
  border: 2px solid #0e4a4d;
}

footer.site-footer .footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #a8c9cb;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== Premium Footer ===== */
.site-footer {
  background: #0b3a3c; /* deep teal */
  color: #e6f7f8;
  padding: 40px 0 0;
  border-top: 3px solid #072426;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #18a2a5;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #cfe9f2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #18a2a5;
}

.site-footer .logo img {
  height: 54px;
  width: auto;
  background: white;
  padding: 5px;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
  border: 2px solid #0e4a4d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-footer .logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.footer-bottom {
  background: #072426;
  color: #8fbec0;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Premium Footer ===== */
.site-footer {
  background: #0b3a3c; /* deep teal */
  color: #e6f7f8;
  padding: 40px 0 0;
  border-top: 3px solid #072426;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #18a2a5;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #cfe9f2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #18a2a5;
}

.site-footer .logo img {
  height: 54px;
  width: auto;
  background: white;
  padding: 5px;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
  border: 2px solid #0e4a4d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-footer .logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.footer-bottom {
  background: #072426;
  color: #8fbec0;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

.flash-messages {
  margin: 20px 0;
}

.flash {
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 10px;
}

.flash.success {
  background: #d1f0e8;
  color: #0e4a4d;
  border: 1px solid #0e4a4d;
}

.flash.error {
  background: #ffe0e0;
  color: #7a0e0e;
  border: 1px solid #a30b0b;
}
/* ===== Flash / Alert Messages ===== */
.flash-messages {
  margin: 20px auto;
  max-width: 800px;
}

.flash {
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.flash.success {
  background: #e6f9f0;
  color: #0f6848;
  border: 1px solid #b3e6cc;
}

.flash.error {
  background: #fdecea;
  color: #a94442;
  border: 1px solid #f5c6cb;
}

.flash.warning {
  background: #fff8e5;
  color: #8a6d3b;
  border: 1px solid #ffeeba;
}

.flash.info {
  background: #e7f3fe;
  color: #31708f;
  border: 1px solid #b8daff;
}

/* Flash close button */
.flash {
  position: relative;
}
.flash .close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease;
}
.flash .close:hover { opacity: 1; transform: scale(1.05); }

/* Wide promo banner */
.promo-hero {
  margin: 0;
}
.promo-hero img {
  width: 100%;
  height: clamp(220px, 34vw, 420px); /* responsive height */
  object-fit: cover;                 /* clean crop across sizes */
  display: block;
  border-bottom: 1px solid #e8eef2;
}
/* ===== Netlify static hardening overrides ===== */

/* Mobile menu: support both .show and .open */
@media (max-width: 900px) {
  .mainmenu.show,
  .mainmenu.open { display: flex; }
}

/* Products grid: ensure it's a grid */
.product-grid { display: grid; }

/* Hero controls: keep the branded gradient version */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: none; cursor: pointer; border-radius: 50%;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, rgba(24,162,165,0.95) 0%, rgba(14,74,77,0.9) 70%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.28), 0 0 0 2px rgba(24,162,165,.25) inset;
  opacity: 0; transition: opacity .35s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-slider:hover .hero-arrow { opacity: 1; }
@media (max-width: 768px) {
  .hero-arrow { width: 36px; height: 36px; opacity: .85; }
}

/* Hero dots: keep the newer look */
.hero-dots { left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hero-dot:hover { transform: scale(1.25); background: rgba(255,255,255,.85); }
.hero-dot.active {
  background: #18a2a5;
  box-shadow: 0 0 0 3px rgba(24,162,165,.25);
  transform: scale(1.3);
}

/* Footer: normalize to a single variant */
.site-footer { background:#0b3a3c; color:#e6f7f8; padding:40px 0 0; border-top:3px solid #072426; }
.footer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:20px; } }
@media (max-width:600px){ .footer-grid{ grid-template-columns:1fr; text-align:center; } }
.footer-bottom { background:#072426; color:#8fbec0; text-align:center; padding:15px 0; font-size:.9rem; margin-top:30px; border-top:1px solid rgba(255,255,255,0.08); }
