@font-face {
  font-family: 'IBM Plex Serif';
  src: url('fonts/IBMPlexSerif-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'IBM Plex Serif';
  src: url('fonts/IBMPlexSerif-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'IBM Plex Serif';
  src: url('fonts/IBMPlexSerif-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'IBM Plex Serif';
  src: url('fonts/IBMPlexSerif-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'IBM Plex Serif', serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* PARALLAX */
.parallax {
  height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  background-image: url('images/spices.jpg');
}

.mid {
  background-image: 
    url('images/sc-overlay.png'),
    url('images/pretzels.jpg');
  background-size: 35% auto, cover;
  background-position: 25% 0%, center;
  background-repeat: no-repeat, no-repeat;
}

.footer {
  background-image: url('images/baking.jpg');
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer .content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer .content::after {
  display: none;
}

/* CONTENT */
.content {
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.3);
  padding: 3rem 2rem;
  border-radius: 16px;
  max-width: 1000px;
}

.content h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.content p {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.content .logo {
  width: 160px;
  height: 160px;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.features {
  position: relative;
  overflow: hidden;
}

.features-bg-image {
  position: absolute;
  right: -50px;           /* push it off to the right */
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  width: 500px;           /* adjust size as needed */
  pointer-events: none;   /* ignore clicks */
}

.features-content {
  position: relative;
  z-index: 1;
}

/* SECTION */
.section {
  padding: 100px 20px;
  text-align: center;
  background: #f5f5f5;
}

.section h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section > p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #666;
}

/* BUTTON */
.appstore-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 10px;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.appstore-btn img {
  width: 200px;
  height: auto;
  display: block;
  pointer-events: none;
}

.appstore-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* CAROUSEL */
.carousel {
  position: relative;
  overflow: hidden;
  width: min(100%, 780px);
  margin: auto;
  padding: 12px 0;
  background: transparent;
}

.carousel-track {
  display: flex;
  gap: 18px;
  align-items: center;
  width: max-content;
  transition: transform 0.4s ease;
  will-change: transform;
  transform: translateZ(0);
}

.phone {
  flex: 0 0 240px;
  width: 240px;
  height: 520px;
  background: black;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 34px;
  padding: 5px;
  margin: 0;
  position: relative;
  /* box-shadow: 0 12px 28px rgba(0,0,0,0.08); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #222;
  border: 1px solid rgba(0,0,0,0.08);
  /* box-shadow: 0 12px 28px rgba(0,0,0,0.14); */
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: white;
}

.nav:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.65);
}

.prev { left: 4px; }
.next { right: 4px; }

/* MADE BY */
.madeby-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 700px;
  margin: 4rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 18px;
}

.madeby-note p {
  margin: 0;
  color: white !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  font-size: 1rem;
}

.madeby-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
  border: 3px solid rgba(255,255,255,0.9);
}