* {
  box-sizing: border-box;
}

:root {
  --primary-color: #2e2e2e;
  --accent-color: #f0f4f8;
  --highlight-color: #000;

  --font-serif: 'EB Garamond', serif;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  overflow-x:hidden;
}
body.nav-open {
  overflow: hidden;
}

/* ============================= */
/*         NAVIGATION BAR       */
/* ============================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  padding: 0 2rem;
  background: #fff;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ccc;
  padding-right: 2rem;
  height: 100%;
  width:230px;
}

.logo-img {
  height: 110px;
  width: auto;
  padding-left:2rem;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
  justify-content: flex-end;
}

.navbar-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
  height: 100%;

}
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  right: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease-in-out;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: #000;
}



.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a,
.logo-text {
  font-size: 1rem; /* Slight increase from 1rem */
  line-height: 1.6;
  letter-spacing: 0.3px;
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}
.navbar {
  height: 130px; /* add 30px for breathing space */
}

.logo-img {
  height: 90px;
}

.nav-links a {
  line-height: 1.6;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
/* ============================= */
/*       DROPDOWN STYLING       */
/* ============================= */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1100;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 0.5rem 1rem;
}

.dropdown-content a {
  color: #000;
}



/* ============================= */
/*         ALT SECTION           */
/* ============================= */
.alt-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

.alt-content {
  flex: 1 1 480px;
  max-width: 600px;
}

.alt-content h2 {
  font-family: 'Unica One', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.alt-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.alt-image {
  flex: 1 1 400px;
  max-width: 540px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-radius: 6px;
}

.alt-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.alt-image img:hover {
  transform: scale(1.05);
}

/* ============================= */
/*         CTA LINK STYLE        */
/* ============================= */
.alt-content a {
  display: inline-block;
  margin-top: 1rem;
  background: #000;
  color: #fff;
  font-family: 'Unica One', serif;
  padding: 0.75rem 1.8rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.alt-content a:hover {
  background: #333;
}
.products-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
  z-index: 1; /* Below h1 (z=2 or 3) */
  pointer-events: none;
}

.markets-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.markets-header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.markets-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.markets-header-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
}

/* ============================= */
/*         INTRO SECTION        */
/* ============================= */

.markets-intro {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.markets-intro h2 {
  font-family: var(--font-sans);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.markets-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #333;
}

/* ============================= */
/*     SPLIT IMAGE SECTIONS     */
/* ============================= */

.markets-split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  gap: 3rem;
}

.markets-split-section.reverse {
  flex-direction: row-reverse;
}

.markets-column {
  flex: 1 1 480px;
  max-width: 600px;
}

.markets-column img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: block;
}

.markets-column h2 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.markets-column p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================= */
/*         CTA SECTION          */
/* ============================= */

.markets-cta {
  background: var(--primary-color);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.markets-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 2px, transparent 10px);
  z-index: 0;
  opacity: 0.3;
}

.markets-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.04); /* soft contrast */
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  border-radius: 0;
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease;
}

.markets-cta-inner:hover {
  transform: translateY(-6px);
}

.markets-cta h2 {
  font-family: var(--font-sans);
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.markets-cta p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.markets-cta a {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 1.07rem;
  letter-spacing: 2px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
  background: #111;
  border: 2px solid #fff;
  border-radius: 0;
  text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(0,0,0,0.13);
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  transition: background 0.18s, color 0.18s, border 0.18s;
}

.markets-cta a:hover,
.markets-cta a:focus {
  background: #fff;
  color: #111;
  border: 2px solid #222;
  outline: none;
}
.markets-column img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.markets-column img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.markets-column img {
  filter: grayscale(20%);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.markets-column img:hover {
  transform: scale(1.04);
  filter: grayscale(0%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.triangle {
  position: absolute;
  opacity: 0.55;
  z-index: 1;
  transition: opacity 0.3s;
  pointer-events: none;
}

.triangle-1  { top: 4%;   left: -30px;   transform: rotate(-9deg)  scale(1.1); }
.triangle-2  { bottom: 6%; left: 8%;     transform: rotate(22deg)  scale(1.05); }
.triangle-3  { top: 24%;  right: -38px;  transform: rotate(-14deg) scale(1.16); }
.triangle-4  { bottom: 19%; right: 12%;  transform: rotate(-34deg) scale(1.0); }
.triangle-5  { top: 7%;   right: 32%;    transform: rotate(31deg)  scale(1.13); }
.triangle-6  { bottom: 5%; left: 52%;    transform: rotate(29deg)  scale(1.09); }
.triangle-7  { top: 52%;  left: 17%;     transform: rotate(-19deg) scale(0.98); }
.triangle-8  { top: 65%;  right: 23%;    transform: rotate(34deg)  scale(0.88); }
.triangle-9  { top: 37%;  left: 63%;     transform: rotate(-11deg) scale(0.95); }
.triangle-10 { bottom: 2%; right: 4%;    transform: rotate(-7deg)  scale(1.13); }


.section-title {
  font-family: 'Unica One', serif;
  font-size: 3rem;
  letter-spacing: 2.5px;
  line-height: 1.2;
  color: #ffffff; /* solid white */
  opacity: 1; /* no fading */
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 24px rgba(255, 255, 255, 0.15); /* white glow */
  -webkit-text-stroke: 0; /* ensure no outline */
  z-index:3;
}


@keyframes fillIn {
  to {
    color: #fff;
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  background-color: #ffff;
  animation: underlineGrow 1s ease forwards;
  color:white;
}

@keyframes underlineGrow {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--accent-color);
  color: #000;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}
.footer-extra {
  margin-top: 0.5rem;
  font-size: 0.85rem;
    position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
    position: relative;
    z-index: 9999;
  }

  .logo-img {
    height: 42px;
    padding-left: 0;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
  }

  .burger div {
    width: 100%;
    height: 2px;
    background: #000;
  }

.nav-links {
  display: none;
  flex-direction: column;
  width: 100vw;
  max-width: 100%;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}


  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #000;
    display: block;
    text-align: left;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    padding-left: 2rem;
    font-size: 0.95rem;
  }

  .dropdown-toggle::after {
    content: "▼";
    float: right;
    font-size: 0.7rem;
    margin-left: 0.5rem;
  }

  .dropdown.open .dropdown-toggle::after {
    content: "▲";
  }
}





/* Body text stays as Garamond */
body, p, li, span {
  font-family: 'EB Garamond', serif;
}

/* Headings use Playfair Display */
h1, h2, h3, .section-title {
  font-family: 'Playfair Display', serif;
}
