/*
  product-demo.css
  - Additional or overriding styles for the Product Demo case study page
  - Make sure to link this AFTER your main new.css so these rules take precedence.
*/

/* =========================
   NAVIGATION
   ========================= */
   nav {
    position: fixed;       /* So it doesn’t scroll away */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;         /* Higher than everything else */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 70px;
    background-color: white;
    background: url(../assets/meshwhitenav.png) no-repeat center center/cover;
  }
  
  .logo-pink {
    width: 25%;
    height: auto;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 70px;
  }
  
  .nav-links li a {
    text-decoration: none;
    font-size: 1.3rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #1B1131;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #E519F1;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* =========================
     HERO SECTION
     ========================= */
  .hero-section {
    width: 100%;
    overflow: hidden;
  }
  
  .hero-section img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* =========================
     PROJECT OVERVIEW
     ========================= */
  .project-overview {
    padding: 60px 40px;
    max-width: 1200px; /* optional max width for content */
    margin: 0 auto;    /* center if you like */
  }
  
  .project-overview h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1B1131;
  }
  
  .project-overview p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1B1131;
  }
  
  /* =========================
     BENTO GRID
     =========================
     Used for your main images. 
     If other pages rely on this, keep it as is.
  */
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px 250px 250px;
    grid-template-areas:
      "item1 item1 item2"
      "item1 item1 item3"
      "item4 item5 item6";
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .item1 { grid-area: item1; }
  .item2 { grid-area: item2; }
  .item3 { grid-area: item3; }
  .item4 { grid-area: item4; }
  .item5 { grid-area: item5; }
  .item6 { grid-area: item6; }
  
  .grid-item img,
  .grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px; /* optional slight rounding */
  }
  
  /* Responsive adjustments for the bento grid */
  @media (max-width: 768px) {
    .bento-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 200px 200px 200px;
      grid-template-areas:
        "item1 item2"
        "item1 item3"
        "item4 item5"
        "item6 item6";
    }
  }
  
  @media (max-width: 480px) {
    .bento-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      grid-template-areas:
        "item1"
        "item2"
        "item3"
        "item4"
        "item5"
        "item6";
      gap: 10px;
      max-width: 95%;
    }
  }
  
  /* =========================
     OBJECTIVES & CHALLENGES
     ========================= */
  .obj-challenges {
    display: flex;
    gap: 40px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* so they stack on narrow screens */
  }
  
  .obj-challenges h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1B1131;
  }
  
  .objectives, .challenges {
    flex: 1;
    min-width: 250px; /* to avoid shrinking too small */
  }
  
  .objectives p, .challenges p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1B1131;
  }
  
  /* =========================
     VIDEO DEMO EMBED SECTION
     =========================
     If you still use iframes or kiosk containers on other pages,
     this preserves that styling.
  */
  .video-demo {
    padding: 40px 350px;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .video-demo h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1B1131;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio => (9/16 * 100) */
    height: 0;
  }
  
  .kiosk-container {
    position: relative;
    width: 100%;
    padding-bottom: 38.25%;
    height: 0;
    background: transparent;
    border: none;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  
  /* Brandbook button - used in some pages */
  .brandbook-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #333333;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
  }
  
  .brandbook-btn:hover {
    background-color: #6c6c6c;
  }
  
  /* =========================
     DELIVERABLES (NEW SECTION)
     =========================
     - Stacks images (and optional video) vertically
     - No grid layout, so it won't break anything else
  */
  .deliverables {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .deliverables h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1B1131;
  }
  
  .deliverables p {
    font-size: 1rem;
    color: #1B1131;
    margin-bottom: 30px;
  }
  
  .deliverables img {
    width: 100%;
    display: block;
    margin-bottom: 20px; /* spacing between images */
    border-radius: 5px;  /* optional rounding */
    object-fit: cover;
  }
  
  /* Make the Deliverables section video responsive as well */
  .deliverables video {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px; /* space below the video */
    border-radius: 5px;  /* optional rounding, matching images */
    object-fit: cover;
  }
  
  /* =========================
     TOOLS USED
     ========================= */
  .tools-used {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .tools-used h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1B1131;
  }
  
  .tools-used ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
  }
  
  .tools-used li {
    font-size: 1rem;
    color: #1B1131;
  }
  
  /* =========================
     MEDIA QUERIES
     ========================= */
  
  /* Tablet-ish (max-width 768px) */
  @media (max-width: 768px) {
    .obj-challenges {
      flex-direction: column;
    }
    .video-demo {
      padding: 20px;
    }
    .deliverables {
      padding: 30px 20px;
    }
    .deliverables h2 {
      font-size: 1.6rem;
    }
  }
  
  /* Mobile (max-width 480px) */
  @media (max-width: 480px) {
    .logo-pink {
      width: 55%;
      height: auto;
    }
  
    .nav-links {
      gap: 30px;
    }
  
    .nav-links li a {
      font-size: 1.1rem;
      font-weight: 500;
    }
  
    .project-overview {
      padding: 30px 20px;
    }
  
    .obj-challenges {
      padding: 30px 20px;
    }
  
    .tools-used {
      padding: 30px 20px;
    }
  
    .project-overview h2,
    .video-demo h2,
    .tools-used h2 {
      font-size: 1.4rem;
    }
  
    .project-overview p,
    .objectives p,
    .challenges p,
    .tools-used li {
      font-size: 0.9rem;
    }
  
    .kiosk-container {
      padding-bottom: 78.25%; /* keeps kiosk ratio on smaller screens */
    }
  
    .deliverables {
      padding: 20px 20px;
    }
  
    .deliverables h2 {
      font-size: 1.4rem;
    }
  
    .deliverables p {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    /* Shift hero section below fixed nav bar on mobile */
    .hero-section {
      margin-top: 80px; /* Adjust this value if you need more or less space */
    }
  }
  
  