:root {
  --primary-blue: #0a1b35;
  --text-white: #ffffff;
  --text-white-70: rgba(255, 255, 255, 0.7);
  --text-white-90: rgba(255, 255, 255, 0.9);
  --font-sans: "Nunito Sans", sans-serif;
  --border-radius: 2rem;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --blur: blur(16px);
}

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

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--primary-blue);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 200;
  line-height: 1.6;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  transition: var(--transition);
  z-index: 1000;
  padding: 1rem 2rem;
}

.navbar svg {
  display: none;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(6, 19, 40, 0.9);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

.navbar.scrolled svg {
  display: block;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 832px;
  margin: 0 auto;
  width: 100%;
}

.logo-navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links-and-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

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

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

.nav-links a:hover {
  color: var(--text-white-90);
}

.cta {
  border: 1px solid var(--text-white);
  background: none;
  color: var(--text-white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-white);
  transition: left 0.3s ease;
  z-index: -1;
}

.cta:hover::before {
  left: 0;
}

.cta:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--text-white);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger:hover {
  color: var(--text-white-90);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 2rem 0 1rem 0;
}

.mobile-menu a {
  color: var(--text-white);
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-white-90);
  transform: translateX(8px);
}

.hero {
  width: 100%;
  height: 100vh;
  background: rgba(10, 27, 53, 0.8) url("../img/hero.jpg") center/cover no-repeat;
  background-blend-mode: multiply;
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.start-planning-bg {
  width: 100%;
  height: auto;
  min-height: 100vh;
  background: rgba(10, 27, 53, 0.8) url("../img/hero2.jpg") center/cover no-repeat;
  background-blend-mode: multiply;
}

.hero svg {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero .discover {
  position: absolute;
  bottom: 2rem;
  color: var(--text-white);
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.3s forwards;
  transition: var(--transition);
}

.hero .discover:hover {
  transform: translateY(-4px);
}

.container {
  max-width: 600px;
  margin: 0 2rem;
  text-align: center;
}

.container-alternate {
  max-width: 834px;
  margin: 8rem 2rem 0 2rem;
  text-align: left;
  color: var(--text-white);
}

.start-planning {
  margin: 8rem auto !important;
  width: 84%;
}

.container-alternate h1,
.container-alternate h2 {
  font-weight: 200;
  color: var(--text-white);
}

.container-alternate p,
.container-alternate ul {
  font-size: 1rem;
  color: var(--text-white-70);
}

.container-alternate a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
}

.container-alternate a:hover {
  color: var(--text-white-90);
}

.container-alternate-image {
  width: 100%;
  height: 250px;
  margin: 4rem 0;
}

.why-us-1 { background: url("../img/why-us-1.jpg") center/cover no-repeat; background-attachment: fixed; }
.why-us-2 { background: url("../img/why-us-2.jpg") center/cover no-repeat; background-attachment: fixed; }
.why-us-3 { background: url("../img/why-us-3.jpg") center/cover no-repeat; background-attachment: fixed; }
.why-us-4 { background: url("../img/why-us-4.jpg") center/cover no-repeat; background-attachment: fixed; }
.why-us-5 { background: url("../img/why-us-5.jpg") center/cover no-repeat; background-attachment: fixed; }
.about-1 { background: url("../img/about-1.jpg") center/cover no-repeat; background-attachment: fixed; }

.title {
  font-size: clamp(2rem, 4vw, 2.25rem);
  font-family: var(--font-sans);
  font-weight: 200;
  color: var(--text-white);
  margin: 0;
  text-transform: capitalize;
}

.subtext {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-white-70);
  margin: 4px 0 0 0;
}

.card-experience-container {
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 1rem;
  scroll-padding: 0 1rem;
}

.card-experience-container::-webkit-scrollbar {
  display: none;
}

.card-experience {
  position: relative;
  flex: 0 0 auto;
  width: 400px;
  height: 300px;
  scroll-snap-align: start;
  transition: var(--transition);
}

.card-experience:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-experience-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
}

.card-experience-title {
  font-size: 2rem;
  font-family: var(--font-sans);
  font-weight: 200;
  color: var(--text-white);
  margin: 0;
}

.bg-exp-1 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-1.jpg") center/cover no-repeat; }
.bg-exp-2 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-2.jpg") center/cover no-repeat; }
.bg-exp-3 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-3.jpg") center/cover no-repeat; }
.bg-exp-4 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-4.jpg") center/cover no-repeat; }
.bg-exp-5 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-5.jpg") center/cover no-repeat; }
.bg-exp-6 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-6.jpg") center/cover no-repeat; }
.bg-exp-7 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-7.jpg") center/cover no-repeat; }
.bg-exp-8 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-8.jpg") center/cover no-repeat; }
.bg-exp-9 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-9.jpg") center/cover no-repeat; }
.bg-exp-10 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%), url("../img/exp-10.jpg") center/cover no-repeat; }

