/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Inter+Tight:100,200,300,400,500,600,700,800,900,100i,200i,300i,400i,500i,600i,700i,800i,900i&display=swap');

/* Color Variables */
:root {
  --icpdp-blue: #0f2042;
  --icpdp-blue-hover: #1e3d7a;
  --icpdp-gold: #c5a059;
  --icpdp-gold-light: #e6ce9c;
  --icpdp-dark: #0a111f;
  --icpdp-light: #f8f9fa;
  --icpdp-gray: #6c757d;
  --icpdp-border: #e9ecef;
  --font-family: 'Inter Tight', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--icpdp-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--icpdp-light);
}

::-webkit-scrollbar-thumb {
  background: var(--icpdp-gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--icpdp-blue);
}

/* Navbar styles */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--icpdp-gold);
  padding: 0.8rem 0;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--icpdp-blue) !important;
  text-decoration: none;
  font-size: 1.4rem;
}

.navbar-custom .navbar-brand img {
  height: 3rem;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-custom .nav-link {
  color: var(--icpdp-dark) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--icpdp-gold);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover {
  color: var(--icpdp-blue) !important;
}

.navbar-custom .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-custom .btn-navbar {
  background-color: var(--icpdp-blue);
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--icpdp-blue);
  transition: var(--transition-smooth);
}

.navbar-custom .btn-navbar:hover {
  background-color: transparent;
  color: var(--icpdp-blue) !important;
  border-color: var(--icpdp-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 32, 66, 0.2);
}

/* Sections Common */
section {
  padding: 1rem 0;
}

.section-title {
  position: relative;
  font-weight: 800;
  color: var(--icpdp-blue);
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--icpdp-gold);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero-banner-wrapper {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  cursor: pointer;
  background-color: #fff;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.hero-banner-wrapper:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
}

.hero-banner-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Pre-inscripcion Section */
.preinscripcion-section {
  background-color: #ffffff;
}

.img-preinscripcion-wrapper {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid rgba(15, 32, 66, 0.1);
}

.img-preinscripcion-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15, 32, 66, 0.15);
}

.btn-formulario-cta {
  background-color: transparent;
  color: var(--icpdp-blue);
  border: 2px solid var(--icpdp-blue);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.btn-formulario-cta:hover {
  background-color: var(--icpdp-blue);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 32, 66, 0.25);
}

/* Homenaje Section */
.homenaje-section {
  background-color: var(--icpdp-light);
}

.card-homenaje {
  background-color: #ffffff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
  border-bottom: 4px solid transparent;
}

.card-homenaje:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--icpdp-gold);
}

.card-homenaje .card-img-wrapper {
  overflow: hidden;
  position: relative;
  /* aspect-ratio: 1; */
}

.card-homenaje img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card-homenaje:hover img {
  transform: scale(1.05);
}

.card-homenaje .card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.card-homenaje .card-title {
  font-weight: 800;
  color: var(--icpdp-blue);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.card-homenaje .card-text {
  color: var(--icpdp-gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Contacto Section */
.contacto-section {
  background-color: #ffffff;
}

.contact-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid var(--icpdp-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.contact-card h4 {
  font-weight: 800;
  color: var(--icpdp-blue);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.contact-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--icpdp-gold);
  border-radius: 2px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--icpdp-gold);
  margin-top: 3px;
  width: 25px;
  text-align: center;
}

.contact-item .contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item .contact-label {
  font-weight: 700;
  color: var(--icpdp-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-item .contact-value {
  color: var(--icpdp-dark);
  font-size: 1.05rem;
}

.contact-item .contact-value a {
  color: var(--icpdp-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-item .contact-value a:hover {
  color: var(--icpdp-gold);
}

.price-box {
  background-color: var(--icpdp-light);
  border-left: 4px solid var(--icpdp-gold);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.price-item:not(:last-child) {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.price-item2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  background-color: #acb8f1;
}

.price-item2:not(:last-child) {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.price-label {
  color: var(--icpdp-dark);
}

.price-value {
  color: var(--icpdp-blue);
  font-size: 1.2rem;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--icpdp-border);
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

/* Footer Section */
.footer-section {
  background-color: var(--icpdp-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  border-top: 4px solid var(--icpdp-gold);
}

.footer-section p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  section {
    padding: 3.5rem 0;
  }

  .navbar-custom {
    padding: 0.5rem 0;
  }

  .navbar-custom .navbar-collapse {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    border: 1px solid var(--icpdp-border);
  }

  .navbar-custom .nav-link::after {
    display: none;
  }

  .navbar-custom .btn-navbar {
    margin-top: 1rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  .map-wrapper iframe {
    min-height: 350px;
  }
}
