@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/scarab/1.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-top: 250px;
    font-size: 2.5rem;
    text-align: center;
}

.intro h1 {
    animation-name: animate;
    animation-duration: 1.4s;
}


/*******************************animation********************************/
@keyframes animate {
    from{
        transform: translateX(-300px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
    }
}


/*******************************scroll bar********************************/
 
::-webkit-scrollbar {
    width: 10px; 
    background-color: #000; 
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--MAIN-LOGO-COLOR); 
    border-radius: 5px; 
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--MAIN-BG-COLOR); 
  }


  .article {
    margin: 5rem 0;
    background-color: #000;
    color: #ffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .article p {
    width: 50%;
    font-size: 2rem;
  }


  .gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;

  }
 

  .row1 {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .row1 img {
    width: 10%;
    height: 60vh;
    object-fit: cover;
  }

  
  .gallery img {
    width: 35%;
  }


  .gallery .wide {
    display: block;
    width: calc(70% + 20px);
    height: 50vh;
    object-fit: cover;
    margin-top: 10px; /* Adds spacing between rows */
    margin: 0 auto;
  }


  /* 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);
      }
  }
}


/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  /* Intro Section */
  .intro {
      padding-top: 150px;
      font-size: 2rem;
      height: 70vh;
  }

  .intro h1 {
      padding: 0 20px;
  }

  /* Article Section */
  .article {
      margin: 3rem 0;
      flex-direction: column;
      padding: 20px;
      gap: 2rem;
      text-align: center;
  }

  .article p {
      width: 90%;
      font-size: 1.5rem;
      margin-bottom: 20px;
  }

  .article img {
      width: 90%;
      height: auto;
      max-height: 50vh;
      object-fit: contain;
  }

  /* Gallery Section */
  .gallery {
      gap: 15px;
      padding: 15px;
  }

  .row1 {
      flex-direction: column;
      gap: 15px;
      align-items: center;
  }

  .row1 img {
      width: 90%;
      height: 40vh;
  }

  .gallery .wide {
      width: 90%;
      height: 40vh;
      margin: 0 auto;
  }
}

/* Medium screens (tablets) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .intro {
      height: 80vh;
  }

  .article {
      padding: 30px;
  }

  .article p {
      width: 45%;
      font-size: 1.8rem;
  }

  .article img {
      height: 50vh;
      width: auto;
  }

  .row1 img {
      width: 20%;
      height: 50vh;
  }

  .gallery .wide {
      width: 80%;
      height: 45vh;
  }
}

/* Animation adjustment for mobile */
@media screen and (max-width: 768px) {
  @keyframes animate {
      from {
          transform: translateX(-100px);
          opacity: 0;
      }
      to {
          transform: translateX(0);
      }
  }
}