.card-inspiration-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 832px;
  width: 84%;
}

.card-inspiration {
  position: relative;
  width: 100%;
  max-width: 272px;
  height: 182px;
  transition: var(--transition);
  justify-self: center;
}

.card-inspiration:hover {
  transform: scale(1.05) translateY(-4px);
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-inspiration-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
}

.card-inspiration-title {
  font-size: 1rem;
  font-weight: 200;
  font-family: var(--font-sans);
  color: var(--text-white);
  margin: 0;
  text-align: center;
}

.bg-insp-1 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-1.jpg") center/cover no-repeat; }
.bg-insp-2 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-2.jpg") center/cover no-repeat; }
.bg-insp-3 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-3.jpg") center/cover no-repeat; }
.bg-insp-4 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-4.jpg") center/cover no-repeat; }
.bg-insp-5 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-5.jpg") center/cover no-repeat; }
.bg-insp-6 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-6.jpg") center/cover no-repeat; }
.bg-insp-7 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-7.jpg") center/cover no-repeat; }
.bg-insp-8 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-8.jpg") center/cover no-repeat; }
.bg-insp-9 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-9.jpg") center/cover no-repeat; }
.bg-insp-10 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-10.jpg") center/cover no-repeat; }
.bg-insp-11 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-11.jpg") center/cover no-repeat; }
.bg-insp-12 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-12.jpg") center/cover no-repeat; }
.bg-insp-13 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-13.jpg") center/cover no-repeat; }
.bg-insp-14 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-14.jpg") center/cover no-repeat; }
.bg-insp-15 { background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/insp-15.jpg") center/cover no-repeat; }

.footer {
  background-color: var(--primary-blue);
  padding: 2rem 1rem;
  color: var(--text-white-70);
  font-size: 0.75rem;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 834px;
  margin: 0 auto;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white-90);
  transform: translateY(-2px);
}

.footer-legal {
  color: var(--text-white-70);
  line-height: 1.5;
}

.spacing {
  width: 100%;
  height: 3rem;
}

.cta:focus,
.nav-links a:focus,
button:focus {
  outline: 2px solid var(--text-white);
  outline-offset: 2px;
}

form, form p {
  color: var(--text-white) !important;
}

form small {
  color: var(--text-white-70)
}

form strong {
  font-weight: 600;
}

input, textarea, select {
  background-color: rgba(6, 19, 40, 0.9);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  border: 0;
  padding: 1rem;
  width: 100%;
  margin: .25rem 0;
  outline: none;
  font-family: var(--font-sans);
  font-weight: 200;
  color: var(--text-white);
  font-size: 1rem;
}

input::placeholder, textarea::placeholder, select::placeholder {
  font-family: var(--font-sans);
  font-weight: 200;
  color: var(--text-white-70);
}

.radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 4px;
    height: 4px;
    outline: none;
    cursor: pointer;
    background-color: rgb(6, 19, 40);
    position: relative;
}

input[type="radio"]:focus {
  box-shadow: inset 0 0 0 1px var(--text-white);
}

input[type="radio"]:checked {
  background-color: var(--text-white);
}

input[type="radio"]:checked::after {
  content: "✓";
  color: var(--primary-blue);
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input:focus, textarea:focus, select:focus {
  box-shadow: inset 0 0 0 1px var(--text-white);
}

form button {
  border: 1px solid var(--text-white);
  background: none;
  color: var(--text-white);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 200;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-white);
  transition: left 0.3s ease;
  z-index: -1;
}

form button:hover::before {
  left: 0;
}

form button:hover {
  color: var(--primary-blue) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

#toast {
  visibility: hidden;
  min-width: 160px;
  background-color: rgba(6, 19, 40, 0.9);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--text-white);
  text-align: center;
  padding: 16px;
  border-radius: var(--border-radius);
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.8s, visibility 0.8s;
}
#toast.show {
  visibility: visible;
  opacity: 1;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  body {
    gap: 4rem;
  }
  
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .card-inspiration-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    background-attachment: scroll; /* Better performance on mobile */
  }
  
  .container-alternate-image {
    background-attachment: scroll !important;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }
  
  .subtext {
    font-size: 1rem;
  }
  
  .card-experience {
    width: 300px;
    height: 225px;
  }
  
  .card-experience-container {
    margin-top: -24px;
  }
  
  .card-experience-title {
    font-size: 1.5rem;
  }
  
  .navbar .cta {
    font-size: .75rem;
    padding: 0.5rem .75rem;
  }
  
  .container-alternate-image {
    margin: 2rem 0;
  }
}

.card-experience,
.card-inspiration {
  will-change: transform;
}

.navbar {
  will-change: background-color, backdrop-filter;
}