/* =======================================================
  Global Theme Variables
======================================================= */
:root {
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #5d9cff 0%, #b742ff 100%);
  --gradient-secondary: linear-gradient(135deg, #00d4ff 0%, #3a7dff 100%);
  --gradient-dark: linear-gradient(135deg, #1e1e2e 0%, #2e2e3e 100%);

  /* Solid Colors */
  --color-light: #ffffff;
  --color-dark: #222222;
  --color-overlay: rgba(0, 0, 0, 0.55);
  --color-accent: #ffb457;
  --color-accent-dark: #d48c30;
  --color-muted: #7f7f7f;

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Shadows & Blur */
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --blur-strength: 20px;
}

/* =======================================================
  Base
======================================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--gradient-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: 0 0 0.5em;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,.1);
}

p {
  margin: 0 0 1em;
  max-width: 70ch;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-block: 3rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* =======================================================
  Glassmorphism Wrapper
======================================================= */
.glass {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(var(--blur-strength));
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =======================================================
  Sections
======================================================= */
.section {
  padding: 4rem 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: -2;
}

.hero__content {
  position: relative;
  color: var(--color-light);
  text-align: center;
  padding: 6rem 1rem 8rem;
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.progress-bar {
  width: 200px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  margin: 2rem auto 0;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: inherit;
}

/* =======================================================
  Buttons
======================================================= */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--gradient-primary);
  color: var(--color-light);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn:focus-visible { outline: 2px dashed var(--color-accent-dark); }

/* Read More Links */
a.read-more {
  color: var(--color-accent);
  font-weight: 600;
  position: relative;
}

a.read-more::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.2s;
}

a.read-more:hover::after { transform: translateX(4px); }

/* =======================================================
  Header & Navigation
======================================================= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(var(--blur-strength));
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.logo span { color: var(--color-accent); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--color-light);
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav a:hover::after { width: 100%; }

/* Burger */
#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
}

#burger span {
  width: 24px;
  height: 2px;
  background: var(--color-light);
  transition: transform .3s, opacity .3s;
}

@media (max-width: 900px) {
  #burger { display: flex; }
  .nav { position: fixed; inset: 0 0 auto auto; padding-top: 70px; background: var(--gradient-dark); height: 100vh; width: 280px; transform: translateX(100%); transition: transform 0.4s; flex-direction: column; }
  .nav ul { flex-direction: column; gap: 1.25rem; align-items: center; }
  .nav.open { transform: translateX(0); }
}

/* =======================================================
  Vision Goals
======================================================= */
.goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.goal-title {
  font-weight: 600;
  margin-bottom: .5rem;
  display: block;
}

/* =======================================================
  Gallery & Cards
======================================================= */
.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.card:hover { transform: translateY(-6px); }

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.card-content p { color: var(--color-muted); }

/* =======================================================
  External Links Section
======================================================= */
.external-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.external-list li + li { margin-top: .75rem; }

.external-list a {
  color: var(--color-light);
  background: var(--gradient-primary);
  padding: .5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  transition: box-shadow .3s;
}

.external-list a:hover { box-shadow: var(--shadow-lg); }

/* =======================================================
  Accordion
======================================================= */
.accordion details {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-lg);
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion p { margin-top: .75rem; }

/* =======================================================
  Timeline
======================================================= */
.timeline {
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-marker {
  position: absolute;
  top: 1rem;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(even) .timeline-marker { left: -10px; right: auto; }

.timeline-content {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Responsive timeline */
@media (max-width: 850px) {
  .timeline::before { left: 8px; }
  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    width: 100%;
    padding-left: 2.5rem;
    text-align: left;
    left: 0;
  }
  .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 0;
    right: auto;
  }
}

/* =======================================================
  Contact Form
======================================================= */
.contact-form {
  max-width: 650px;
  margin-inline: auto;
  border-radius: 16px;
  padding: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--color-light);
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.7); }

textarea { resize: vertical; }

/* =======================================================
  Footer
======================================================= */
.footer {
  background: var(--gradient-dark);
  color: var(--color-light);
  text-align: center;
  padding: 2rem 0;
}

.footer-nav a,
.social-links a {
  color: var(--color-accent);
  margin: 0 .5rem;
  transition: color .3s;
}

.footer-nav a:hover,
.social-links a:hover { color: var(--color-light); }

.social-links {
  margin-top: 1rem;
  font-weight: 600;
}

/* Social Links Icons-style text */
.social-links a {
  padding: .25rem .5rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

/* =======================================================
  Success Page
======================================================= */
.page-success {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-light);
  text-align: center;
  padding: 2rem;
}

.page-success h1 {
  color: var(--color-light);
  font-size: 2rem;
}

/* =======================================================
  Privacy & Terms Pages
======================================================= */
.page-legal {
  padding-top: 100px;
}

/* =======================================================
  Cookie Popup
======================================================= */
#cookie-popup {
  font-size: 0.9rem;
}

#accept-cookies {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: 6px;
  transition: background .3s;
}

#accept-cookies:hover { background: var(--color-accent-dark); }

/* =======================================================
  Animations (Nonlinear Motion)
======================================================= */
@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

[data-motion] {
  /*opacity: 0;*/
  transform: translateY(30px);
}

[data-motion].visible {
  animation: fade-in-up .8s cubic-bezier(.3,.7,.4,1) forwards;
}

@keyframes fade-in-up {
  to { opacity: 1; transform: translateY(0); }
}

/* =======================================================
  Scroll & Motion Observer helper
======================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .card,
  .timeline-content,
  .accordion details {
    animation: floatY 6s ease-in-out infinite;
  }
}
#burger{
  display: none;
}