/* =========================================================
   Global Theme – “Creative / Monochrome + Volumetric UI”
   Complementary to Tailwind CSS  –  Author: AI Assistant
   ========================================================= */

/* ----------  ROOT VARIABLES  ---------- */
:root {
  /* Base greyscale palette */
  --clr-dark: #111111;
  --clr-mid: #555555;
  --clr-light: #ffffff;
  /* Accents for subtle highlights */
  --clr-accent: #1f1f1f;
  --clr-accent-light: #2d2d2d;
  /* Shadows & glass */
  --shadow-volumetric: 0 6px 12px rgba(0, 0, 0, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.35);
  /* Typography */
  --ff-heading: "Manrope", sans-serif;
  --ff-body: "Rubik", sans-serif;
  /* Transition */
  --transition: all 0.35s ease;
}

/* ----------  BASE ELEMENTS  ---------- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-body);
  color: var(--clr-dark);
  background: var(--clr-light);
  line-height: 1.7;
}

/* Ensure headings use correct font & strong contrast */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  color: #222222;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 800;
}

/* Hero text */
#hero h1,
#hero p {
  color: #ffffff !important;
}

/* ----------  BUTTONS  ---------- */
.btn,
button,
input[type="submit"] {
  background: var(--clr-dark);
  color: var(--clr-light);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--shadow-volumetric);
}
.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.4);
}

/* ----------  NAVIGATION  ---------- */
header {
  transition: background 0.4s;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
}
.burger {
  cursor: pointer;
}
.burger div {
  transition: var(--transition);
}

/* ----------  CARD COMPONENT  ---------- */
.card {
  @apply flex flex-col items-center text-center;
  background: var(--clr-light);
  border-radius: 1rem;
  box-shadow: var(--shadow-volumetric);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
}
.card-image,
.image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-image img,
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
.card-content {
  padding: 1.5rem;
}

/* ----------  READ MORE LINKS  ---------- */
.read-more,
a.read-more {
  color: var(--clr-dark);
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}
.read-more::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-dark);
  transition: width 0.3s ease;
}
.read-more:hover::after {
  width: 100%;
}
.read-more:hover {
  color: var(--clr-mid);
}

/* ----------  GLASSMORPHISM  ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ----------  PARALLAX BACKGROUND  ---------- */
.parallax {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ----------  SECTIONS  ---------- */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
section:nth-of-type(even) {
  background: #f7f7f7;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.container {
  margin: 0 auto;
}

/* Cookie pop-up (minimal inline) */
#cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#cookie-popup button {
  border: 1px solid #fff;
  padding: 10px;
}

/* ----------  FOOTER  ---------- */
footer {
  background: var(--clr-dark);
  color: var(--clr-light);
  font-size: 0.95rem;
}
footer a {
  color: var(--clr-light);
  text-decoration: underline;
  transition: var(--transition);
}
footer a:hover {
  color: #b5b5b5;
}
.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

footer h3 {
  color: #fff;
}

/* ----------  ICON PLACEHOLDER (Tailwind handles icons) ---------- */
.icon {
  @apply inline-block w-6 h-6;
}

/* ----------  CAROUSEL  ---------- */
.carousel-track {
  scroll-behavior: smooth;
}
.carousel-item {
  scroll-snap-align: center;
}

/* ----------  SUCCESS PAGE  ---------- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* ----------  LEGAL PAGES (terms, privacy) ---------- */
.legal-page {
  padding-top: 100px;
}

/* ----------  ANIMATIONS  ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}

/* ----------  UTILITIES  ---------- */
.shadow-vol {
  box-shadow: var(--shadow-volumetric);
}
.text-glow {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
