
body{
    background-image: url(./asset/background.jpg);
    background-size: 1920px 1080px%;
    background-position: 20% 50%;
        background-attachment: fixed;
    }
.menubar{
    display:flex;
    justify-content: center;
    
}

nav{
    background: linear-gradient(to bottom,#bebebe 0,#777 3%,#232323 55%,#1d1d1d 55%,#202020 98%,#000 100%);
  box-shadow: rgba(0,0,0,.3) 0 3px 8px;
  border-left: 1px solid #4b4b4b;
  border-right: 1px solid #4b4b4b;
  border-bottom: 1px solid #000;
  padding: 2px 5px 4px 5px;
  font-weight: 2rem;
  font-family: "Segoe UI Semilight",Tahoma,Geneva,Verdana,sans-serif,Arial,Helvetica,sans-serif;
  margin: 0 auto;
  max-width: 1300px;
  width: 100%;
  position: relative;  
  font-size: 16.3px;
  color: #dadada;
     list-style-type: none;
     margin-top: 4px;
}
.container4banner{
    display: flex;
    justify-content: center;

}
.banner {
    background-image: url(./asset/2.png);
    max-width: 1300px;
    width:100%;
    height: 300px;
    background-size:cover;
    background-position: 30% 17%;
    display: grid;
    align-items: center;
    box-shadow: 20px 20px 20px black;

}
nav ul{
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 30px;
    margin: 0;
    padding: 15px;


}
    nav ul a{
        color: #dadada;
        text-decoration: none;
    }
    input{
        padding: 8px 15px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        
    }
    nav ul .search {
        margin-left:auto
    }

h1 {
    color: #e9e9e9;
      font-family: "Segoe UI Semilight",Tahoma,Geneva,Verdana,sans-serif,Arial,Helvetica,sans-serif;
      
     font-size: 3.3rem;
      display: grid;
  justify-items:flex-end;

     padding:30px;

  text-shadow: 4px 5px 4px #000000;





}
.foreground{
overflow: hidden;
background-color: #e0e0e0;
    padding: 30px ; /* Adjust padding as needed */
    margin: 0 auto;
    max-width: 1245px; /* Or whatever width you want */
    min-height: 100vh; /* Ensures it has some height even when empty */
    
}


/*.container{
    width: 30%;
    background-color: black;
    opacity: 50%;
    height: inherit;
}

/* hover is next and we;re done nav bar

*/ 
nav ul li a {
    padding: 13px 15px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.25);
    color: #fff;
}


.sidebar {
float: right;
overflow: hidden;
    width: 300px;
    height: 600px;
    margin: 10px;
    
    border-left: 1.5px solid rgb(134, 133, 133);
    padding: 20px;


}

.title{
    background-image: url(asset/title_bg.jpg);
   height: auto;
   width: auto;
    background-repeat: no-repeat;
    padding: 10px;
}



.sidecontent {
      height: 100px;
    width: auto;
    background-image: url(asset/cotnent-bg.jpg);
    background-position: left center; /* Changed to left */
    background-size: 100% 100%; /* Shrink width to 80%, keep height at 100% */
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
background-repeat: no-repeat;

}
.ptext {

color: #4d4d4d;
 padding-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
display: block;
  width: 280px;
  height: auto;
  float: left;
}



