/* Estilos específicos de página Contacto */

:root {
  --light-text-color: #00c8f5;
  --dark-text-color: #21ff04b2;
  --primary-color: #cd0d0d;
  --secondary-color: #ffffff;
}

body {
  color: #212121;
}

.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
.page p,
.page span,
.page a:not(.button),
.page li,
.text-gray-darker {
  color: var(--light-text-color) !important;
}

/* Navbar */
.rd-navbar-top-panel-inner .right-side {
  display: flex;
  align-items: center;
}

#dark-mode-toggle {
  cursor: pointer;
  font-size: 18px;
  padding: 5px 10px;
  margin-right: 15px;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

#dark-mode-toggle i {
  color: var(--light-text-color);
}

#dark-mode-toggle:hover i {
  transform: rotate(20deg);
}

/* Dark Mode */
.dark-mode,
.dark-mode .page {
  background-color: #121212 !important;
}

.dark-mode,
.dark-mode .page-header,
.dark-mode .section.bg-white,
.dark-mode .page-footer,
.dark-mode .rd-navbar-default-with-top-panel,
.dark-mode .rd-navbar-top-panel {
  background-color: #1e1e1e !important;
  color: var(--dark-text-color) !important;
}

.dark-mode .page h1,
.dark-mode .page h2,
.dark-mode .page h3,
.dark-mode .page h4,
.dark-mode .page h5,
.dark-mode .page h6,
.dark-mode .page p,
.dark-mode .page span,
.dark-mode .page li,
.dark-mode .page a:not(.button),
.dark-mode .text-gray-darker {
  color: var(--dark-text-color) !important;
}

.dark-mode .bg-primary {
  background-color: #282828 !important;
}

.dark-mode #dark-mode-toggle i {
  color: #f1c40f;
}

/* Logo pequeño */
.logo-pequeno {
  padding-bottom: 5px;
  display: inline-block;
  margin-right: 15px;
}

.logo-pequeno img {
  max-width: 70px;
  height: auto;
  vertical-align: middle;
}

/* IE Panel */
.ie-panel {
  display: none;
  background: #212121;
  padding: 10px 0;
  box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.3);
  clear: both;
  text-align: center;
  position: relative;
  z-index: 1;
}

html.ie-10 .ie-panel,
html.lt-ie-10 .ie-panel {
  display: block;
}

/* Sección de contacto principal */
.contact-hero {
  padding: 60px 0;
  text-align: center;
}

.contact-hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Formulario */
.contact-form-container {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dark-mode .contact-form-container {
  background: #282828;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-wrap {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--light-text-color);
}

.dark-mode .form-label {
  color: var(--dark-text-color);
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.dark-mode .form-input {
  background-color: #1e1e1e;
  border-color: #444;
  color: var(--dark-text-color);
}

.dark-mode .form-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: 'Lato', sans-serif;
}

/* Información de contacto */
.contact-info-section {
  margin-top: 40px;
}

.contact-info-section h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .contact-card {
  background: #282828;
  border-left-color: var(--secondary-color);
}

.contact-card h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.dark-mode .contact-card h4 {
  color: var(--secondary-color);
}

.contact-card p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.dark-mode .contact-card .icon {
  color: var(--secondary-color);
}

/* Redes sociales */
.social-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px 0;
}

.social-section h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: scale(1.1) rotate(10deg);
}

.dark-mode .social-links a {
  background: var(--secondary-color);
}

.dark-mode .social-links a:hover {
  background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero h2 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-card {
    padding: 20px;
  }

  .social-links {
    gap: 15px;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
