/* GIPF Tiranga – light saffron/orange theme (no dark backgrounds) */
:root {
  --theme-color: #c84b00;
  --theme-color2: #ffb01f;
  --gipf-saffron-light: #fff4e6;
  --gipf-saffron-mid: #ffe8cc;
  --gipf-saffron-warm: #ffd9a8;
  --gipf-saffron-accent: #ffb01f;
  --gipf-saffron-dark: #c84b00;
  --gipf-saffron-deep: #9a3412;
  --gipf-green: #138808;
  --gipf-green-light: #e8f5e9;
  --gipf-text: #3d2314;
  --gipf-text-muted: #6b4423;
  --smoke-color: #fff4e6;
  --smoke-color2: #ffe8cc;
  --smoke-color3: #ffd9a8;
  --smoke-color4: #fff9ee;
  --title-color: #3d2314;
  --body-color: #6b4423;
  --bs-primary: #c84b00;
  --bs-link-color: #c84b00;
  --bs-link-hover-color: #9a3412;
  --bs-blue: #c84b00;
}

/* Page background – light saffron gradient */
body,
body.body-color {
  background-color: var(--gipf-saffron-light) !important;
  color: var(--gipf-text);
}

body.body-color::before {
  background-image: none !important;
  background: linear-gradient(
    180deg,
    #fff9ee 0%,
    #fff4e6 25%,
    #ffe8cc 55%,
    #ffd9a8 85%,
    rgba(255, 176, 31, 0.15) 100%
  ) !important;
}

/* Headings & body text – readable on light orange */
.sec-title,
.title-area .sec-title,
body.body-color .sec-title,
body.body-color .title-area .sec-title {
  color: var(--gipf-saffron-deep) !important;
}

.sub-title,
.box-text,
.box-text2,
p {
  color: var(--gipf-text-muted);
}

/* Override template light-gray text on cream background (especially mobile) */
body.body-color .box-text,
body.body-color .box-text2,
body.body-color p,
#about-sec .box-text,
#about-sec .box-text2,
#about-sec .box-title,
#about-sec h3,
#about-sec .feature-card3 .box-title {
  color: var(--gipf-text) !important;
}

#about-sec .sub-title {
  color: var(--gipf-saffron-deep) !important;
}

/* Tiranga accent stripe (optional top border on sections) */
.space,
.space-bottom,
.space-top {
  background-color: transparent;
}

/* Footer – light orange, dark saffron text */
.footer-wrapper.footer-layout3 {
  background: linear-gradient(
    180deg,
    var(--gipf-saffron-mid) 0%,
    var(--gipf-saffron-warm) 100%
  ) !important;
  color: var(--gipf-text) !important;
  border-top: 4px solid var(--gipf-saffron-dark);
  position: relative;
  z-index: 2;
  padding-top: 56px !important;
}

.footer-layout3 > .container-fiuld:first-of-type {
  padding-top: 12px;
}

.footer-layout3 > .container-fiuld:first-of-type .title-area {
  margin-bottom: 28px !important;
}

.footer-wrapper.footer-layout3::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--gipf-saffron-dark) 0%,
    var(--gipf-saffron-dark) 33%,
    #ffffff 33%,
    #ffffff 66%,
    var(--gipf-green) 66%,
    var(--gipf-green) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer-layout3 .widget-area,
.footer-layout3 .container-fiuld,
.footer-layout3 .copyright-wrap {
  background: transparent !important;
}

.footer-layout3 .widget_title,
.footer-layout3 .footer-widget.widget_nav_menu a,
.footer-layout3 .copyright-text,
.footer-layout3 .copyright-text a,
.footer-layout3 .footer-text,
.footer-layout3 label,
.footer-layout3 .box-title,
.footer-layout3 p,
.footer-layout3 .gipf-address-box,
.footer-layout3 .gipf-address-box h4,
.footer-layout3 .gipf-address-box p,
.footer-layout3 .gipf-address-box a,
.footer-layout3 .gipf-contact-links a,
.footer-layout3 .sec-title,
.footer-layout3 .title-area .sec-title,
.footer-layout3 .social-link a {
  color: var(--gipf-saffron-deep) !important;
}

.footer-layout3 .widget_title::before {
  background: var(--gipf-green) !important;
}

