/*
Theme Name: CTD Group
Theme URI: https://ctdgroup.in
Author: CTD Group
Author URI: https://ctdgroup.in
Description: Custom one-page WordPress theme for CTD Group – Best Spaces to Host Your Conferences and Banquets.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ctd-group
*/

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #9a7530;
  --dark: #1a1a1a;
  --dark-2: #2a2218;
  --cream: #fdf8f0;
  --text: #3a3020;
  --text-light: #6a5e4a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .5px;
}
.top-bar a { color: #fff; text-decoration: none; margin-left: 14px; }
.top-bar a:hover { color: var(--gold); }
.social-icons a { font-size: 13px; }

/* ── NAVBAR ── */
.ctd-navbar {
  background: #fff;
  padding: 0 32px;
  width: 100%;
  height: 72px;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* LEFT SIDE */
.ctd-navbar .nav-left {
  grid-column: 1;
  justify-self: start;
  display: flex !important;
  align-items: center !important;
  width: auto;
}

/* RIGHT SIDE */
.ctd-navbar .nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex !important;
  align-items: center !important;
  width: auto;
}

/* WORDPRESS MENUS */
.ctd-navbar .ctd-menu,
.ctd-navbar .nav-left > ul,
.ctd-navbar .nav-right > ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 24px !important;
}

/* FALLBACK MENUS */
.ctd-navbar .menu-fallback {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* MENU ITEMS */
.ctd-navbar .ctd-menu > li,
.ctd-navbar .menu-fallback > li {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* FALLBACK LINKS */
.ctd-navbar .menu-fallback > a {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  color: var(--text) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .25s;
}

/* WORDPRESS LINKS */
.ctd-navbar .ctd-menu > li > a,
.ctd-navbar .nav-left > ul > li > a,
.ctd-navbar .nav-right > ul > li > a {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  color: var(--text) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .25s;
}

.ctd-navbar .ctd-menu > li > a:hover,
.ctd-navbar .menu-fallback > a:hover {
  color: var(--gold) !important;
}

/* CENTER LOGO */
.ctd-navbar .logo {
  grid-column: 2;
  justify-self: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto;
  min-width: 0;
  padding: 0 20px;
  text-align: center;
}

.ctd-navbar .logo > a,
.ctd-navbar .logo .custom-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.ctd-navbar .logo img,
.ctd-navbar .logo .custom-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 110px;
  max-height: 66px;
}

/* Existing text/ring logo support */
.logo-ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--dark);
}

/* NAV AUTH */
.nav-auth {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-auth a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  border-radius: 2px;
  transition: all .25s;
}

.nav-auth a:hover {
  background: var(--gold);
  color: #fff;
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #1a1005;
  display: flex; align-items: center; justify-content: center;
}

/* Slides */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.06);
  animation: none;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.52));
}
.hero-slide.active {
  opacity: 1;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1400'); }
.hero-slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=1400'); }
.hero-slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?w=1400'); }
.hero-slide:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1400'); }

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Prev / Next arrows */
.hero-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  background: rgba(201,168,76,.25);
  border: 1.5px solid rgba(201,168,76,.6);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background .3s;
  user-select: none;
}
.hero-arrow:hover { background: rgba(201,168,76,.65); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* Dot indicators */
.hero-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 1.5px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff; padding: 0 20px;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin-bottom: 28px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 13px 38px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

/* ── SECTION TITLES ── */
.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--dark);
  position: relative;
  margin-bottom: 14px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

section { padding: 80px 40px; }

/* ── SERVICES ── */
#services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.service-card img {
  width: 100%; height: 350px; object-fit: cover;
  transition: transform .5s;
}
.service-card:hover img { transform: scale(1.06); }
.service-card .card-body { padding: 20px; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 8px; color: var(--dark);
}
.service-card p { font-size: 12px; line-height: 1.7; color: var(--text-light); margin-bottom: 16px; }
.btn-outline {
  display: inline-block;
  padding: 7px 22px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--gold); color: var(--gold);
  transition: all .25s; border-radius: 2px;
}
.btn-outline:hover { background: var(--gold); color: #fff; }
/* ── VENUES GRID ── */
.venues-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 768px){
  .venues-grid{
    grid-template-columns: 1fr;
  }
}

