/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

:root {
  --color-primary: #007349;
  --color-primary-dark: #005033;
  --color-accent: #f9fd0e;
  --announcement-height: 48px;
}

/* --- Announcement Bar --- */
.announcement-bar {
  width: 100%;
  min-height: var(--announcement-height);
  background: linear-gradient(95deg, var(--color-primary-dark), var(--color-primary), #008f5d);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-bar.hidden {
  transform: translateY(-100%);
  margin-bottom: calc(-1 * var(--announcement-height));
  opacity: 0;
  pointer-events: none;
}

.announcement-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(249, 253, 14, 0.7);
  animation: pulse 1.6s infinite;
}

.announcement-text {
  font-size: 13.5px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.announcement-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

.announcement-btn {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(249, 253, 14, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 253, 14, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(249, 253, 14, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 253, 14, 0);
  }
}

/* --- Hero Container --- */
.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('assets/lima_skyline_sunset.jpeg') no-repeat center center / cover;
}

/* --- Hero Content (text directly on image, no card) --- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Typography */
.title-welcome {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 65px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.title-experience {
  font-family: 'Rock Salt', cursive;
  font-size: 29px;
  font-weight: 600;
  color: #fff834;
  margin-bottom: 28px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: block;
}

/* Main Call to Action Button */
.btn-primary {
  display: inline-block;
  background-color: #f9fd0e;
  color: #007349;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px 45px;
  border-radius: 0;
  width: 15rem;
  border: none;
  transition: all 0.5s ease-in-out;
}

.btn-primary:hover {
  background-color: #007349;
  color: #f9fd0e;
  transform: scale(1.1);
  cursor: pointer;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* --- Footer --- */
.footer {
  background-color: #e8e8e8;
  border-top: 1px solid #d0d0d0;
  padding: 14px 20px;
  text-align: center;
}

.footer-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 13px;
  color: #555555;
  font-weight: 400;
}

/* --- Responsive Adjustments --- */
@media (max-width: 640px) {
  .title-welcome {
    font-size: 44px;
  }

  .title-experience {
    font-size: 20px;
  }

  .btn-primary {
    padding: 12px 36px;
    font-size: 13px;
    width: 13rem;
  }
}
