*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #194F9E;
  --color-primary-hover: #15438a;
  --color-dark: #161616;
  --color-white: #FFFFFF;
  --color-gray: #5E5E5E;
  --color-dark-gray: #1B1B1B;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-dark);
  min-height: 100vh;
}

/* Page Layout: Sidebar + Main */
.page {
  display: flex;
  min-height: 100vh;
}

/* Left Sidebar - White bar with logo */
.sidebar {
  width: 320px;
  min-width: 320px;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.sidebar__logo {
  max-width: 240px;
  width: 100%;
  height: auto;
}

/* Main Content Area */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0.5) 0%, rgba(22, 22, 22, 0.6) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 3rem 2rem;
}

.hero__heading {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero__subtext {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  min-height: 48px;
  box-shadow: 0 4px 15px rgba(25, 79, 158, 0.4);
  letter-spacing: 0.02em;
}

.hero__cta:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 79, 158, 0.5);
}

.hero__cta:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  background-color: var(--color-dark-gray);
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--color-gray);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(27, 27, 27, 0.97);
  border-top: 1px solid #333;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 100;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
}

.cookie-banner__btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.2s ease;
}

.cookie-banner__btn:hover {
  background-color: var(--color-primary-hover);
}

.cookie-banner__btn--decline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.cookie-banner__btn--decline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.8);
  background-color: transparent;
}

/* Mobile: stack sidebar on top */
@media (max-width: 768px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: unset;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .sidebar__logo {
    max-width: 200px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__heading {
    font-size: 1.5rem;
  }

  .hero__subtext {
    font-size: 1rem;
  }

  .hero__cta {
    font-size: 1.05rem;
    padding: 1rem 2rem;
    width: 100%;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
