/* Remove horizontal overflow */
html, body {
  overflow-x: hidden;
}

.font-secondary {
    font-family: 'Pacifico', cursive;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

body {
    color: var(--text);
    background-color: var(--secondary);
}

.btn {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: var(--light);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--light);
}

.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--light);
}

.btn-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.border-inner {
    position: relative;
}

.border-inner * {
    position: relative;
    z-index: 1;
}

.border-inner::before {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: none;
    border: 1px solid var(--light);
    z-index: 0;
}

.btn-square {
    width: 40px;
    height: 40px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
    background-color: var(--primary);
    color: var(--light);
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    padding: 30px 15px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--light);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--light);
    background: var(--dark);
    opacity: 1;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    margin-left: -90px;
    background: var(--primary);
}

.service::after,
.contact::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/service.jpg) center center no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact::after {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.bg-offer {
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/offer.jpg) center center no-repeat;
    background-size: cover;
}

.team-item img {
    transition: .5s;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    
}

.team-item:hover img {
    transform: scale(1.1);
    filter: blur(5px);
}

.team-item .team-overlay {
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 2px;
    width: 10px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    opacity: 1;
}

.bg-img {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

/* ── Typography color overrides ── */
p {
    color: var(--text);
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--dark);
}

/* ── Section backgrounds using secondary ── */
.bg-secondary-theme {
    background-color: var(--secondary) !important;
}

/* ── Text utility overrides ── */
.text-primary {
    color: var(--primary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-light {
    color: var(--light) !important;
}

.text-body {
    color: var(--text) !important;
}

/* ── Background utility overrides ── */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

/* Active tab pill uses secondary instead of primary */
.nav-pills .nav-link.active {
    background-color: var(--dark) !important;
    color: var(--light) !important;
}

.nav-pills .nav-link {
    color: var(--light) !important;
}

.nav-pills{
    background-color: var(--primary) !important;
    color: var(--text) !important;
    opacity: 0.85;
}



/* ✅ Menu item card background uses light color */
.menu-item-card {
    background-color: var(--light) !important;
}

.menu-item-card h5,
.menu-item-card span {
    color: var(--dark) !important;
}


/* ── Offer overlay ── */
.bg-offer {
  position: relative;
}

.offer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.747); /* ✅ adjust 0.55 to make darker or lighter */
  z-index: 1;
}

.hero-header {
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.450); /* adjust opacity here */
  z-index: 1;
}

.hero-header .position-relative {
  z-index: 2;
}


/* ═══════════════════════════════════════
   TESTIMONIAL CENTER CAROUSEL
═══════════════════════════════════════ */
.testimonial-carousel-wrapper {
  overflow: hidden;
  padding: 20px 0 40px;
}

.testimonial-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonial-slide {
  flex: 0 0 30%;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* ── Fixed height for all cards ── */
.testimonial-item {
  height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-item p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin: 0;
}

/* ── Side cards — faded and scaled down ── */
.testimonial-side .testimonial-item {
  background: #f3f4f6;
  opacity: 0.5;
  transform: scale(0.88);
  transition: all 0.4s ease;
}

.testimonial-side .testimonial-item h4,
.testimonial-side .testimonial-item span,
.testimonial-side .testimonial-item p {
  color: #9ca3af !important;
}

/* ── Active center card — full dark ── */
.testimonial-active .testimonial-item {
  background: var(--dark);
  color: #fff;
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.testimonial-active .testimonial-item h4 {
  color: var(--primary) !important;
}

.testimonial-active .testimonial-item span,
.testimonial-active .testimonial-item p {
  color: #fff !important;
}

/* ── Dots ── */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 25px;
  background: #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot-active {
  height: 45px;
  background: var(--primary);
}

.service-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 3); /* keeps cards uniform even when text is shorter */
}


/* ═══════════════ BLOG CARD ═══════════════ */
.blog-card {
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Thumbnail */
.blog-card-img-wrap {
  height: 220px;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}
.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #1f2937;
}

/* Category badge */
.blog-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--bs-primary, #c0a875);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
}