.footer-layout3 .footer-widget.widget_nav_menu a:hover {
  color: var(--gipf-saffron-dark) !important;
}

.footer-layout3 .footer-text {
  color: rgba(200, 75, 0, 0.12) !important;
  -webkit-text-stroke: 1px rgba(200, 75, 0, 0.08);
}

.footer-layout3 .newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(200, 75, 0, 0.25) !important;
  color: var(--gipf-text) !important;
}

.footer-layout3 .newsletter-form .form-control::placeholder {
  color: rgba(107, 68, 35, 0.55) !important;
}

.footer-layout3 .copyright-wrap {
  border-top: 1px solid rgba(200, 75, 0, 0.2) !important;
  padding-top: 20px;
}

/* Override inline gipf-contact white text on home-3 */
.gipf-contact-info .gipf-address-box,
.gipf-contact-info .gipf-address-box h4,
.gipf-contact-info .gipf-address-box p,
.gipf-contact-info .gipf-address-box a,
.gipf-contact-info .gipf-contact-links a {
  color: var(--gipf-saffron-deep) !important;
}

.gipf-contact-info .gipf-address-box h4 i {
  color: var(--gipf-green) !important;
}

/* Section/card backgrounds – light orange tints */
.brand-card,
.service-card,
.cta-card,
.price-box,
.event-area,
.team-box.style2,
.team-list2,
.contact-form,
.booking-area,
.contact-media-wrapp,
.testi-card.style2 .box-img-wrapp,
.blog-single .blog-content2,
.share-links,
.th-product.product-grid .product-img,
.breadcumb-wrapper,
.blog-area,
.price-area,
.price-card,
.counter-card2 {
  background-color: var(--gipf-saffron-light) !important;
}

.price-area {
  background: linear-gradient(
    135deg,
    var(--gipf-saffron-mid) 0%,
    var(--gipf-saffron-warm) 100%
  ) !important;
  border-radius: 24px;
}

.price-card_wrapp:nth-child(2) .price-card {
  background-color: #fff0d6 !important;
}

.price-card_wrapp:nth-child(3) .price-card {
  background-color: var(--gipf-saffron-mid) !important;
}

.price-card.style2.active,
.price-card.style2.extra.active {
  background: linear-gradient(
    135deg,
    var(--gipf-saffron-dark) 0%,
    var(--gipf-saffron-deep) 100%
  ) !important;
}

.choose-item_wrapp:nth-child(2) .choose-item {
  background-color: var(--gipf-green-light) !important;
}

.counter-card2_wrapp:nth-child(3) .counter-card2 {
  background: var(--gipf-saffron-mid) !important;
}

/* Dark sections from template → light orange */
.footer-layout3 .copyright-wrap,
.service-area4,
[style*="background:#171717"],
[style*="background-color:#171717"] {
  background-color: var(--gipf-saffron-warm) !important;
}

/* Header – light saffron */
.header-layout3.header-absolute .sticky-wrapper,
.header-layout3.header-absolute .menu-area {
  background: linear-gradient(
    135deg,
    #fff9ee 0%,
    var(--gipf-saffron-mid) 100%
  ) !important;
  border-bottom: 2px solid rgba(200, 75, 0, 0.15) !important;
}

.header-layout3 .main-menu > ul > li > a {
  color: var(--gipf-saffron-deep) !important;
}

.header-layout3 .main-menu > ul > li > a:hover {
  color: var(--gipf-saffron-dark) !important;
}

/* Header – hide cart & search, fix menu button visibility */
.header-layout3 .header-button .sideMenuToggler,
.header-layout3 .header-button .searchBoxToggler,
.header-layout3 .header-button > .line {
  display: none !important;
}

.header-layout3 .header-button .th-menu-toggle {
  color: #9a3412 !important;
  background-color: #fff !important;
  border: 1px solid rgba(154, 52, 18, 0.3) !important;
  border-radius: 48px;
}

.header-layout3 .header-button .th-menu-toggle .menu,
.header-layout3 .header-button .th-menu-toggle i,
.header-layout3 .header-button .th-menu-toggle i::before {
  color: #9a3412 !important;
}

.header-layout3 .header-button .th-menu-toggle:hover {
  background-color: #fff4e6 !important;
  color: #c84b00 !important;
  border-color: #c84b00 !important;
}

