/* ==========================================================================
   DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */

   :root {
    /* Brand Colors */
    --e4c: #fc6444;
    --e4c-hover: #e5533b;
    --e4c-cta: #F15A29;
    --e4c-cta-hover: #d94f24;
    
    /* Neutral Colors */
    --shade: #111;
    --muted: #6c757d;
    
    /* Spacing */
    --gap-sm: .75rem;
    --gap: 1rem;
    --gap-lg: 1.5rem;
    --pad-section: 6rem;
    
    /* Border Radius */
    --radius: .5rem;
    --radius-xl: 1rem;
  }
  
  /* ==========================================================================
     BASE STYLES & RESET
     ========================================================================== */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
  }
  
  main {
    flex: 1; /* pushes footer down */
  }
  
  /* ==========================================================================
     UTILITY CLASSES
     ========================================================================== */
  
  .text-e4c {
    color: var(--e4c);
  }
  
  .rounded-image {
    border-radius: 15px;
  }
  
  /* Icons using text */
  .icon-map::before { content: "🗺️"; }
  .icon-phone::before { content: "📞"; }
  .icon-web::before { content: "🌐"; }
  
  /* ==========================================================================
     BUTTONS
     ========================================================================== */
  
  /* Primary E4C Button */
  .btn-e4c {
    background-color: var(--e4c);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-e4c:hover, 
  .btn-e4c:focus, 
  .btn-e4c:active {
    background-color: var(--e4c-hover);
    color: #fff;
  }
  
  .btn-e4c:disabled {
    background-color: #d3d3d3;
    color: #a9a9a9;
    cursor: not-allowed;
    opacity: 0.6;
  }
  
  /* Outline E4C Button */
  .btn-outline-e4c {
    color: var(--e4c);
    border-color: var(--e4c);
    background: transparent;
  }
  
  .btn-outline-e4c:hover, 
  .btn-outline-e4c:focus, 
  .btn-outline-e4c:active {
    color: #fff;
    background-color: var(--e4c);
    border-color: var(--e4c);
  }
  
  /* Login Button */
  .login-button {
    margin-bottom: 10px;
    width: 300px;
  }
  
  /* Action Buttons */
  .action-btn {
    flex: 1;
    padding: 4px;
    border: 1px solid var(--e4c);
    border-radius: 8px;
    background: white;
    color: var(--e4c);
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
  }
  
  .action-btn:hover {
    background: #fdf2f0;
  }
  
  /* Back Button */
  .back-btn {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .back-btn::before {
    content: "‹";
    font-size: 24px;
    margin-right: 8px;
  }
  
  /* ==========================================================================
     BOOTSTRAP COMPONENTS CUSTOMIZATION
     ========================================================================== */
  
  .list-group-item-e4c {
    background-color: var(--e4c);
    color: #fff;
    border-color: var(--e4c);
    padding-left: 10px;
  }
  
  /* ==========================================================================
     MASTHEAD / HERO SECTION
     ========================================================================== */
  
  header.masthead {
    padding-top: 10.5rem;
    padding-bottom: 6rem;
    text-align: center;
    color: #fff;
    background-image: url("../img/header-bg.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
  
  header.masthead .masthead-subheading {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5rem;
    margin-bottom: 25px;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }
  
  header.masthead .masthead-heading {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 3.25rem;
    margin-bottom: 2rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }
  
  @media (min-width: 768px) {
    header.masthead {
      padding-top: 17rem;
      padding-bottom: 12.5rem;
    }
    
    header.masthead .masthead-subheading {
      font-size: 2.25rem;
      font-style: italic;
      line-height: 2.25rem;
      margin-bottom: 2rem;
    }
    
    header.masthead .masthead-heading {
      font-size: 4.5rem;
      font-weight: 700;
      line-height: 4.5rem;
      margin-bottom: 4rem;
    }
  }
  
  /* ==========================================================================
     MOBILE APP STYLES
     ========================================================================== */
  
  /* Header */
  .header {
    background: #333;
    color: white;
    padding: 20px 16px 10px;
    text-align: center;
  }
  
  .status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .time {
    font-size: 16px;
  }
  
  .signal-battery {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  /* Place Information */
  .place-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin: 16px 0;
  }
  
  .place-info {
    padding: 0 16px;
  }
  
  .place-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
  }
  
  .place-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    flex: 1;
  }
  
  .place-address {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .category-tag {
    background: #e8e8e8;
    color: #666;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    margin-left: 12px;
    white-space: nowrap;
  }

  .shared-by {
    color: #fc6444;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  /* Action Buttons Container */
  .action-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
  }
  
  /* ==========================================================================
     DEALS SECTION
     ========================================================================== */
  
  .deals-section {
    padding: 0 16px 10px;
  }
  
  .deals-header {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
  }
  
  .deal-card {
    border: 1px solid var(--e4c);
    border-radius: 12px;
    padding: 20px;
    background: white;
    margin-bottom: 20px;
  }
  
  .deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
  }
  
  .deal-time-header {
    color: var(--e4c);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
  }
  
  .deal-day {
    font-weight: bold;
  }
  
  .deal-day-time {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
  }
  
  .deal-time {
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #666;
  }
  
  .deal-description {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-line;
  }
  
  .deal-cost {
    font-weight: 600;
    display: inline-block;
    font-size: 14px;
  }

  /* ==========================================================================
     CTA SECTION
     ========================================================================== */
  /* App Download CTA Styles */
  .app-download-section {
    margin: 0px 16px 40px;
    text-align: center;
}

.app-cta-card {
    background: linear-gradient(135deg, #fc6444 0%, #F15A29 100%);
    color: white;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(252, 100, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.app-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.app-cta-headline {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.app-cta-subtext {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.4;
    position: relative;
}
.app-cta-subtext2 {
    font-size: 16px;
    margin-top: 10px;
    opacity: 0.95;
    line-height: 1.4;
    position: relative;
}

.app-store-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.app-store-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.get-app-btn {
    background: white;
    color: #fc6444;
    padding: 12px 32px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.get-app-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-cta-highlight {
    color: #fff; /* your brand orange */
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1rem;
  }
  

  /* ==========================================================================
     FOOTER
     ========================================================================== */
  
  .footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background: #f8f8f8;
  }
  
  .logo {
    font-weight: 700;
    color: #007AFF;
  }