/* style/login.css */

/* Variables (if not already in shared.css) */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register: #C30808; /* Custom color for register */
  --button-login: #C30808;    /* Custom color for login */
  --font-login-register: #FFFF00; /* Custom font color for login/register */
  --background-white: #FFFFFF;
  --border-color: #e0e0e0;
}

.page-login {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light background */
  background: var(--background-white); /* Default body background is white */
}

/* HERO Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body padding-top: var(--header-offset) is handled by shared.css */
  padding-top: 10px; /* Small top padding for aesthetic spacing */
  background-color: var(--primary-color); /* Hero section background */
  color: var(--text-light); /* Light text on dark background */
  overflow: hidden; /* Ensure no image overflow */
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-login__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  /* No filter to change image color */
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-login__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-login__description {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--secondary-color);
}

.page-login__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box; /* Include padding/border in width */
  overflow: hidden; /* Prevent overflow */
}