@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;600;700&family=Dosis:wght@400;500;600&family=Herr+Von+Muellerhoff&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary-gold: #c19b76;
  --primary-gold-dark: #b99470;
  --text-body: #6a6a6a;
  --text-muted: #999999;
  --dark-bg: #1c1c1c;
  --dark-alt: #1e1e1e;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --border-light: #dddddd;
  --btn-blue: #557cbf;
  --btn-blue-hover: #4d70ac;
  --wa-green: #2db742;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  font-size: 16px;
  line-height: 26px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, background-color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== HEADER ==================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.header_mid {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
  transition: height 0.3s ease;
}

#header.scrolled .header_mid {
  height: 70px;
}

.header_mid_inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo_wrap {
  width: 254px;
  text-align: center;
}

.logo_wrap img {
  margin: 0 auto;
  max-height: 65px;
  width: auto;
  transition: max-height 0.3s ease;
}

#header.scrolled .logo_wrap img {
  max-height: 48px;
}

.mobile_menu_btn {
  display: none;
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--dark-bg);
  cursor: pointer;
}

.header_bot {
  height: 60px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.navigation > li {
  position: relative;
}

.navigation > li > a {
  font-family: 'Dosis', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark-bg);
  padding: 18px 4px;
  display: block;
}

.navigation > li > a:hover,
.navigation > li.current-menu-item > a,
.navigation > li.current-menu-ancestor > a {
  color: var(--primary-gold);
}

/* Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--dark-bg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.navigation > li.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 24px;
  font-family: 'Dosis', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cccccc;
}

.sub-menu li a:hover,
.sub-menu li.current-menu-item a {
  color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.04);
}

#middle {
  padding-top: 160px;
}

/* ==================== PAGE BANNER / HEADLINE ==================== */
.headline_outer {
  position: relative;
  min-height: 450px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.headline_outer.tall_banner {
  min-height: 600px;
}

.headline_outer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.35);
}

.headline_inner {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  color: var(--white);
}

.headline_inner h1.entry-title {
  font-family: 'Cormorant', serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cmsmasters_breadcrumbs {
  font-family: 'Dosis', sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.cmsmasters_breadcrumbs a:hover {
  color: var(--primary-gold);
}

.breadcrumbs_sep {
  margin: 0 8px;
}

/* ==================== HERO SLIDER (HOME) ==================== */
.hero_slider {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
  background: #111;
}

.hero_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero_slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero_slide_bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1);
  transition: transform 9s ease-out;
}

.hero_slide.active .hero_slide_bg {
  transform: scale(1.12);
}

.hero_slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.hero_slide_content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 0 20px;
  color: var(--white);
}

.hero_subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.6s ease 0.2s;
}

.hero_slide.active .hero_subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero_title {
  font-family: 'Herr Von Muellerhoff', cursive;
  font-size: 130px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0.94);
  transition: all 0.9s ease 0.35s;
}

.hero_slide.active .hero_title {
  opacity: 1;
  transform: scale(1);
}

.hero_btn {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Dosis', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 16px 52px;
  border: 1px solid #000000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.hero_slide.active .hero_btn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.55s, transform 0.7s ease 0.55s, background-color 0.3s ease, color 0.3s ease;
}

.hero_btn:hover {
  background-color: #ffffff;
  color: var(--primary-gold);
  border-color: #ffffff;
}

.slider_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  border: none;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slider_arrow:hover {
  background: var(--primary-gold);
}

.slider_prev { left: 20px; }
.slider_next { right: 20px; }

/* ==================== DUAL CALLIGRAPHY HEADINGS ==================== */
.script_heading_wrap {
  text-align: center;
  margin-bottom: 25px;
}

.script_bg_title {
  font-family: 'Herr Von Muellerhoff', cursive;
  font-size: 140px;
  line-height: 150px;
  font-weight: 400;
  color: rgba(11, 12, 15, 0.18);
  user-select: none;
}

.script_bg_title.light {
  color: rgba(255, 255, 255, 0.22);
}

.script_fg_title {
  font-family: 'Cormorant', serif;
  font-size: 46px;
  line-height: 54px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-top: -68px;
  position: relative;
  z-index: 2;
}

