/* GLOBAL */
html, body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  
  body {
    padding-top: 70px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  
  * { box-sizing: border-box; }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* CARDS */
  .card {
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
  }
  
  .card-title {
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .col-lg-8 .card-img-top {
    height: 300px;
  }
  
  /* HOVER CARDS */
  .hover-card, .valentines-card, .spotify-card, .pi-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  
  .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .valentines-card:hover {
    border-color: #ff1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4), 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }
  
  .valentines-card:hover img, .spotify-card:hover img, .pi-card:hover img {
    filter: brightness(1.1) saturate(1.2);
  }
  
  .valentines-card:hover .card-title { color: #ff1493; }
  
  .spotify-card:hover {
    border-color: #1DB954;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4), 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }
  
  .spotify-card:hover .card-title { color: #1DB954; }
  
  .pi-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4), 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }
  
  .pi-card:hover .card-title { color: #ff6b35; }
  
  /* LINKS */
  a.text-decoration-none:hover .card {
    color: inherit;
    cursor: pointer;
  }
  
  a .card-title, a .card-text {
    color: inherit;
  }
  
  /* CAROUSEL */
  .carousel {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-inner img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
  }
  
  .carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
  }
  
  /* THEME VARIABLES */
  :root {
    --valentines-color: #ff1493;
    --valentines-light: rgba(255, 20, 147, 0.05);
    --spotify-color: #1DB954;
    --pi-color: #ff6b35;
    --pi-light: rgba(255, 107, 53, 0.05);
  }
  
  /* CONTAINER - Centered on desktop, fluid on mobile */
  .container {
    width: 100%;
    padding: 0 15px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
  }
  
  @media (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      max-width: 720px;
    }
  }
  
  @media (min-width: 992px) {
    .container {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1200px) {
    .container {
      max-width: 1140px;
    }
  }
  
  /* HERO SECTIONS */
  .valentines-hero, .pi-hero, .projects-hero, .studies-hero, .spotify-hero, .about-hero {
    padding: 100px 0 40px;
    text-align: center;
    width: 100%;
    overflow: hidden;
  }
  
  .valentines-hero .container, .pi-hero .container, .projects-hero .container, .studies-hero .container, .spotify-hero .container, .about-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .valentines-img, .pi-img, .projects-img, .studies-img, .spotify-img, .about-img {
    max-width: 350px;
    width: 90%;
    border-radius: 2rem;
    margin: 0 auto 2rem;
    height: auto;
    display: block;
  }
  
  /* VALENTINES */
  .valentines-hero {
    background: linear-gradient(135deg, #ffe6ec 0%, #fff6fb 100%);
  }
  
  .valentines-img {
    box-shadow: 0 6px 36px 2px rgba(255, 20, 147, 0.1);
  }
  
  .valentines-highlight { color: var(--valentines-color); font-weight: bold; }
  
  .valentines-btn {
    background-color: var(--valentines-color);
    border: none;
    color: white;
    font-weight: bold;
  }
  
  .valentines-btn:hover { background-color: #d01076; }
  
  .valentines-hero .feature-box {
    background: linear-gradient(135deg, var(--valentines-light) 0%, rgba(255, 20, 147, 0.1) 100%);
    border-left-color: var(--valentines-color);
  }
  
  .valentines-hero .feature-box h4 {
    color: var(--valentines-color);
    font-weight: bold;
  }
  
  /* RASPBERRY PI */
  .pi-hero {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
  }
  
  .pi-img {
    box-shadow: 0 6px 36px 2px rgba(255, 107, 53, 0.2);
  }
  
  .pi-highlight { color: var(--pi-color); font-weight: bold; }
  
  .pi-btn {
    background-color: var(--pi-color);
    border: none;
    color: white;
    font-weight: bold;
  }
  
  .pi-btn:hover { background-color: #e55a2b; }
  
  .pi-hero .feature-box {
    background: linear-gradient(135deg, var(--pi-light) 0%, rgba(247, 147, 30, 0.1) 100%);
    border-left-color: var(--pi-color);
  }
  
  .pi-hero .feature-box h4 {
    color: var(--pi-color);
    font-weight: bold;
  }
  
  /* PROJECT CARDS */
  .project-card {
    border: 2px solid var(--pi-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
  }
  
  .project-card:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
    transform: translateY(-5px);
  }
  
  .project-card h3 {
    color: var(--pi-color);
    margin-bottom: 1rem;
  }
  
  /* FEATURE BOXES */
  .valentines-hero .feature-box, .pi-hero .feature-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
  }
  
  /* PROJECTS */
  .projects-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .projects-img {
    box-shadow: 0 6px 36px 2px rgba(102, 126, 234, 0.2);
  }
  
  .projects-highlight { color: #667eea; font-weight: bold; }
  
  /* STUDIES */
  .studies-hero {
    background: linear-gradient(135deg, #3494e6 0%, #ec6ead 100%);
    color: white;
  }
  
  .studies-img {
    box-shadow: 0 6px 36px 2px rgba(52, 148, 230, 0.2);
  }
  
  .studies-highlight { color: #3494e6; font-weight: bold; }
  
  /* SPOTIFY */
  .spotify-hero {
    background: linear-gradient(135deg, #1DB954 0%, #191414 100%);
    color: white;
  }
  
  .spotify-img {
    box-shadow: 0 6px 36px 2px rgba(29, 185, 84, 0.2);
  }
  
  .spotify-highlight { color: #1DB954; font-weight: bold; }
  
  /* ABOUT */
  .about-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
  }
  
  .about-img {
    box-shadow: 0 6px 36px 2px rgba(240, 147, 251, 0.2);
  }
  
  .about-highlight { color: #f093fb; font-weight: bold; }
  
  .feature-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    background: rgba(102, 126, 234, 0.05);
  }
  
  /* MOBILE RESPONSIVE */
  @media (max-width: 768px) {
    .valentines-hero, .pi-hero, .projects-hero, .studies-hero, .spotify-hero, .about-hero {
      padding: 60px 15px 30px;
    }
  
    .valentines-img, .pi-img, .projects-img, .studies-img, .spotify-img, .about-img {
      max-width: 280px;
      width: 85%;
    }
  
    .card-img-top { height: 150px; }
    .col-lg-8 .card-img-top { height: 200px; }
    .project-card { padding: 1.5rem; }
  }
  
  @media (max-width: 576px) {
    .container {
      padding: 0 10px;
    }
  
    .valentines-hero, .pi-hero, .projects-hero, .studies-hero, .spotify-hero, .about-hero {
      padding: 40px 10px 20px;
    }
  
    .valentines-img, .pi-img, .projects-img, .studies-img, .spotify-img, .about-img {
      max-width: 250px;
      width: 80%;
    }
  
    .card-title { font-size: 1rem; }
    .project-card { padding: 1rem; margin-bottom: 1rem; }
  }