/* Body */
.blog-card-body {
  border-top: 3px solid var(--bs-primary, #c0a875);
}

/* Meta */
.blog-meta {
  font-size: 12px;
  color: #9ca3af;
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Title */
.blog-card-title {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Excerpt — clamped to 3 lines */
.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 3);
}

/* Read More */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--bs-primary, #c0a875);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.blog-read-more:hover {
  gap: 10px;
  color: var(--bs-primary, #c0a875);
}



/* ═══════════════════════════════════════
   MOBILE RESPONSIVE (<= 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {

  .testimonial-track {
    gap: 10px;
  }

  /* Show only one card */
  .testimonial-slide {
    flex: 0 0 100%;
  }

  /* Remove side scaling effect */
  .testimonial-side .testimonial-item {
    opacity: 0.3;
    transform: scale(0.95);
  }

  /* Active card full width */
  .testimonial-active .testimonial-item {
    transform: scale(1);
  }

  /* Adjust height for mobile */
  .testimonial-item {
    height: auto;
    padding: 20px;
  }

  /* Reduce text lines */
  .testimonial-item p {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }

  /* Smaller title */
  .testimonial-item h4 {
    font-size: 16px;
  }

  .testimonial-item span {
    font-size: 13px;
  }

  /* Dots smaller */
  .testimonial-dot {
    width: 6px;
    height: 18px;
  }

  .testimonial-dot-active {
    height: 30px;
  }
}/* ═══════════════════════════════════════
   MOBILE RESPONSIVE (<= 768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {

  .testimonial-track {
    gap: 10px;
  }

  /* Show only one card */
  .testimonial-slide {
    flex: 0 0 100%;
  }

  /* Remove side scaling effect */
  .testimonial-side .testimonial-item {
    opacity: 0.3;
    transform: scale(0.95);
  }

  /* Active card full width */
  .testimonial-active .testimonial-item {
    transform: scale(1);
  }

  /* Adjust height for mobile */
  .testimonial-item {
    height: auto;
    padding: 20px;
  }

  /* Reduce text lines */
  .testimonial-item p {
    -webkit-line-clamp: 3;
    font-size: 14px;
  }

  /* Smaller title */
  .testimonial-item h4 {
    font-size: 16px;
  }

  .testimonial-item span {
    font-size: 13px;
  }

  /* Dots smaller */
  .testimonial-dot {
    width: 6px;
    height: 18px;
  }

  .testimonial-dot-active {
    height: 30px;
  }
}


/* ═══════════════════════════════════════════
   TESTIMONIAL CENTER CAROUSEL TRANSITIONS
═══════════════════════════════════════════ */

/* ── Enter from right → moves to center ── */
@keyframes testimonialEnterRight {
  from { transform: translateX(60px) scale(0.88); opacity: 0.3; }
  to   { transform: translateX(0)    scale(1);    opacity: 1;   }
}

/* ── Enter from left → moves to center ── */
@keyframes testimonialEnterLeft {
  from { transform: translateX(-60px) scale(0.88); opacity: 0.3; }
  to   { transform: translateX(0)     scale(1);    opacity: 1;   }
}

/* ── Exit to left → was center, moves left ── */
@keyframes testimonialExitLeft {
  from { transform: translateX(0)    scale(1);    opacity: 1;   }
  to   { transform: translateX(-60px) scale(0.88); opacity: 0.3; }
}

/* ── Exit to right → was center, moves right ── */
@keyframes testimonialExitRight {
  from { transform: translateX(0)   scale(1);    opacity: 1;   }
  to   { transform: translateX(60px) scale(0.88); opacity: 0.3; }
}

.testimonial-enter-right .testimonial-item {
  animation: testimonialEnterRight 0.5s ease forwards;
}

.testimonial-enter-left .testimonial-item {
  animation: testimonialEnterLeft 0.5s ease forwards;
}

.testimonial-exit-left .testimonial-item {
  animation: testimonialExitLeft 0.5s ease forwards;
}

.testimonial-exit-right .testimonial-item {
  animation: testimonialExitRight 0.5s ease forwards;
}


/* ═══════════════════════════
   SLIDE TRANSITION ANIMATION
═══════════════════════════ */
.slide-row {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-row.slide-visible {
  opacity: 1;
  transform: translateX(0);
}


/* ═══════════════════════════════════════════════════
   DYNAMIC PAGE — FIXED IMAGE & ICON SIZES PER SECTION
═══════════════════════════════════════════════════ */

/* ── HERO ── */
.hero-header {
    background-size: cover;
    background-position: center;
}

/* ── ABOUT ── */
.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* ── FACTS ── */
.facts-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ── MENU ── */
.menu-item-image {
    width: 150px;
    height: 85px;
    object-fit: cover;
    display: block;
}

/* ── SERVICES ── */
.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}





/* ── TESTIMONIALS ── */
.testimonial-client-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── VIDEO ── */
.video-thumbnail {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* ── OFFER ── */
.bg-offer {
    background-size: cover;
    background-position: center;
}