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

/* variables */
:root {
  --bg-dark: #202020;
  --bg-green: #1db95433;
  --text-light: #ffffff;
}

/* base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tiny5", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* text */
p {
  font-family: "Playwrite NZ Basic", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.5 rem;
  padding: 1.5rem 2rem;
  text-align: left;
  line-height: 1.4;
}

/* hero */
.hero {
  padding: 2rem 1.5rem;
  font-size: 2.5rem;
  text-align: center;
}

/* section */
.design-ideas {
  padding: 2rem 1rem 3rem;
  background-color: var(--bg-green);
}

/* title */
.design-ideas h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* layout row for text + carousel */
.design-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* force 50 / 50 split */
.design-row p {
  flex: 0 0 50%;
  max-width: 50%;
}

/* carousel */
.carousel {
  width: 60%;
  max-width: 45%;
  padding: 0.5rem;
  border-radius: 10px;

  /* glassmorphism */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);

  transition: background 0.6s ease;
  overflow: hidden;

  /* force 50 / 50 split */
  flex: 0 0 50%;
}

/* mobile tweaks - come back to */
@media (max-width: 1026px) {
  .carousel {
    max-width: 500px;
  }
}

@media (max-width: 900px) {
  .design-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .design-row p,
  .carousel {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 600px) {
  .carousel {
    max-width: 90vw;
    padding: 0.5rem;
  }
}

/* track */
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1); /* maybe need to adjust? */
}

/* slides */
.slide {
  display: flex;
  flex: 0 0 85%;
  justify-content: center;
  align-items: center;
}

/* images */
.slide img {
  width: 100%;
  height: auto;

  /* make images visually smaller */
  max-height: 350px;

  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ffffff55;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  width: 22px;
  border-radius: 20px;
  background: #1db954;
}

/* footer */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 2rem;
}
