/* =========================================================
   VARIABLES DE COLOR Y FUENTES
   ========================================================= */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #919ba3;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --font-family: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

/* =========================================================
   ESTILOS BASE
   ========================================================= */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: white;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

p {
    font-size: 14px;
    text-align: justify;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-action {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-action:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-legal {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-legal:hover {
    background-color: var(--primary-color);
}

/* ===============================
   NAVBAR BASE
   =============================== */
.navbar {
  height: 80px;
  background-color: #fff;
  transition: all var(--transition-speed) ease;
}

.navbar .navbar-brand {
  width: 200px;
}

.navbar ul {
  padding: 0 10px !important;
  transition: color var(--transition-speed) ease;
}

.navbar .nav-link {
  color: var(--dark-color);
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .navbar-collapse {
  background-color: #fff;
  padding: 10px;
  border-radius: 20px;
}

.navbar .navbar-toggler:focus {
  color: transparent;
  background-color: var(--light-color);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    height: 85vh;
    background: url('../assets/img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: 2.8rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section-padding {
    padding: 20px;
}

.section-title {
    font-size: 32px;
    padding: 20px 0 10px;
}

.section-title h2 {
    font-size: 32px;
    padding: 20px 0;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 20px;
    padding: 10px 0;
}

/* =========================================================
   CARDS PERSONALIZADAS
   ========================================================= */
.custom-card {
    background: white;
    border-radius: 10px;
    margin: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.custom-card h5 {
    padding: 10px 0;
}

.custom-card .card-img {
    height: 200px;
    object-fit: cover;
}

.custom-card .card-body {
    padding: 20px;
}

.btn-rounded {
    border-radius: 50px;
    padding: 8px 18px;
}

/* =========================================================
   F.A.Q
   ========================================================= */

.faq {
  max-width: 1000px;
  margin: 40px auto;
  font-family: sans-serif;
}

.faq h2 {
  text-align: center;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: block;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.faq-item label::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item input:checked + label::after {
  content: "−";
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}

.answer i {
  padding-right: 5px;
}

.faq-item input:checked ~ .answer {
  max-height: 100px;
  margin-top: 10px;
}

/* =========================================================
   DOCS
   ========================================================= */
.docs {
  background-color: #f8f9fa;
  padding: 20px 0 60px;
}

.docs .docs-card {
  padding: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.docs .docs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.docs-card a {
  font-weight: 600;
}

.docs-card a:hover {
  color: #007bff;
}

/* =========================================================
   INSTAGRAM CAROUSEL
   ========================================================= */
.instagram-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 10px;
  min-height: 400px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background-color: var(--dark-color);
  padding: 40px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.footer-social a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color var(--transition-speed) ease;
}

.footer-social a:hover {
  color: var(--primary-color);
}

.footer p {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* =========================================================
   ANIMACIONES Y EFECTOS
   ========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.shadow-hover:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
