/**
 * ADRAR HOTEL CUSTOM BRANDING
 * Custom color palette and brand overrides
 *
 * Color Palette:
 * - Desert Sand: #D4A574
 * - Deep Blue: #1B4965
 * - Terracotta: #C1666B
 * - Cream: #F4F1DE
 * - Dark Charcoal: #26282b
 */

/* Primary Brand Color Replacements */
/* Replace old gold (#9f8054) with Desert Sand (#D4A574) */
input[type=submit],
button.custom-button {
  background: #D4A574;
}

input[type=submit]:hover,
button.custom-button:hover {
  background: #C1666B;
}

a:hover,
.selected,
select option:checked {
  color: #D4A574;
}

.page-header h1 small,
.page-header .breadcrumb a:hover {
  color: #D4A574 !important;
}

.breadcrumb-item.active {
  color: #D4A574 !important;
}

.custom-link:hover {
  color: #D4A574;
}

.side-navigation nav ul li a:hover,
.side-navigation nav ul li a.active {
  color: #F4F1DE;
}

.content-box a:hover {
  color: #D4A574;
}

/* Beige/Cream replacements */
/* Replace old beige (#ebcfa7) with Cream (#F4F1DE) */
.preloader {
  background: #F4F1DE;
}

.side-navigation ul li a small,
.side-navigation footer {
  color: #F4F1DE;
}

.transition-overlay.is-active {
  background: #F4F1DE;
}

/* Gradients */
.transition-overlay {
  background: #1B4965;
  background: -moz-linear-gradient(161deg, #1B4965 0%, #1B4965 49%, #D4A574 100%);
  background: -webkit-linear-gradient(161deg, #1B4965 0%, #1B4965 49%, #D4A574 100%);
  background: linear-gradient(161deg, #1B4965 0%, #1B4965 49%, #D4A574 100%);
}

/* Additional Branding Elements */
.navbar-brand {
  color: #1B4965 !important;
}

.side-navigation {
  background: #1B4965;
}

/* Accent highlights using terracotta */
.highlight-terracotta {
  color: #C1666B;
}

.bg-terracotta {
  background-color: #C1666B;
}

/* Desert sand backgrounds */
.bg-desert-sand {
  background-color: #D4A574;
}

/* Deep blue backgrounds */
.bg-deep-blue {
  background-color: #1B4965;
  color: #fff;
}

/* Cream backgrounds */
.bg-cream {
  background-color: #F4F1DE;
}

/* Custom hero text styling */
.hero-caption h1,
.intro-text h2 {
  color: #1B4965;
}

.hero-caption .lead {
  color: #26282b;
}

/* Button overrides for Adrar branding */
.btn-primary {
  background-color: #D4A574;
  border-color: #D4A574;
}

.btn-primary:hover {
  background-color: #C1666B;
  border-color: #C1666B;
}

.btn-outline-primary {
  color: #D4A574;
  border-color: #D4A574;
}

.btn-outline-primary:hover {
  background-color: #D4A574;
  border-color: #D4A574;
  color: #fff;
}

/* Link colors */
a {
  color: #1B4965;
}

a:hover {
  color: #D4A574;
  text-decoration: none;
}

/* Footer customization */
.footer {
  background-color: #1B4965;
  color: #F4F1DE;
}

.footer a {
  color: #F4F1DE;
}

.footer a:hover {
  color: #D4A574;
}

/* ============================================
   DOCUMENTS PAGE STYLES
   ============================================ */

.documents-section {
  padding: 100px 0 80px;
  background-color: #fff;
}

.documents-section .section-title {
  margin-bottom: 60px;
}

.documents-section .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1B4965;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.documents-section .section-title p {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
}

.document-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.document-card:hover {
  transform: translateY(-10px);
  border-color: #D4A574;
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.15);
}

.document-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #1B4965 0%, #2c6280 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.document-card:hover .document-icon {
  background: linear-gradient(135deg, #D4A574 0%, #C1666B 100%);
  transform: scale(1.1);
}

.document-icon i {
  font-size: 36px;
  color: #fff;
}

.document-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #1B4965;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.document-card p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.document-meta {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.document-meta span {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-meta span i {
  font-size: 14px;
  color: #D4A574;
}

.document-card .btn {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.document-card .btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.document-card .btn:hover i {
  transform: translateY(2px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .documents-section {
    padding: 80px 0 60px;
  }

  .documents-section .section-title h2 {
    font-size: 36px;
  }

  .document-card {
    padding: 35px 25px;
  }
}

@media (max-width: 767px) {
  .documents-section {
    padding: 60px 0 40px;
  }

  .documents-section .section-title h2 {
    font-size: 30px;
  }

  .documents-section .section-title p {
    font-size: 16px;
  }

  .document-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .document-card h4 {
    font-size: 20px;
  }

  .document-icon {
    width: 70px;
    height: 70px;
  }

  .document-icon i {
    font-size: 32px;
  }

  .document-meta {
    gap: 15px;
  }
}