/* ── VENUE SLIDER ── */
.venue-slider {
  position: relative;
  overflow: hidden;
  height: 350px;
  background: #111;
}
.venue-slider .vslide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease-in-out;
}
.venue-slider .vslide img {
  width: 100%; height: 350px; object-fit: cover;
  display: block;
  transition: none;
}
.venue-slider .vslide.active { opacity: 1; }
.service-card:hover .venue-slider .vslide.active img { transform: scale(1.06); }
.venue-slider .vslide.active img {
  animation: vsZoom 8s ease-in-out infinite alternate;
}
@keyframes vsZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.vs-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  background: rgba(0,0,0,.38);
  border: 1.5px solid rgba(201,168,76,.55);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; line-height: 1;
  transition: background .25s;
  user-select: none;
  padding: 0;
}
.vs-arrow:hover { background: rgba(201,168,76,.7); }
.vs-arrow.vs-prev { left: 10px; }
.vs-arrow.vs-next { right: 10px; }
.vs-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.vs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 1.5px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.vs-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

/* ── ABOUT ── */
#about { background: var(--cream); }
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text p {
  font-size: 13px; line-height: 1.9; color: var(--text-light);
  margin-bottom: 14px;
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%; border-radius: 4px;
  box-shadow: 16px 16px 0 var(--gold);
}

/* ── GALLERY ── */
#gallery { background: var(--dark-2); }
#gallery .section-title { color: #f5ead6; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 3px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .5s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-venue-label {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.gallery-item:hover .gallery-venue-label { opacity: 1; }
.gallery-venue-label span {
  display: inline-block;
  background: rgba(201,168,76,.92);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
}

/* ── VIDEOS ── */
#videos { background: #fff; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px; margin: 0 auto;
}
.video-thumb {
  position: relative; border-radius: 4px; overflow: hidden;
  cursor: pointer; background: #111;
}
.video-thumb img {
  width: 100%; height: 180px; object-fit: cover; opacity: .75;
  transition: opacity .3s;
}
.video-thumb:hover img { opacity: .55; }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(201,168,76,.85);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s;
}
.play-btn svg { fill: #fff; width: 18px; margin-left: 3px; }
.video-thumb:hover .play-btn { transform: translate(-50%,-50%) scale(1.15); background: var(--gold); }
.video-caption {
  padding: 12px 4px;
  font-size: 12px; color: var(--text-light); text-align: center;
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: linear-gradient(135deg, #fdf3e2 0%, #fff8ec 100%);
}
.testimonial-track-outer {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.testimonial-card {
  min-width: 100%;
  padding: 10px 20px 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tcard-inner {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 36px rgba(201,168,76,.13);
  padding: 44px 56px 36px;
  position: relative;
  max-width: 680px;
  width: 100%;
}
.tcard-inner::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 90px; line-height: 1;
  color: var(--gold); opacity: .25;
  position: absolute; top: 8px; left: 22px;
}
.tcard-inner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 300; font-style: italic;
  line-height: 1.85; color: var(--text);
  padding: 0;
  margin-bottom: 28px;
}
.tcard-reviewer {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.tcard-reviewer img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
}
.tcard-reviewer-info { text-align: left; }
.tcard-reviewer-name { font-weight: 600; font-size: 13px; color: var(--dark); }
.tcard-reviewer-event { font-size: 11px; color: var(--text-light); letter-spacing: .5px; margin-top: 2px; }
.tcard-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }

/* Arrows */
.t-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  background: rgba(201,168,76,.18);
  border: 1.5px solid rgba(201,168,76,.5);
  color: var(--gold-dark);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; line-height: 1;
  transition: background .25s;
  user-select: none;
}
.t-arrow:hover { background: rgba(201,168,76,.55); color: #fff; }
.t-arrow.t-prev { left: -8px; }
.t-arrow.t-next { right: -8px; }

/* Dots */
.t-dots { margin-top: 22px; display: flex; justify-content: center; gap: 8px; }
.t-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); opacity: .28; cursor: pointer;
  transition: opacity .3s, transform .3s;
}
.t-dot.active { opacity: 1; transform: scale(1.3); }

