/* ===== PANE VERANO STYLES ===== */

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  color: var(--white);
  padding: var(--spacing-8) 0;
  text-align: center;
  border-radius: var(--radius-xl);
  margin: var(--spacing-8) 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-section h1 {
  color: var(--white);
  margin-bottom: var(--spacing-6);
  font-size: var(--font-size-4xl);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-6);
  position: relative;
  z-index: 1;
}

.hero-section .fs-5,
.hero-section .fs-6 {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Decorative Divider */
.decorative-divider {
  position: relative;
  width: 100%;
  height: 60px;
  margin: var(--spacing-8) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.divider-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.divider-icon {
  position: relative;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: rotate 8s linear infinite;
}

.divider-icon::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.divider-icon::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Documents Section */
.documents-section {
  padding: var(--spacing-12) 0;
}

.section-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* PDF Card Styles */
.pdf-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pdf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.pdf-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pdf-card:hover::before {
  transform: scaleX(1);
}

.pdf-card-header {
  padding: var(--spacing-6);
  text-align: center;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.pdf-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  font-size: 1.5rem;
}

.pdf-card:hover .pdf-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.pdf-card-header h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2);
}

.pdf-card-header p {
  font-size: var(--font-size-sm);
  margin: 0;
}

/* PDF Preview Container */
.pdf-preview-container {
  flex: 1;
  padding: var(--spacing-4);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.pdf-preview {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: all var(--transition-normal);
}

.pdf-card:hover .pdf-preview {
  box-shadow: var(--shadow-md);
}

/* PDF Card Footer */
.pdf-card-footer {
  padding: var(--spacing-6);
  text-align: center;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.pdf-btn {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-6);
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
}

.pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Info Section */
.info-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: var(--spacing-12) 0;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-6);
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.info-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-4);
}

.info-text {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-4);
}

.info-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.info-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    padding: var(--spacing-12) 0;
  }

  .hero-section h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-section .lead {
    font-size: var(--font-size-lg);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .pdf-preview-container {
    min-height: 300px;
  }

  .pdf-preview {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: var(--spacing-8) 0;
    margin: var(--spacing-4) 0;
  }

  .hero-section h1 {
    font-size: var(--font-size-2xl);
  }

  .hero-section .lead {
    font-size: var(--font-size-base);
  }

  .hero-section .fs-5 {
    font-size: var(--font-size-sm);
  }

  .hero-section .fs-6 {
    font-size: var(--font-size-xs);
  }

  .decorative-divider {
    height: 40px;
    margin: var(--spacing-4) 0;
  }

  .divider-icon {
    width: 40px;
    height: 40px;
  }

  .divider-icon::before {
    width: 24px;
    height: 24px;
  }

  .divider-icon::after {
    width: 12px;
    height: 12px;
  }

  .section-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
  }

  .pdf-card-header {
    padding: var(--spacing-4);
  }

  .pdf-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .pdf-card-header h5 {
    font-size: var(--font-size-lg);
  }

  .pdf-preview-container {
    min-height: 250px;
    padding: var(--spacing-2);
  }

  .pdf-preview {
    height: 250px;
  }

  .pdf-card-footer {
    padding: var(--spacing-4);
  }

  .info-card {
    padding: var(--spacing-6);
  }

  .info-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .info-title {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: var(--spacing-6) 0;
  }

  .hero-section h1 {
    font-size: var(--font-size-xl);
  }

  .pdf-preview-container {
    min-height: 200px;
  }

  .pdf-preview {
    height: 200px;
  }

  /* Hide PDF preview on very small screens, show only button */
  .pdf-preview-container {
    display: none;
  }

  .pdf-card {
    min-height: auto;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.pdf-btn:focus-visible,
.info-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hero-section,
  .info-section {
    page-break-inside: avoid;
  }

  .pdf-preview {
    height: 600px;
  }
}
