/* Responsive Styles */

/* Base styles to prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Large Screens */
@media screen and (max-width: 1440px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
  }
}

/* Medium-Large Screens */
@media screen and (max-width: 1200px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .intro-text h1 {
    font-size: 50px;
  }
  
  .intro-text h2 {
    font-size: 40px;
  }
  
  .hexagon {
    width: 350px;
    height: 350px;
  }
}

/* Medium Screens (Tablets) */
@media screen and (max-width: 992px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .header,
  .intro,
  .projects,
  .footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .intro {
    padding-bottom: 80px;
  }
  
  .intro-text h1 {
    font-size: 45px;
  }
  
  .intro-text h2 {
    font-size: 35px;
  }
  
  .hexagon {
    width: 300px;
    height: 300px;
  }
  
  .project-card.small {
    height: 600px;
  }
}

/* Small-Medium Screens */
@media screen and (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .header,
  .intro,
  .projects,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding-bottom: 60px;
  }
  
  .intro-text {
    max-width: 100%;
  }
  
  .intro-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .hexagon {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1;
  }
  
  .small-projects-container {
    flex-direction: column;
    gap: 24px;
  }
  
  .project-card.small {
    height: auto;
    width: 100%;
  }
  
  .footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Small Screens (Mobile) */
@media screen and (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .header,
  .intro,
  .projects,
  .footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .intro-text h1 {
    font-size: 36px;
  }
  
  .intro-text h2 {
    font-size: 28px;
  }
  
  .intro-text p {
    font-size: 16px;
  }
  
  .hexagon {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1;
  }
  
  .project-info h3 {
    font-size: 24px;
  }
}

/* Extra Small Screens */
@media screen and (max-width: 375px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .nav ul {
    width: 100%;
    justify-content: space-between;
  }
  
  .hexagon {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1;
  }
  
  .intro-text h1 {
    font-size: 32px;
  }
  
  .intro-text h2 {
    font-size: 24px;
  }
}