/* Custom CSS for Carnes San Martín - Landing Mundial */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #050505;
  --bg-card: #0a0a0a;
  --bg-input: #111111;
  --color-red: #e30613;
  --color-red-hover: #b8050f;
  --color-red-glow: rgba(227, 6, 19, 0.25);
  --color-text-muted: #a0a0a0;
  --font-family: 'Outfit', sans-serif;
  --transition-speed: 0.3s;
}

body {
  background-color: var(--bg-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-family);
  overflow-x: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-red-hover);
}

/* Glassmorphism & Custom Cards */
.custom-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-red);
  border-radius: 12px;
  padding: 24px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.custom-card:hover {
  box-shadow: 0 8px 25px var(--color-red-glow);
  transform: translateY(-4px);
}

/* Outer Form Card Container */
.form-container-card {
  background-color: #030303;
  border: 1px solid rgba(227, 6, 19, 0.4);
  border-radius: 16px;
  padding: 32px 24px;
}

/* Inner Form Card Styling */
.form-inner-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-red);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}

/* Inputs styling */
.form-control,
.form-select {
  background-color: var(--bg-input) !important;
  border: 1px solid #222222 !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 10px 14px;
  transition: all var(--transition-speed) ease;
}

.form-control::placeholder {
  color: #555555;
  font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-red) !important;
  box-shadow: 0 0 8px var(--color-red-glow) !important;
  outline: none;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #ffffff;
}

/* Dropdown styling */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e30613' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn-red-primary {
  background-color: var(--color-red);
  color: #ffffff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  padding: 12px 28px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-red-primary:hover {
  background-color: var(--color-red-hover);
  color: #ffffff;
  box-shadow: 0 0 15px var(--color-red);
  transform: scale(1.02);
}

.btn-red-primary:active {
  transform: scale(0.98);
}

.btn-red-sm {
  background-color: var(--color-red);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 8px 18px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

.btn-red-sm:hover {
  background-color: var(--color-red-hover);
  color: #ffffff;
  box-shadow: 0 0 10px var(--color-red);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.95) 85%, var(--bg-primary) 100%), url('img/fondo-header.webp');
  background-size: cover;
  background-position: top center;
  padding: 120px 0 80px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 100px 0 60px 0;
    text-align: center;
    background-position: top center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Custom Checkbox */
.form-check-input {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--color-red) !important;
  cursor: pointer;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 4px !important;
  transition: all var(--transition-speed) ease;
}

.form-check-input:checked {
  background-color: var(--color-red) !important;
  border-color: var(--color-red) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.form-check-input:focus {
  box-shadow: 0 0 8px var(--color-red-glow) !important;
}

.form-check-label {
  cursor: pointer;
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Upload Box / Drag & Drop Zone */
.upload-zone {
  border: 2px dashed rgba(227, 6, 19, 0.3);
  background-color: #0b0b0b;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.upload-zone:hover {
  border-color: var(--color-red);
  background-color: rgba(227, 6, 19, 0.05);
}

.upload-icon {
  width: 60px;
  height: auto;
  opacity: 0.8;
  transition: opacity var(--transition-speed) ease;
}

.upload-zone:hover .upload-icon {
  opacity: 1;
}

.upload-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

/* Social Links Footer */
.social-icon-link {
  color: #ffffff;
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

.social-icon-link:hover {
  color: var(--color-red);
  transform: translateY(-3px);
}

/* Footer Section */
.footer-logo-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color var(--transition-speed) ease;
}

.footer-link:hover {
  color: var(--color-red);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  .custom-card {
    padding: 16px;
  }

  .form-container-card {
    padding: 20px 15px;
  }
}

/* Footer columns vertical borders */
@media (min-width: 768px) {
  .footer-col-border {
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
}

/* Modal reglamento */
#reglamentoContent h1.regl-h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#reglamentoContent h2.regl-h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 1.25rem 0 0.5rem;
}

#reglamentoContent h3.regl-section {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1.75rem 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(227, 6, 19, 0.25);
}

#reglamentoContent p.regl-p {
  margin-bottom: 0.75rem;
  color: #d0d0d0;
}

#reglamentoContent ul.regl-ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

#reglamentoContent ol.regl-ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

#reglamentoContent li.regl-li-bullet {
  list-style-type: disc;
  color: #d0d0d0;
  margin-bottom: 0.25rem;
}

#reglamentoContent li.regl-li-num {
  list-style-type: decimal;
  color: #d0d0d0;
  margin-bottom: 0.25rem;
}

#reglamentoContent strong {
  color: #fff;
}