/*

:root {
  --bg-main: #1f2a36;         /* deep winter blue */
/*  --bg-card: #2b3b4e;         /* softer card blue */
/*  --accent-red: #d97c7c;      /* muted festive red */
/*  --accent-green: #8fbfa3;    /* sage green */
/*  --gold: #e6c973;
  --text-main: #f4f6f8;
  --text-soft: #d0d6dc;
  --radius: 18px;
}

*/

/* =========================
   ROOT VARIABLES
   ========================= */
:root {
  /* Sophie Down Under theme – sunny Australian pastels */
  --sunny-peach: #FFD8B8;    /* soft peach/orange for warmth */
  --sky-blue: #B8E0F5;      /* light summer sky */
  --coral: #FF9F9F;         /* gentle coral accent */
  --mint: #C0E8D8;          /* fresh mint */
  --sand: #F0E4D0;          /* warm sandy beige */
  --gold: #E8C070;          /* soft golden glow */
  --lavender: #E6DBF5;      /* subtle lavender accent */
  --radius: 20px;
  --max-width: 1100px;
}


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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(
    to bottom,
    #FFF0E8 0%,      /* very light peach */
    #E0F5FF 45%,     /* pale sky blue */
    #FFF8E8 100%     /* creamy sand */
  );
  color: #3A5F8A;    /* soft denim text for readability */
  line-height: 1.6;
  overflow-x: hidden;
}



/* =========================
   SNOW CANVAS
   ========================= */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
}

/* =========================
   LAYOUT HELPERS
   ========================= */
section, header, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* =========================
   HERO – MIA
   ========================= */
.hero {
  background: linear-gradient(
    135deg,
    var(--sunny-peach),  /* peach */
    var(--sky-blue)      /* sky blue */
  );
  text-align: center;
  padding: 4rem 1.5rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-santa-wrap {
  width: 70%;                 /* what you asked for */
  max-width: 320px;
  height: 420px;              /* tall frame */
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;           /* CRITICAL */
  animation: float 3s ease-in-out infinite;
}

.hero-santa-video {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills vertically */
  display: block;
}


@media (max-width: 480px) {
  .hero-santa-wrap {
    width: 85%;
    height: 360px;
  }
}




.hero h1 {
  font-family: 'Mountains of Christmas', cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p {
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

.hero-santa {
  width: 180px;
  max-width: 50%;
  margin: 2rem auto 0;
  animation: float 3s ease-in-out infinite;
}


/* =========================
   LOGO
   ========================= */

.logo {
  font-family: 'Mountains of Christmas', cursive;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--peach);
  margin-bottom: 0.5rem;
}


h1, h2, h3 {
  font-family: 'Mountains of Christmas', 'Poppins', serif;
  margin: 0.25em 0;
  color: var(--night-blue);
}

/* =========================
   LETTER
   ========================= */
.letter {
  background: linear-gradient(to bottom, #FFF8F0, #FFFFFF);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.letter h3 {
  font-family: 'Mountains of Christmas', cursive;
  margin-bottom: 1rem;
}

.letter-frame {
  background: #FFFFF5;
  border: 4px dashed var(--gold);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Patrick Hand', cursive;
  color: #222222;  /* changed from var(--blue) */
  line-height: 1.7;
}

.letter-frame p {
  margin-bottom: 1rem;
}


/* =========================
   REPORT
   ========================= */
.report ul {
  list-style: none;
  margin-top: 1rem;
}

.report li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.report-frame {
  background: linear-gradient(
    to bottom,
    #E9ECF5,
    #F4F1EC
  );
  border: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  font-family: 'Patrick Hand', cursive;
  color: #222222;
  line-height: 1.7;
}

.report-frame p {
  margin-bottom: 1rem;
}


/* =========================
   CHRISTMAS LIST
   ========================= */
.christmas-list {
  text-align: center;
}

.list-frame {
  border: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem;
  display: inline-block;
  background: #ffffff;
}

.list-frame img {
  max-width: 70%;
  height: auto;
}

.list-frame.list-with-image {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.list-content {
  flex: 1;
}

.list-image {
  flex-shrink: 0;
  max-width: 150px; /* adjust as needed */
}

.list-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* =========================
   ELVES
   ========================= */
/*
.elves {
  text-align: center;
}
*/

/* =========================
   ELVES – FINAL FIXED VERSION
   ========================= */

.elf-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* Slightly smaller min-width so 3 always fit */
  gap: 1rem;                                                    /* Reduced from 1.5rem → tighter spacing */
  margin-top: 2rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;                                              /* Keeps it from touching screen edges */
  justify-content: center;
}

.elf {
  background: linear-gradient(to bottom, var(--mint), var(--lavender));
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;                 /* Reduced from 1rem → less internal space */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 100%;
}

.elf:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.elf-video {
  width: 100%;
  height: auto;
  max-height: 280px;              /* Slightly taller than Mia's for better visibility – adjust if needed */
  object-fit: contain;            /* KEY CHANGE: full video visible, no cropping/zoom */
  background: #000000;            /* Black background for letterboxing (clean look) */
  border-radius: var(--radius);
  display: block;
  margin-bottom: 0.5rem;
}


/* =========================
   VIDEOS
   ========================= */
.videos {
  text-align: center;
}

.video-card {
  margin-bottom: 2rem;
}

.video-card video {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  background: #000;
}


.video-card p {
  margin-top: 0.5rem;
  font-weight: 600;
}

/* =========================
   CHRISTMAS EVE
   ========================= */
.christmas-eve {
  background: linear-gradient(
    135deg,
    var(--coral),
    var(--sunny-peach)
  );
  color: #3A4F7A;
  border-radius: var(--radius);
  text-align: center;


/* =========================
   FOOTER
   ========================= */
footer {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  background: var(--sand);
  color: #3A5F8A;
}


/* Gentle floating animation for Santa */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sparkles overlay (optional, CSS only) */
.sparkles {
  position: absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  background-image: url('images/sparkle.png'); /* small transparent sparkle */
  background-repeat: repeat;
  animation: sparkle 5s linear infinite;
}
@keyframes sparkle {
  0% {background-position:0 0;}
  100% {background-position:500px 500px;}
}

/* =========================
   CAROUSEL – Final Fix (Smaller Container, No Jumping, Images Fully Contained)
   ========================= */

.mia-carousel {
  max-width: 560px;               /* ~30% smaller than original 800px */
  margin: 3rem auto;
}

.mia-carousel h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Mountains of Christmas', cursive;
}

.carousel-inner {
  height: 350px; /* or your preferred fixed height */
  background: #f8f8f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}



.carousel-item,
.carousel-item.active {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  margin: auto;
  display: block;
}



/* Mobile – smaller still */
@media (max-width: 768px) {
  .mia-carousel {
    max-width: 480px;
  }
  .carousel-inner {
    height: 280px !important;
  }
  .carousel-item img {
    max-height: 260px;
  }
}

@media (max-width: 480px) {
  .mia-carousel {
    max-width: 90%;
  }
  .carousel-inner {
    height: 240px !important;
  }
  .carousel-item img {
    max-height: 220px;
  }
}

/* Ensure proper video sizing */
.north-pole-video {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}






