@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

body{
    background-color:rgb(252, 178, 36);
}

 html, body{
    margin: 0;
    padding: 0;

 }

header{
    position: relative;
    text-align: center;
    background-image: url(img/surge-background-1.jpg);
    background-size: cover;
    padding: 70px;
}


#header-logo {
  width: 25%;
  height: 100%;
  border: 20px solid black; 
  border-radius: 0%;
  background-position: center;
}

header h1{
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 70px;
  margin: 10px 20px 30px 40px; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
  color: gold;
  text-shadow: 2px 2px 4px rgb(0, 0, 0); /* offset-x, offset-y, blur-radius, color */
  }
  
  h2{
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 70px;
  margin-left: 75px; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
  color: rgb(251, 2, 68);
  text-shadow: 2px 2px 4px rgb(0, 0, 0); /* offset-x, offset-y, blur-radius, color */
  }


 #About_Surge_image { 
  float: right;
  width: 45%; /* Adjust as needed */
  height: auto; /* Maintains aspect ratio */
  background-position: right;
  margin: 10px 50px 30px 20px;
  }

  #About_Surge_text{
    font-family: "Jersey 10", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 30px;
    margin-left: 100px; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
  }


main {
   width: auto;
   margin: 0 auto;

  }

  h3{
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 75px;
  margin-left: 75px; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
  margin-bottom: 20px;
  color:rgb(252, 178, 36);
  text-shadow: 2px 2px 4px rgb(0, 0, 0); /* offset-x, offset-y, blur-radius, color */
  }

 #Skill_background_image{
    background-image: url(img/Surge_image.jpg);
    background-size: cover;
  }

   .Skill-section{
    display: flex;
   align-items: flex-start;  /* keep items aligned at the top */
   gap: 50px;               /* space between image and text */
   }

  #Skill_text{
    font-family: "Jersey 10", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 25px;
    background-position: center;
   margin-right: 200px;
   padding: 0;
  }

  .image-container {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;

  /* 🔑 These remove the extra space */
  width: 75%;     /* let container shrink to content */
  height: auto;    /* prevent fixed gray background */
  box-sizing: content-box; 
  margin-left: 100px;
}


.image-container img {
  display: block;   /* removes inline spacing */
  max-width: 100%;  /* ensures no overflow */
  height: auto;
  margin-bottom: 30px;
}



/* Optional: Add some spacing between the images */
.image-container img:first-child {
  margin-bottom: 10px;  
}

.image-container ul{
  float: right;
}
   
h4 {
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 70px;
  margin-top: 30px;
  margin-left: 75px; /* Top: 10px, Right: 20px, Bottom: 30px, Left: 40px */
  color: rgb(251, 2, 68);
  text-shadow: 2px 2px 4px rgb(0, 0, 0); /* offset-x, offset-y, blur-radius, color */
  text-align: center;
  }

h5 {
  margin-top: 10px;      /* Space between image and title */
  font-weight: bold;
  font-family: "Jersey 10", sans-serif ;
  color: rgb(232, 5, 66);
   font-size: 40px;
  text-align: center;
  margin-bottom: 3%;
}

/* If you have a paragraph or button below the h5, ensure its top margin is 0 */
.gallery-item-simple p,
.gallery-item-simple figcaption {
  margin-top: 0px;       /* Fine-tune the distance here */
}


 .gallery-container-simple {
  align-items: center;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-inline: 10%
  
}

.gallery-item-simple {
  width: 33.33%;
  text-align: center; /* Centers image and text */
  font-family: "Jersey 10", sans-serif ;
  font-size: 20px;
  margin-top: 10px;
}

.gallery-item-simple img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  display: block;        /* Removes the tiny white-space gap under images */
  /* REMOVED: display: grid and grid-template-columns (images cannot be grid containers) */
  object-position: 25% center; 
}

.Max{
   object-position: 50% 20%; 
}


.learn-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color:  rgb(232, 5, 66); /* Primary Blue */
  color: white;
  text-decoration: none;
  border-radius: 50px; /* Fully rounded 'pill' shape */
  transition: all 0.3s ease; /* Smooth hover transition */
  margin-top: 15px;
}

.learn-more-btn:hover {
  background-color:  rgb(255, 0, 68);
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

footer {
 background-color: rgb(251, 2, 68);
 padding: 20px;
 text-align: center;
 margin-top: 40px;

}

footer .content{
 width: 800px;
 margin: auto;
}

/* 📱 MOBILE ONLY */
@media screen and (max-width: 600px) {

  body {
    padding: 10px;
  }

  header {
    width: 100vw;
    margin: 0;
    padding: 40px 20px;
    text-align: center;

    background-image: url(img/surge-background-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
  }

  #header-logo {
  width: 50%;        /* was 25% */
  height: auto;
  margin-bottom: 10px;
  }


  header h1 {
    font-size: 40px;
  }

  h2, h3, h4 {
    font-size: 42px;
    margin-left: 0;
    text-align: center;
  }

  /* About section */
  #About_Surge_image {
    float: none;
    width: 100%;
    margin: 20px 0;
    padding: 0px 10px;
  }

  #About_Surge_text {
    margin-left: 0;
    font-size: 22px;
    text-align: center;
    margin-left: 20px;
    margin-right: 10px;
  }

  /* Skills section */
  .Skill-section {
    flex-direction: column;
    gap: 20px;
    padding: 0px 10px;
  }

  #Skill_text {
    margin-top: 0;
    font-size: 22px;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px 20px;
    
  }

  .image-container {
    width: 100%;
    margin-left: 0;
    align-items: center;
  }

  /* Gallery */
  .gallery-container-simple {
    flex-direction: column;
    margin-inline: 10px;
  }

  .gallery-item-simple {
    width: 100%;
  }

  .gallery-item-simple img {
    height: 260px;
    object-position: center;
  }

  /* Footer */
  footer .content {
    width: 100%;
  }
}
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
