@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Courgette&family=Dancing+Script:wght@400;500;600&family=Josefin+Sans:ital@1&family=Permanent+Marker&family=Raleway:ital,wght@0,300;1,600&family=Roboto+Condensed:ital,wght@1,300&family=Tilt+Prism&display=swap');

     /*******************************variables********************************/
:root{
    /*******************************colors********************************/
    --MAIN-BG-COLOR: #0D4251;
    --MAIN-LOGO-COLOR: #2896A6;
    --DESCTOP-TEXT-FONT: 1.5rem;
}

    /*******************************reset********************************/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {

    scroll-behavior: smooth;
}

::selection {
  background-color: var(--MAIN-LOGO-COLOR); 
  color: #000; /* Text color */
}

body {
    font-family: 'Raleway', sans-serif;
    text-transform: capitalize;
    font-size: var(--DESCTOP-TEXT-FONT);
}



.intro {
    background-image: url('../../images/original_designs/iwan/1.png');
    background-size: cover; 
    background-position: center;  
    background-repeat: no-repeat;  
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    background-blend-mode: multiply; /* Blends colors */
    color: white;
    padding: 10%;
}

.intro_title {
    font-size: 5rem;
    padding: 25px 0;
    animation-name: animate;
    animation-duration: 1.4s;
}

.intro_description {
    font-size: 2.5rem;
    padding: 25px 0;
    animation-name: animate;
    animation-duration: 1.4s;
}

.intro_link {
    text-align: center;
    display: block;
    font-size: 2rem;
    margin: 20px 0;
    padding: 20px 30px;
    width: 20%;
    border: white 1px solid;
    transition: 0.2s ease-in-out;
    color: white;
    text-decoration: none;
    animation-name: animate;
    animation-duration: 1.4s;
}

.intro_link:hover {
    background-color: white;
    color: black;
}

.section_1 {

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  width: 100%;
  min-height: 100vh; /* Ensures it takes at least full screen height */
  height: auto; /* Allows it to grow beyond 100vh if needed */
}

.section1_img1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.wrapper {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto; /* Allows natural height growth */
    min-height: 100vh; /* Only applies if content is smaller than 100vh */
}

.container {
    width: 70%;
    height: auto; /* Allow it to grow with content */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
  /* Column settings */
  .column {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .column:first-child img {
    height: 50%; /* Two images stacked take equal space */
  }
  
  .column:last-child img {
    height: 100%; /* Single image takes full height */
  }
  
  .section2 {
    background-image: url('../../images/original_designs/iwan/6.jpg');
    background-size: cover; 
    background-position: center;  
    background-repeat: no-repeat;  
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    background-blend-mode: multiply; /* Blends colors */
    color: white;
    padding: 10%;
  }

  .section2 h2 {
    font-size: 3.5rem;
    margin: 2rem 0;
  }

  .section2 p {
    font-size: 2rem;
  }

  .section3 h2 {
    text-align: center;
    margin: 10rem 0 3rem;
  }
  .section3_images {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .section3_images img {
    width: 25%;
    height: 20%;

  }

  .section3_images img:first-child {
    width: 15%;
    height: 20%;
  }

  .section4 {
    margin: 10rem 0;
    height: 100vh;
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .section4 p {
    text-align: center;
    font-size: 1.8rem;
  }

  .section4 img {
    width: 30%;
    height: 100%;
  }

  .section5 {
    text-decoration: dashed;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;

    margin: 0;
  }

  .section5 ul {
    width: 40%;
    font-size: 1.8rem;
  }

  .section5 img {
    width :25%;
  }




/*******************************animation********************************/
@keyframes animate {
  from{
      transform: translateX(-300px);
      opacity: 0;
  }

  to {
      transform: translateX(0);
  }
}


/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  /* Intro Section */
  .intro {
      padding: 5%;
      text-align: center;
  }

  .intro_title {
      font-size: 3rem;
  }

  .intro_description {
      font-size: 1.8rem;
  }

  .intro_link {
      width: 80%;
      margin: 20px auto;
      font-size: 1.5rem;
  }

  /* Section 1 */
  .section_1 {
      margin: 2rem 0;
  }

  .wrapper {
      margin: 2rem 0;
      min-height: auto;
  }

  .container {
      width: 90%;
      grid-template-columns: 1fr;
      gap: 15px;
  }

  .column:first-child img,
  .column:last-child img {
      height: 300px;
  }

  /* Section 2 */
  .section2 {
      height: auto;
      min-height: 100vh;
      padding: 5%;
      text-align: center;
  }

  .section2 h2 {
      font-size: 2rem;
      margin: 1rem 0;
  }

  .section2 p {
      font-size: 1.5rem;
  }

  /* Section 3 */
  .section3 h2 {
      margin: 3rem 0 2rem;
      font-size: 2rem;
      padding: 0 10px;
  }

  .section3_images {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
  }

  .section3_images img,
  .section3_images img:first-child {
      width: 80%;
      height: auto;
  }

  /* Section 4 */
  .section4 {
      margin: 3rem 0;
      height: auto;
      flex-direction: column;
      gap: 2rem;
      padding: 20px;
  }

  .section4 p {
      font-size: 1.5rem;
      order: 2;
  }

  .section4 img {
      width: 90%;
      height: auto;
  }

  /* Section 5 */
  .section5 {
      flex-direction: column;
      gap: 3rem;
      padding: 20px;
      margin-bottom: 3rem;
  }

  .section5 ul {
      width: 90%;
      font-size: 1.5rem;
  }

  .section5 img {
      width: 80%;
  }

  /* Animation adjustment for mobile */
  @keyframes animate {
      from {
          transform: translateX(-100px);
          opacity: 0;
      }
      to {
          transform: translateX(0);
      }
  }
}