.script_fg_title.gold {
  color: var(--primary-gold);
  font-size: 58px;
}

.script_fg_title.white {
  color: var(--white);
  font-size: 58px;
}

/* ==================== SPLIT ALTERNATING SECTIONS (HOME) ==================== */
.split_row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 620px;
}

.split_col {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split_text_box {
  padding: 80px 14%;
  text-align: center;
  background: var(--white);
}

.split_text_box p {
  font-size: 19px;
  line-height: 29px;
  color: var(--text-body);
  margin-bottom: 28px;
}

.gold_link {
  font-family: 'Cormorant', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-gold);
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.gold_link:hover {
  color: var(--text-body);
  border-bottom-color: var(--primary-gold);
}

.split_image_parallax {
  min-height: 620px;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* ==================== TESTIMONIALS SLIDER ==================== */
.testimonials_section {
  position: relative;
  padding: 70px 20px 90px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.testimonials_section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.55);
}

.testimonials_container {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.testimonial_slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.testimonial_slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial_avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial_quote {
  font-family: 'Cormorant', serif;
  font-size: 25px;
  line-height: 36px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 22px;
}

.testimonial_author {
  font-family: 'Dosis', sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-gold);
}

.testimonial_role {
  font-size: 14px;
  color: #dddddd;
  margin-top: 4px;
}

.testimonial_controls {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.testimonial_controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial_controls button:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

/* ==================== DARK CALLOUT BANDS ==================== */
.dark_band {
  background-color: var(--dark-bg);
  padding: 75px 20px 85px;
  text-align: center;
}

.dark_band.alt {
  background-color: var(--dark-alt);
}

/* ==================== CONTENT SECTIONS (INNER PAGES) ==================== */
.boxed_container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px;
}

.gray_band {
  background-color: var(--light-bg);
  padding: 75px 20px 55px;
}

.product_section {
  margin-bottom: 65px;
  text-align: center;
}

.cormorant_title {
  font-family: 'Cormorant', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 18px;
  text-align: center;
}

.product_desc {
  max-width: 880px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 28px;
  color: var(--text-body);
  text-align: center;
}

.size_btn {
  display: inline-block;
  background-color: var(--btn-blue);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  padding: 15px 43px;
  border: none;
  cursor: pointer;
  margin-bottom: 35px;
  transition: background-color 0.25s ease;
}

.size_btn:hover {
  background-color: var(--btn-blue-hover);
}

.product_image_wrap {
  max-width: 1024px;
  margin: 0 auto 30px;
  overflow: hidden;
  cursor: zoom-in;
}

.product_image_wrap img {
  width: 100%;
  transition: transform 0.45s ease;
}

.product_image_wrap:hover img {
  transform: scale(1.02);
}

.two_col_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1024px;
  margin: 0 auto 30px;
}

.three_col_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==================== CONTACT FORM & CARDS ==================== */
.contact_grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact_info_box {
  background: var(--light-bg);
  padding: 40px;
  border-left: 4px solid var(--primary-gold);
}

.contact_info_box h3 {
  font-family: 'Cormorant', serif;
  font-size: 32px;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.contact_detail_item {
  margin-bottom: 18px;
  font-size: 16px;
}

.contact_detail_item strong {
  display: block;
  font-family: 'Dosis', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-gold);
  font-size: 14px;
}

.contact_form .form_group {
  margin-bottom: 20px;
}

.contact_form input,
.contact_form textarea,
.contact_form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dddddd;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--dark-bg);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s ease;
}

.contact_form input:focus,
.contact_form textarea:focus {
  border-color: var(--primary-gold);
}

.submit_btn {
  background: var(--primary-gold);
  color: var(--white);
  border: none;
  padding: 15px 45px;
  font-family: 'Dosis', sans-serif;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit_btn:hover {
  background: var(--dark-bg);
}

/* ==================== BOTTOM WIDGETS & FOOTER ==================== */
#bottom {
  background-color: #232323;
  color: #b5b5b5;
  padding: 65px 20px;
}

.bottom_inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

#bottom .widgettitle {
  font-family: 'Cormorant', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
}