.header-layout3 .header-button .th-menu-toggle:hover .menu,
.header-layout3 .header-button .th-menu-toggle:hover i {
  color: #c84b00 !important;
}

/* Preloader */
#preloader .preloader-bg-one,
#preloader .preloader-bg-two {
  background: var(--gipf-saffron-light) !important;
}

.loader::after {
  background-image: radial-gradient(circle at 50% 50%, #ffb01f 0%, transparent 50%),
    radial-gradient(circle at 45% 45%, #c84b00 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, #138808 0%, transparent 45%),
    radial-gradient(circle at 45% 55%, #ffd9a8 0%, transparent 45%),
    radial-gradient(circle at 55% 45%, #ffe8cc 0%, transparent 45%) !important;
}

.scroll-top svg path {
  stroke: var(--gipf-saffron-dark);
}

/* Buttons – saffron with green hover accent option */
.th-btn:not(.style-border) {
  background-color: var(--gipf-saffron-dark) !important;
  border-color: var(--gipf-saffron-dark) !important;
}

.th-btn:not(.style-border):hover {
  background-color: var(--gipf-green) !important;
  border-color: var(--gipf-green) !important;
}

/* Hero – warm overlay, white title readable */
.hero-style3 .hero-title,
.hero-style3 .hero-title .hero-main-text,
.hero-style3 .hero-title .hero-sub-text,
.hero-style3 .sub-title {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(154, 52, 18, 0.55);
}

/* Counters & pricing numbers on light bg */
.counter-card .box-number,
.counter-card.style3 .box-number,
.counter-card.style3 .box-text,
.price-card .box-price,
.price-box .box-price {
  color: var(--gipf-saffron-deep) !important;
}

/* Active pricing card – dark orange accent (tiranga saffron band) */
.price-card.style2.active .box-price,
.price-card.style2.active .subtitle,
.price-card.style2.active .available-list li {
  color: #fff !important;
}

/* Mobile – logo & header */
@media (max-width: 991px) {
  .header-layout3 .header-logo {
    padding: 4px 10px !important;
    max-width: 160px;
    line-height: 0;
    overflow: visible;
  }

  .header-layout3 .header-logo img {
    max-height: 44px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  .header-layout3 .menu-area {
    padding: 8px 0 !important;
  }

  .header-layout3 .header-button .th-btn {
    font-size: 12px;
    padding: 10px 14px;
  }

  .th-menu-wrapper .mobile-logo {
    padding: 24px 16px !important;
    background: #fff4e6 !important;
  }

  .th-menu-wrapper .mobile-logo img {
    max-height: 56px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block;
  }

  #about-sec .box-text,
  #about-sec .box-text2 {
    font-size: 15px;
    line-height: 1.75;
    color: #3d2314 !important;
  }

  #about-sec .ps-xl-4 {
    padding-top: 8px;
  }
}

@media (max-width: 575px) {
  .header-layout3 .header-logo {
    max-width: 130px;
    padding: 3px 8px !important;
  }

  .header-layout3 .header-logo img {
    max-height: 38px !important;
  }

  .header-layout3 .header-button .th-btn {
    display: none;
  }

  .header-layout3 .th-menu-toggle .menu {
    display: none;
  }
}

/* Section top spacing – Registration & similar title blocks */
section:has(.price-box) {
  padding-top: 72px !important;
}

section:has(.price-box) .title-area {
  padding-top: 16px;
  margin-bottom: 40px;
}

section:has(.price-box) .title-area .sub-title {
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 10px;
}

/* Remove decorative orange circles / icons on images (site-wide) */
.cta-icon,
.cta-wrapp .cta-img2 .cta-icon,
.team-box .th-social,
.th-team .th-social,
.team-box .th-social a,
.th-team .th-social a,
.team-box:hover .th-social,
.team-box:hover .th-social a,
.discount-wrapp,
.discount-tag,
.about-counter,
.box-btn,
.popup-image.box-btn,
.gallery-box .box-btn,
.gallery-insta .box-btn,
.gallery-card .icon-btn,
.play-btn,
.global-img::before,
.global-img::after,
.team-box .box-img::before,
.gallery-box .box-img::before,
.gallery-card .box-img::before,
.gallery-item .box-img::before {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  content: none !important;
  border: none !important;
  background: none !important;
}
