/* Custom MATES Text Logo Styles */
.logo-text-wrapper {
  display: inline-block;
  position: relative;
}

.logo-text {
  font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 3px;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
}

/* Light version - for dark/transparent backgrounds */
.logo-light {
  display: inline-block;
}

.logo-light .logo-primary {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-light .logo-accent {
  color: #dc3545;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dark version - for light backgrounds */
.logo-dark {
  display: none;
}

.logo-dark .logo-primary-dark {
  color: #2a2a2a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.logo-dark .logo-accent {
  color: #dc3545;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

/* Switch logo versions based on header state */
.header:not(.header-transparent) .logo-light,
.header.is-sticky .logo-light {
  display: none;
}

.header:not(.header-transparent) .logo-dark,
.header.is-sticky .logo-dark {
  display: inline-block;
}

/* Add decorative underline effect on hover */
.navbar-brand {
  position: relative;
  padding-bottom: 8px;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc3545 0%, #e4606d 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-brand:hover::after {
  width: 60px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .logo-text {
    font-size: 28px;
    letter-spacing: 2px;
  }
}

@media (max-width: 575px) {
  .logo-text {
    font-size: 24px;
    letter-spacing: 1.5px;
  }
}

/* Optional: Add a subtle animation on page load */
@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-text-wrapper {
  animation: logoFadeIn 0.6s ease-out;
}

/* ============================================
   Cookie Consent Banner Styles
   ============================================ */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1b1a1a 0%, #2a2a2a 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  padding: 20px 0;
  animation: slideUp 0.5s ease-out;
  border-top: 3px solid #dc3545;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent__content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.cookie-consent__icon {
  font-size: 36px;
  color: #dc3545;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-consent__text {
  flex: 1;
}

.cookie-consent__title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: 'Rubik', sans-serif;
}

.cookie-consent__description {
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent__link {
  color: #dc3545;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-consent__link:hover {
  color: #e4606d;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent__btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.cookie-modal__content {
  position: relative;
  max-width: 700px;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-modal__header {
  padding: 25px 30px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-modal__title {
  color: #1b1a1a;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  font-family: 'Rubik', sans-serif;
}

.cookie-modal__close {
  background: transparent;
  border: none;
  color: #9b9b9b;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.3s ease, transform 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cookie-modal__close:hover {
  color: #dc3545;
  background: #f9f9f9;
  transform: rotate(90deg);
}

.cookie-modal__body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal__description {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

.cookie-preference {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.cookie-preference:hover {
  border-color: #dc3545;
  box-shadow: 0 2px 8px rgba(255, 118, 7, 0.1);
}

.cookie-preference__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-preference__info {
  flex: 1;
}

.cookie-preference__title {
  color: #1b1a1a;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  font-family: 'Rubik', sans-serif;
}

.cookie-preference__title i {
  color: #dc3545;
}

.cookie-preference__desc {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.cookie-preference__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-preference__status {
  font-size: 12px;
  color: #9b9b9b;
  font-weight: 500;
  text-transform: uppercase;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #dc3545;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.switch input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal__links {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-modal__link {
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.cookie-modal__link:hover {
  color: #e4606d;
  text-decoration: underline;
}

.cookie-modal__footer {
  padding: 20px 30px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  background: #fafafa;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .cookie-consent__container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__content {
    min-width: 100%;
  }

  .cookie-consent__actions {
    justify-content: flex-start;
  }

  .cookie-modal__content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }
}

@media (max-width: 575px) {
  .cookie-consent {
    padding: 15px 0;
  }

  .cookie-consent__content {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-consent__icon {
    font-size: 28px;
  }

  .cookie-consent__title {
    font-size: 16px;
  }

  .cookie-consent__description {
    font-size: 13px;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 8px 15px;
  }

  .cookie-modal__header {
    padding: 20px;
  }

  .cookie-modal__title {
    font-size: 18px;
  }

  .cookie-modal__body {
    padding: 20px;
  }

  .cookie-preference {
    padding: 15px;
  }

  .cookie-preference__header {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-preference__toggle {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-modal__footer {
    padding: 15px 20px;
    flex-direction: column;
  }

  .cookie-modal__footer .btn {
    width: 100%;
  }
}
