/* GLOBAL RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;

  --radius: 12px;

  --text: black;
  --text-light: #555;

  --accent: rgb(235, 131, 106);
  --accent-light: rgb(252, 241, 195);
    --header-height: 80px;
  --footer-height: 60px;


}

/* MOBILE OPTIMIZATION */
/* MOBILE TAP ZOOM */
@media (max-width: 700px) {

   header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

.rrdr-icon {
  width: 60px;
  border-radius: 12px;        /* rounds the icon corners */
}

.brand-text h1 {
  font-size: 1.4rem;
  font-weight: bold;
}

/* Make the privacy statement stand out */
.privacy {
  margin-top: 6px;
  font-style: arial;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
  background: #f5f7fa;        /* subtle highlight */
  padding: 6px 10px;
  border-left: 4px solid #8aa4c2;
  border-radius: 6px;
}

  .appstore-button {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
  }

  /* HERO */
  .hero h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .story-card {
    flex-direction: column;
    align-items: center;
  }

  .story-card img {
    width: 100%;
    max-width: 300px;
  }

  .story-card p {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }





}
/* END MOBILE OPTIMIZATION */

/* BACKGROUND */
html {
  background: linear-gradient(to bottom, var(--accent), var(--accent-light));
}

/* BODY */
body {
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  padding-top: 140px;
  padding-bottom: 140px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(235, 131, 106, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.brand-text h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}


.rrdr-icon {
  width: 80px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* APP STORE BUTTON */
.appstore-button {
  padding: 10px 18px;
  background: white;
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.appstore-button:hover {
  background: #ffe5dc;
  transform: translateY(-2px);
}

/* MAIN CONTENT */
main {
  padding: 0 10vw; /* 10% left/right padding */
  box-sizing: border-box;
  height: calc(100vh - var(--header-height) - var(--footer-height));
  overflow-y: auto; /* scrolls vertically if needed */
}


/* HERO */
.hero h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

/* STORY STRIP  */

.story-strip {
  display: flex;
  flex-direction: column;   /* vertical stack */
  gap: 24px;
  overflow-y: auto;         /* vertical scroll */
  overflow-x: hidden;
  padding: 20px 0;
}

.story-card {
  display: flex;                 /* put image + text side-by-side */
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: red;
  border-radius: 12px;
  overflow: hidden;   /* optional but helpful */
  /*padding: var(--space-md);*/
  padding: 20px;
  scroll-snap-align: start;
  overflow: hidden; 
  /*transition: transform 0.25s;*/
}

.story-card1 {
  align-items: center;
  gap: 16px;
  background: #f5f7fa;
  border-radius: 12px;
  padding: var(--space-md);
  scroll-snap-align: start;
  overflow: hidden;   /* optional but helpful */
  /*transition: transform 0.25s;*/
}

/* IMAGE — half size */
.story-card img {
  width: 80%;                    /* half-size but with breathing room */
  max-width: 180px;              /* prevents huge images on desktop */
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;    
  background: #f5f7fa;
}

.story-card1 img {
          /* prevents huge images on desktop */
  height: auto;
  flex-shrink: 0;    
  background: #0c53bea0;
}
/* TEXT — stands out */
.story-card p {
  flex: 1;
  min-width: 0;  
  font-size: 1rem;
  line-height: 1.4;
  background: #f5f7fa;           /* subtle highlight */
  margin-right: 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 4px solid #ccced3; /* accent stripe */
}

/* TEXT — stands out */
.story-card1 p {
  flex: 1;
  min-width: 0; 
  font-size: 1rem;
  line-height: 1.4;
  background: #f5f7fa;           /* subtle highlight */
  margin-right: 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 4px solid #ccced3; /* accent stripe */
}


/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: var(--space-md);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.flip-on-hover {
  transition: all 0.35s ease;
}

.flip-on-hover:hover {
  flex-direction: column;
  align-items: center;
}

.flip-on-hover:hover img {
  transform: scale(6);
  border-radius: 6px;
  z-index: 20;
}

.flip-on-hover img {
  transition: transform 0.3s ease;
  transform-origin: bottom center; 

}