.titletext {
font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  padding-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.myimage {
    border: 3px solid black;
    margin: 0 auto;
   width: 280px;
    height: 353px;
    margin-bottom: 20%;
          box-shadow: 0 0 10px 0 black;


    

}
.myimage img {
width: 280px;
height: 353px;
object-fit: contain;

margin-left: 50%;
margin: 0 auto;
object-fit: cover;


}
     /* ===== YOUR EXACT .main-content ===== */
        .main-content {
            height: 478px;
            width: 780px; /* change wideness*/
            float: left;
            overflow: hidden;
            
            margin: 10px;
            margin-top: 30px;
            background-image: url(asset/about-main-content.jpeg);
            background-position: left center;
            background-size: 100% 100%;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 10px;
            
            background-repeat: no-repeat;
        }

        /* ===== YOUR EXACT .main-container ===== */
        .main-container {
            visibility: visible;
            padding: 15px;
            margin-top: 20px;
            position: relative;
            bottom: 20px;
            overflow: hidden;
            width: 750px; /* change position of tabs*/
            height: 431px;
            
            

        }

        /* ===== THUMBNAIL STRIP — floated right ===== */
        .tab-sideb {
            float: right;
            width: 155px;
            height: 590px;
  margin-bottom: 100px;
        }

        /* ===== EACH THUMBNAIL BUTTON ===== */
        .tab__button {
            display: block;
            width: 155px;
            height: 105px;
            border-bottom: 0px solid #000000;
            margin-bottom: 2px;
            border-top: none;
            border-left: none;
            border-right: none;
            box-shadow: 0px 0px 0px solid black;
            background-color: #333333;
            color: transparent;
            font-size: 0;

  margin-bottom: 10px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            padding: 0;
            text-align: left;
        }

        .tab__button:last-child {
            border-bottom: none;
        }

        .tab__button img {
            display: block;
            width: 155px; /* change wideness*/
            height: 105px;
            position: absolute;
            top: 0;
                          left: 0;
        }

        .tab__button .thumb-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 155px;
            height: 105px;
            background-color: rgba(0, 0, 0, 0.4);
            z-index: 2;
        }

        .tab__button.active .thumb-overlay,
        .tab__button:hover .thumb-overlay {
            background-color: rgba(0, 0, 0, 0.05);
        }

        /* ===== SLIDE AREA wrapper ===== */
        .slide-area {
            float: left;
          width: 547px; /* change wideness*/
    height: 581px;
    
        }

        /* ===== EACH SLIDE (tab-content) ===== */
        .tab-content {
            position: absolute;
            left: -20px;
          top: -35px;
            width: 580px; /* change wideness*/
    height: 581px;
    display: none;
    ;
    
        }

        .tab-content.active {
            display: block;
        }

        .tab-content img {
           width:580px; /* change wideness*/
    height: 100%;
display: block;
 object-fit: cover; /* This centers and crops the image */
  object-position: center; /* Optional: explicitly centers the image */

margin: 0 auto;
object-fit: cover;
padding: 21px;

        }

        /* hide h2/p inside slides — shown in overlay instead */
        .tab-content h2,
        .tab-content p {
            display: none;
        }

        /* ===== DARK BAR at bottom ===== */
        .slide-info-bg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 583px;
            height: 200px;
            background-color: rgba(0, 0, 0, 0.795);
            z-index: 5;
        }

        /* ===== TITLE + DESC overlay ===== */
        .slide-info {
            position: absolute;
            bottom: 15%;
            left: 0;
            width: 510px;
            height: 100px;
            z-index: 6;
        }

        .slide-info h2 {
            color: #ffffff;
            font-size: 22px;
            font-weight: bold;
            margin-top: 12px;
            margin-left: 12px;
            font-family: Verdana, Geneva, sans-serif;
        }

        .slide-info p {
            color: #ffffff;
            font-size: 15px;
            margin-left: 12px;
            margin-top: 2px;
            font-family: Verdana, Geneva, sans-serif;
        }

        /* ===== ARROWS ===== */
        .arrows {
            position: absolute;
            bottom: 8px;
            right: 25%;
            z-index: 10;
        }
      

        .arrow-btn {
            display: inline-block;
            width: 22px;
            height: 22px;
            background-color: rgba(0, 0, 0, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #ffffff;
            font-size: 11px;
            cursor: pointer;
            text-align: center;
            line-height: 22px;
            margin-left: 3px;
        }

        .arrow-btn:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        /* ===== CLEARFIX ===== */
        .clearfix {
            clear: both;
    }
     
/* ===== FADE IN ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main section fade in on page load */
.main-content {
    animation: fadeIn 0.8s ease-in;
}

/* Sidebar fade in on page load */
.sidebar {
    animation: fadeIn 1s ease-in;
}

/* Thumbnail hover transitions */
.tab__button .thumb-overlay {
    transition: background-color 0.4s ease, opacity 0.4s ease;
}

/* Slide content fade in when switching tabs */
.tab-content.active {
    animation: fadeIn 0.5s ease-in;
}

/* Slide info overlay transitions */
.slide-info-bg {
    transition: opacity 0.3s ease;
}

.slide-info {
    transition: opacity 0.3s ease 0.1s;
}

/* Arrow button transitions */
.arrow-btn {
    transition: background-color 0.3s ease;
}