/* General Styles */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

html {
  overflow-x: hidden;
  scroll-padding-top: 160px; /* Header height + extra padding */
}

body {
  font-family: "Montserrat", sans-serif;
  padding-top: 90px;
  color: #383838;
  overflow-x: hidden;
  margin: 0;
  padding-bottom: 0; /* Remove bottom padding to eliminate white space */
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 60px;
}

.navbar-dark .navbar-nav .nav-link {
  color: #383838;
  font-size: 15pt; /* Reduced navbar font size to 15pt to prevent button wrapping */
}

/* Restoring correct button colors - primary orange, secondary green */
.btn-primary {
  background-color: #55c4b6 !important;
  border-color: #55c4b6 !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #46a395 !important;
  border-color: #46a395 !important;
  color: white !important;
}

/* Fixed button stroke for sorteo button */
.btn-outline-success {
  color: #55c4b6 !important;
  border-color: #55c4b6 !important;
  border-width: 2px !important;
  background-color: transparent !important;
  /* Added explicit border style to ensure green border appears */
  border-style: solid !important;
}

/* Hero Section */
.hero {
  background: url("https://www.vetevision.com.ar/background.jpg") center / cover;
  padding: 100px 0;
  margin-bottom: 2rem;
  position: relative;
}

.hero-logo {
  max-width: 500px;
  width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.hero .lead,
.hero-tagline {
  font-size: 6rem;
  font-weight: 700;
  color: #383838;
}

/* Event Info Section */
.event-info {
  padding: 4rem 0;
}

/* Adding orange color to VeteVisión 2025 title in event-info section */
.event-title {
  color: #f27e30 !important;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.event-details {
  margin-top: 0;
}

.event-details p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.event-details i {
  margin-right: 10px;
  color: #55c4b6;
}

.event-description {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.event-details .location-details {
  padding-left: 24px;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

/* Sponsors Section */
/* Fixing full-width sections to prevent horizontal scroll */
.sponsors {
  padding: 4rem 0;
}

.sponsors .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.sponsors h2 {
  font-size: 2.1rem;
  color: #f27e30;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.sponsors .row {
  max-width: 900px;
  margin: 0 auto;
}

.sponsor-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Program Section */
.program-list {
  list-style-position: outside;
  padding-left: 1.5rem;
  margin-top: 2rem;
}

.program-list li {
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.program-list li strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #383838;
}

.program-list li .smaller-text {
  font-size: 0.95rem;
  color: #666;
  display: block;
  line-height: 1.4;
}

/* Speakers Section */
.speakers h2 {
  font-size: 2.1rem;
  color: #f27e30;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.speaker-card {
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.speaker-card:hover {
  transform: translateY(-5px);
}

.speaker-card h3 {
  margin-bottom: 0.5rem;
  color: #f27e30;
  font-weight: 600;
  font-size: 1.2rem;
}

.speaker-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.speaker-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.speaker-card p {
  color: #383838;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .speaker-image {
    width: 150px;
    height: 150px;
  }

  .speaker-card {
    margin-bottom: 2rem;
  }
}

/* Registration Form */
.registration {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.registration h2 {
  font-size: 2.1rem;
  color: #f27e30;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Invitan Section */
/* Fixed full-width sections to eliminate lateral spaces and prevent overflow */
.invitan {
  padding: 4rem 0;
  background-color: #55c4b6;
}

.invitan .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.invitan h2 {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3rem;
  text-align: center;
}

.invitan-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.invitan-logos img {
  max-width: 250px;
  height: auto;
}

/* Footer */
/* Fixed footer to eliminate white space below and lateral spaces */
.footer {
  /* Changed footer background color to #383838 as requested */
  background-color: #383838;
  padding: 3rem 0;
  margin-bottom: 0;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Added styles for larger white social media icons */
.social-icons a {
  color: #ffffff !important;
  font-size: 2rem !important;
  margin: 0 15px !important;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #55c4b6 !important;
}

.copyright {
  color: #ffffff;
  margin-top: 1rem;
}

/* Remove any potential margin or padding that could create white space */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 90px;
  padding-bottom: 0;
}

/* Ensure no elements create overflow or unwanted scrolls */
* {
  box-sizing: border-box;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
}

/* Add animation classes */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .event-info {
    padding: 2rem 0;
  }

  .navbar-brand img {
    height: 50px;
  }

  .sponsors .row {
    margin: 0 -15px;
  }
  .col-md-3 {
    margin-bottom: 2rem;
  }
  .speaker-card {
    margin-bottom: 1.5rem;
  }
  .program-list {
    padding-left: 1rem;
  }
  .program-list li strong {
    font-size: 1rem;
  }
  .social-icons a {
    font-size: 1.2rem;
    margin: 0 10px;
  }

  .copyright {
    font-size: 0.8rem;
  }
  .hero .lead,
  .hero-tagline {
    font-size: 4rem;
  }

  /* Add more spacing between buttons in mobile hamburger menu */
  .navbar-collapse .navbar-nav {
    gap: 1rem;
  }

  .navbar-collapse .btn {
    margin: 0.5rem 0;
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .hero .lead,
  .hero-tagline {
    font-size: 5rem;
  }
}

@media (max-width: 576px) {
  .hero .lead,
  .hero-tagline {
    font-size: 3rem;
  }
}

.program .col-md-4 {
  align-self: flex-start;
}

/* Add these new styles for the thank you page */
.thank-you-content {
  padding: 4rem 0;
  color: #383838;
}

.thank-you-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #383838;
}

.thank-you-text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.instagram-link {
  margin-top: 2rem;
}

.instagram-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: #383838;
  text-decoration: none;
  transition: color 0.3s ease;
}

.instagram-link a:hover {
  color: #f27e30;
}

.instagram-link i {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .thank-you-title {
    font-size: 2.5rem;
  }

  .thank-you-text {
    font-size: 1.2rem;
  }

  .instagram-link a {
    font-size: 1.2rem;
  }
}

/* Notice Section Styles */
.notice-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

.notice-text {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 400; /* Changed to regular */
  color: #383838;
  text-align: center;
  margin-bottom: 2rem;
}

.notice-text strong {
  font-weight: 700; /* Bold for specific parts */
}

.follow-us-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #383838;
  text-align: center;
  margin-bottom: 1rem;
}

.instagram-link {
  text-align: center;
}

.instagram-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: #55c4b6; /* Changed to the green color of buttons */
  text-decoration: none;
  transition: color 0.3s ease;
}

.instagram-link a:hover {
  color: #46a395; /* Darker shade for hover state */
}

.instagram-link i {
  font-size: 2rem;
  color: #55c4b6; /* Ensuring the icon is also green */
}

@media (max-width: 768px) {
  .notice-text {
    font-size: 1.5rem;
  }

  .follow-us-text {
    font-size: 1.3rem;
  }

  .instagram-link a {
    font-size: 1.2rem;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
  color: white;
  font-size: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float i {
    font-size: 24px;
  }
}

/* Fixing responsive image container to prevent horizontal scroll */
.responsive-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Mantiene proporción sin distorsión */
  max-width: 100%;
}

/* Si quieres que la imagen tenga una altura máxima específica */
.responsive-image-with-max-height {
  width: 100%;
  height: auto;
  max-height: 500px; /* Ajusta según necesites */
  object-fit: contain; /* Muestra toda la imagen sin recortar */
  display: block;
}

/* Para diferentes breakpoints */
@media (max-width: 1200px) {
  .responsive-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .responsive-image {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .responsive-image {
    max-height: 200px;
  }
}

/* Added CSS for aligned schedule layout */
.program-schedule {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 80px 20px 1fr;
  align-items: center;
  gap: 8px;
}

.schedule-item .time {
  font-weight: bold;
  text-align: right;
}

.schedule-item .separator {
  text-align: center;
  font-weight: bold;
}

.schedule-item .description {
  text-align: left;
}

/* Added event-brand class for VeteVisión 2025 with orange color and smaller font */
.event-brand {
  color: #f27e30;
  font-size: calc(1.5rem);
  margin-bottom: 0.5rem;
}

/* Removing problematic full-width section styles that cause horizontal scroll */
/* Container styles to prevent content overflow */
.container,
.container-fluid {
  max-width: 100%;
}

/* Ensure all sections don't create horizontal overflow */
section {
  max-width: 100%;
}