/* ── CONTACT ── */
#contact { background: #fff; }
.contact-info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1100px; margin: 0 auto 48px;
  text-align: center;
}
.contact-info-item .icon {
  font-size: 26px; color: var(--gold); margin-bottom: 12px;
}
.contact-info-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; margin-bottom: 8px; color: var(--dark);
}
.contact-info-item p { font-size: 12px; line-height: 1.7; color: var(--text-light); }
.contact-form {
  max-width: 700px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form input, .contact-form textarea {
  padding: 13px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; color: var(--text);
  border: 1px solid #ddd; border-radius: 2px; background: var(--cream);
  outline: none; transition: border-color .25s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { grid-column: 2; grid-row: 1 / 4; resize: vertical; min-height: 120px; }
.contact-form .submit-wrap { grid-column: 1 / 3; text-align: center; margin-top: 8px; }
.map-wrap {
  max-width: 1100px; margin: 40px auto 0;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.map-wrap iframe { width: 100%; height: 300px; border: none; display: block; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 28px 40px;
  font-size: 11px;
  letter-spacing: .5px;
}
footer .footer-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
footer .footer-nav a { color: #aaa; text-decoration: none; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
footer .footer-nav a:hover { color: var(--gold); }
footer .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold);
  letter-spacing: 3px; margin-bottom: 10px;
}
footer .social { display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; }
footer .social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #444; display: flex; align-items: center; justify-content: center;
  color: #aaa; text-decoration: none; font-size: 13px; transition: all .25s;
}
footer .social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner, .contact-info { grid-template-columns: 1fr 1fr; }

  .ctd-navbar {
    height: 68px;
    padding: 0 18px;
    grid-template-columns: 1fr auto 1fr;
  }

  .ctd-navbar .ctd-menu,
  .ctd-navbar .menu-fallback {
    gap: 14px !important;
  }

  .ctd-navbar .ctd-menu > li > a,
  .ctd-navbar .menu-fallback > a {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .ctd-navbar .logo {
    padding: 0 10px;
  }

  .ctd-navbar .logo img,
  .ctd-navbar .logo .custom-logo {
    max-width: 100px;
    max-height: 60px;
  }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }

  /* Mobile header: logo on top, navigation remains visible below */
  .ctd-navbar {
    height: auto !important;
    min-height: 0;
    padding: 8px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    position: sticky;
    top: 0;
  }

  /* Logo */
  .ctd-navbar .logo {
    order: 1;
    display: flex !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 0 6px !important;
    min-height: 55px;
  }

  .ctd-navbar .logo img,
  .ctd-navbar .logo .custom-logo {
    max-width: 105px !important;
    max-height: 52px !important;
  }

  /* Both menus visible on mobile */
  .ctd-navbar .nav-left,
  .ctd-navbar .nav-right {
    display: flex !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    overflow: hidden;
  }

  .ctd-navbar .nav-left {
    order: 2;
  }

  .ctd-navbar .nav-right {
    order: 3;
  }

  /* Horizontal, touch-scrollable menu */
  .ctd-navbar .ctd-menu,
  .ctd-navbar .menu-fallback,
  .ctd-navbar .nav-left > ul,
  .ctd-navbar .nav-right > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 7px 16px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ctd-navbar .ctd-menu::-webkit-scrollbar,
  .ctd-navbar .menu-fallback::-webkit-scrollbar {
    display: none;
  }

  .ctd-navbar .ctd-menu > li,
  .ctd-navbar .menu-fallback > a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .ctd-navbar .ctd-menu > li > a,
  .ctd-navbar .menu-fallback > a {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    padding: 3px 0 !important;
  }

  .about-inner, .contact-info, .videos-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form textarea { grid-column: 1; grid-row: auto; }
}


/* ── FINAL CTD NAVIGATION SAFETY RULES ── */
body .ctd-navbar .nav-left .menu-fallback,
body .ctd-navbar .nav-right .menu-fallback,
body .ctd-navbar .nav-left ul.ctd-menu,
body .ctd-navbar .nav-right ul.ctd-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: auto !important;
}

body .ctd-navbar .menu-fallback > a,
body .ctd-navbar ul.ctd-menu > li {
  display: inline-flex !important;
  width: auto !important;
  float: none !important;
}
