:root {
  --blue: #1fb6ff;
  --green: #00c48c;
  --light: #f0fdf4;
  --dark: #003c3c;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--light);
  color: var(--dark);
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  transition: background 0.3s ease;
}

header.sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 50px;
}

nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex: 1;
}

nav a {
  color: white;
  transition: color 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

header.sticky nav a {
  color: var(--dark);
}

.login-btn {
  background: var(--green);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

header.sticky .login-btn {
  background: var(--green);
  color: white;
}

/* HERO DEFAULT */
.hero {
  position: relative;
  height: 100vh;
  background: url('../img/hero_subscriptions.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(-45deg, rgba(0, 200, 150, 0.5), rgba(31, 182, 255, 0.5), rgba(0, 60, 60, 0.6));
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* HERO - ABOUT & CONTACT */
.hero.about-hero {
  height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.hero.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 60, 60, 0.6);
  z-index: 0;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* FORM CONTAINERS */
.form-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.form-box, .login-box, .form-tile {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.form-box h2, .login-box h2, .form-tile h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--blue);
}

.form-box input,
.form-box select,
.login-box input,
.form-tile input,
.form-tile textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.form-box button,
.login-box button,
.form-tile button {
  width: 100%;
  background: var(--green);
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 12px;
  cursor: pointer;
}

/* MESSAGES */
.error, .success {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.error { color: red; }
.success { color: green; }

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem;
}

iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  border: none;
}

.contact-info {
  font-size: 1rem;
  line-height: 1.7;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info a {
  color: var(--blue);
  text-decoration: none;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
}

.card {
  background: white;
  border: 2px dashed var(--green);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.page-content {
  padding-top: 80px; /* matches header height */
}
/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: #e0fff3;
  font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
