/* ===================================================================
   Axina Group – Brand Stylesheet
   =================================================================== */

:root {
  --brand-orange: #E37C2D;
  --brand-dark: #1D2D43;
  --brand-white: #ffffff;
}

/* --- Utility Classes --- */
.text-brand-orange { color: var(--brand-orange) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }

/* --- Brand Button --- */
.btn-brand {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}
.btn-brand:hover {
  background-color: #c46a1f;
  border-color: #c46a1f;
  color: white;
}

/* --- Ticker Bar --- */
.ticker-bar {
  background: var(--brand-dark);
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
}
.ticker-bar .text-brand-orange {
  color: var(--brand-orange) !important;
  font-weight: bold;
}
.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767.98px) {
  .ticker-bar {
    font-size: 0.8rem;
    padding: 8px 0;
  }
}

/* --- Hero Section --- */
/* Set background-image per page via inline style, e.g.:
   style="background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.8)), url('assets/media/images/your-image.jpg')" */
.hero-section {
  background-color: var(--brand-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh;
  padding: 6rem 1.5rem;
}

.hero-section.about-hero {
  min-height: 40vh;
  padding: 3rem 1.5rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 60vh;
    padding: 5rem 1.25rem;
    background-position: 60% center;
  }
  .hero-section.about-hero {
    min-height: 30vh;
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 50vh;
    padding: 4rem 1rem;
  }
  .hero-section.about-hero {
    min-height: 25vh;
    padding: 2rem 1rem;
  }
  .hero-section h1 {
    font-size: 1.75rem;
  }
  .hero-section p.fs-5 {
    font-size: 1rem !important;
  }
}

@media (max-width: 479.98px) {
  .hero-section {
    min-height: 45vh;
    padding: 3rem 1rem;
  }
  .hero-section.about-hero {
    min-height: 22vh;
    padding: 1.5rem 1rem;
  }
  .hero-section h1 {
    font-size: 1.4rem;
  }
}

/* --- Cookie Consent Banner --- */
#cookie-banner {
  display: none;          /* JS controls visibility – prevents flash before CSS is ready */
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: var(--brand-dark);
  color: #fff;
  border-radius: .75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  border-left: 4px solid var(--brand-orange);
  z-index: 10000;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  overflow: hidden;
}
/* Step 1 — put it in the layout (display:block) so transition fires correctly */
#cookie-banner.cookie-banner--ready {
  display: block;
}
/* Step 2 — animate in */
#cookie-banner.cookie-banner--visible {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cookie-banner__title {
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cookie-banner__title i { color: var(--brand-orange); }
.cookie-banner__close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.45);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 .25rem;
  line-height: 1;
  transition: color .2s;
}
.cookie-banner__close:hover { color: #fff; }
.cookie-banner__body {
  padding: .875rem 1rem;
}
.cookie-banner__text {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .875rem;
  line-height: 1.55;
}
.cookie-banner__badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-bottom: .625rem;
}
.cookie-banner__badge--eu {
  background: rgba(227,124,45,.2);
  color: var(--brand-orange);
  border: 1px solid rgba(227,124,45,.4);
}
.cookie-banner__badge--us {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.15);
}
.cookie-banner__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn {
  font-size: .78rem;
  padding: .4rem .9rem;
  border-radius: .4rem;
  font-weight: 600;
}
.cookie-banner__footer {
  padding: .5rem 1rem .75rem;
  font-size: .7rem;
  color: rgba(255,255,255,.35);
}
.cookie-banner__footer a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
}
.cookie-banner__footer a:hover { color: #fff; }

@media (max-width: 479.98px) {
  #cookie-banner,
  #cookie-banner.cookie-banner--ready,
  #cookie-banner.cookie-banner--visible {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: .75rem .75rem 0 0;
    border-left: none;
    border-top: 4px solid var(--brand-orange);
  }
}