#bottom ul li,
#bottom .contact_item {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 24px;
}

#bottom a:hover {
  color: var(--primary-gold);
}

#footer {
  background-color: var(--dark-bg);
  color: #888888;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer_socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}

.footer_socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.footer_socials a:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

.footer_logo_wrap {
  margin-bottom: 16px;
}

.footer_logo_wrap img {
  margin: 0 auto;
  max-height: 55px;
}

.footer_copyright {
  font-size: 14px;
  color: #999999;
}

/* ==================== SIZE CHART POPUP MODALS ==================== */
.pum-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.pum-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.pum-container {
  background: var(--white);
  width: 92%;
  max-width: 640px;
  padding: 32px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-top: 4px solid var(--primary-gold);
}

.pum-title {
  font-family: 'Cormorant', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.cmsmasters_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.cmsmasters_table th {
  background: var(--dark-bg);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-family: 'Dosis', sans-serif;
  letter-spacing: 1px;
}

.cmsmasters_table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eeeeee;
  color: var(--text-body);
}

.cmsmasters_table tr:nth-child(even) td {
  background: #fafafa;
}

.pum-close {
  background: var(--dark-bg);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  font-family: 'Dosis', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  float: right;
}

.pum-close:hover {
  background: var(--primary-gold);
}

/* ==================== IMAGE LIGHTBOX ==================== */
.lightbox_modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox_modal.open {
  display: flex;
}

.lightbox_modal img {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox_close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: var(--white);
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==================== FLOATING WHATSAPP WIDGET ==================== */
.wa__widget_container {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9998;
  font-family: 'Roboto', sans-serif;
}

.wa__btn_popup {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wa__btn_popup_txt {
  background: #f5f7f9;
  color: #43474e;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 4px;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wa__btn_popup_icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(45, 183, 66, 0.4);
  transition: transform 0.2s ease;
}

.wa__btn_popup_icon:hover {
  transform: scale(1.06);
}

.wa__popup_chat_box {
  display: none;
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 340px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wa__popup_chat_box.open {
  display: block;
  animation: fadeIn 0.25s ease;
}

.wa__popup_heading {
  background: var(--wa-green);
  color: var(--white);
  padding: 18px 20px;
}

.wa__popup_title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.wa__popup_intro {
  font-size: 12px;
  color: #d9ebc6;
}

.wa__popup_content {
  padding: 16px 20px 20px;
}

.wa__popup_notice {
  font-size: 11px;
  color: #888;
  margin-bottom: 14px;
}

.wa__stt_online {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f5f7f9;
  border-left: 3px solid var(--wa-green);
  border-radius: 4px;
}

.wa__stt_online:hover {
  background: #ebeff3;
}

.wa__member_name {
  font-size: 14px;
  font-weight: 600;
  color: #363c47;
}

/* ==================== BACK TO TOP ==================== */
#slide_top {
  position: fixed;
  right: 36px;
  bottom: 102px;
  width: 42px;
  height: 42px;
  background: rgba(28, 28, 28, 0.8);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9990;
}

#slide_top.visible {
  display: flex;
}

#slide_top:hover {
  background: var(--primary-gold);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .mobile_menu_btn { display: block; }
  .header_bot { display: none; }
  .header_bot.mobile_open {
    display: block;
    height: auto;
    border-top: 1px solid #eee;
    padding: 15px 20px;
  }
  .navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .navigation > li { width: 100%; }
  .navigation > li > a { padding: 12px 0; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
  }
  #middle { padding-top: 100px; }
  .hero_slider { height: 560px; }
  .hero_title { font-size: 86px; }
  .split_col { width: 100%; }
  .split_image_parallax { background-attachment: scroll; min-height: 420px; }
  .bottom_inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero_slider { height: 440px; }
  .hero_title { font-size: 62px; }
  .hero_btn { font-size: 16px; padding: 12px 32px; }
  .script_bg_title { font-size: 92px; line-height: 110px; }
  .script_fg_title { font-size: 32px; margin-top: -50px; }
  .headline_inner h1.entry-title { font-size: 38px; }
  .two_col_grid, .three_col_grid, .contact_grid, .bottom_inner { grid-template-columns: 1fr; }
}