/*
Theme Name: Syed Abdul Rehman
Author: Syed Abdul Rehman
Author URI: https://syedabdulrehman.com/
Description: My Custom Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: syed-abdul-rehman
*/
body{
    padding: 0; margin: 0;
}

*{
     box-sizing:border-box
}

.main-container{
    width: 100%; max-width: 1280px;  height: auto;
    padding: 0 20px;
}

.wide-container{
    width: 100%;  height: auto;
    margin: 0 auto; padding: 0;
}

h1, h2, h3, h4, h5, h6, p, ol, ul{
    font-family: 'poppins', sans-serif;
    font-weight: 600;
}

h1{
    font-size: 48px; line-height: 60px;
    color:#2a2e30;
}

h2{
    font-size: 38px; line-height: 50px;
    color:#2a2e30;
}

h3{
    font-size: 28px; line-height: 36px;
    color:#2a2e30;
}

h4{
    font-size: 24px; line-height: 32px;
    color:#2a2e30;
}

p, ul, ol{
    font-size: 16px; line-height: 24px;
    color:#585959;
    font-weight: 400;
}



.main-header{
    width: 100%; height: auto; min-height: 400px;
    margin: 0; padding: 20px;
    background-image: url('https://syedabdulrehman.com/wp-content/uploads/2026/06/banner.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

.top-header{
    width: 100%; height: auto;
    margin: 0; padding: 0;
    display: flex; flex-direction: row; gap: 20px;
}

.page-header{
    width: 100%; height: auto;
    position: fixed;
    top:0; left:0;
    margin: 0;  padding: 20px;
    display: flex; flex-direction: row; gap: 20px;
    background-color: #1a0902;
    z-index: 1000;
}

.sticky-header{
    width: 100%; height: auto;
    position: fixed;
    top:0; left:0;
    margin: 0; padding: 20px;
    display: flex; flex-direction: row; gap: 20px;
    background-color: #1a0902;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    transform: translateY(-100%);
}

.scroll-down{
    transform: translateY(0);
}

.scroll-up{
    transform: translateY(-100%);
}

.logo-container{
    width: 150px; height: auto;
}

.main-menu-container{
    width: calc(100% - 150px);
    padding: 0;
}

.custom-logo{
    width: 100%; height: auto;
}

.main-menu{
    list-style: none;
    padding: 0; margin: 0;
    text-align: right;
}

.main-menu .menu-item{
    display: inline-block;
    margin: 10px 20px;
    padding:0;
}

.main-menu .menu-item a{
    text-decoration: none;
    font-family: 'Roboto', sans-serif; font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.menu-item a:hover{
    color: #cc7606;
}

.bottom-header{
    width: 100%; height: auto;
    margin: 0; margin-top: 50px;
    padding: 0 ;
    text-align: center;
    color:#fff;

}

.bottom-header .title{
    font-family: 'Roboto', sans-serif;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bottom-header .description{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-top-margin{
   width: 100% ; height: 80px;
}

.mobile-header{
    width: 100%; height: auto;
    margin: 0; padding: 20px;
    background-color: #000;
    display: none;
}

.mobile-header .mobile-top-header{
    width: 100%; height: auto;
    margin: 0; padding: 0;
    display: flex; flex-direction: row; gap: 0;
}

.mobile-top-header .menu-icon-container{
    width: 30px; height: auto;
    margin: 0; 
    text-align: right;
}

.mobile-top-header .logo-container{
    width: calc(100% - 30px); height: auto;
    margin: 0; 
}

.mobile-top-header .logo-container a img{
    width: 120px; height: auto;
    margin: 0; 
}

.mobile-header .mobile-menu-container{
    width: 100%; height: auto;
    margin: 0; 
    display: none;
}

.mobile-menu-container .mobile-menu{
    width: 100%; height:auto;
    list-style:none;
    padding:20px;
}


.mobile-menu-container .mobile-menu .menu-item{
    margin: 20px 0;

}

.mobile-menu-container .mobile-menu .menu-item a{
    color:#fff;
    text-decoration: none;
    font-family: 'Roboto', sans-seriff;
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    .main-header, .sticky-header, .page-header{
        display:none
    }

    .mobile-header{
        display: block;
    }
}

/*--------------------------------Menu Icon------------------------------*/

.menu-icon-container{
    width: 30px; height: 30px;
    cursor: pointer;
    display: none;
    -webkit-tap-highlight-color: transparent;
}

.topBar, .middleBar, .bottomBar{
    width: 100%;
    height: 3px;
    margin:  5px 0px ;
    background-color: white;
}

.change .topBar{
    transform: rotate(-45deg) translate(-6px, 3px);
 }
 
 .change .middleBar{
     opacity: 0;
 }
 
 .change .bottomBar{
    transform: rotate(45deg) translate(-8px, -5px);;
 }
 
 @media only screen and (max-width:767px){
     .menu-icon-container{
         display: block;
     }
 }


/*---------------------------------Footr------------------------------------------*/

.main-footer{
    width: 100%; height: auto;
    background-color: #1a0902; color:#fff;
    margin:0; padding: 20px;
    border-top: 1px solid #fff;
}

.footer-menu-container{
    width: 100%; height: auto;
    margin: 30px 0;
}


.footer-menu{
    list-style: none;
    padding: 0; margin: 0;
    text-align: center;
}

.footer-menu .menu-item{
    display: inline-block;
    margin: 10px 20px;
    padding:0;
}

@media screen and (max-width: 767px)  {
    .footer-menu .menu-item{
        display: block;
        margin: 30px 0;
        padding:0;
    }
}

.footer-menu .menu-item a{
    text-decoration: none;
    font-family: 'Roboto', sans-serif; font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-menu .menu-item a:hover{
  color: #cc7606;
}
    


.main-footer .social-media-container{
    width: 100%; height: auto;
    margin: 30px 0;
    text-align: center;
}

.social-media-container .fa-solid, .social-media-container .fa-brands{
   font-size: 24px;
   color:#fff;
   margin: 0 20px;
}

.main-footer .copyright{
    width: 100%; height: auto;
    margin: 20px 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}


/*----------------------------Portfolio---------------------------------*/

.portfolio-container{
    width: 100%; max-width: 1280px; height: auto;
    margin: 40px auto; padding: 20px;
}

.portfolio-container h2{
    margin-top: 0 ;
    text-align: center;
}

.portfolios{
    width: 100%; height: auto;
    margin: 40px 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 992px) {
    .portfolios {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 items per row on tablets */
    }
}

@media (max-width: 600px) {
    .portfolios {
        grid-template-columns: 1fr; /* 1 item per row on mobile phones */
        gap: 20px;
    }
}

.portfolios .portfolio-item{
    display: flex;
    flex-direction: column;
    color: #333333;
    background: #1A0902;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 0;
    transition: transform 0.2s ease;
    box-shadow: 5px 5px 15px gray;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolios .portfolio-item a{
    text-decoration: none;
}

.portfolios .portfolio-item h3{
   font-weight: 500;
   padding: 0 20px;
   color:#fff;
   text-align: center;
}

.portfolios .portfolio-item .portfolio-thumbnail img{
    width: 100%; height: 400px;
    object-fit: cover;
    border-radius: 0 0 8px 8px;
}

.portfolio-container .button-container{
    width: 100%; height: auto;
    margin:40px 0;
    text-align: center;
}

.portfolio-container .button{
    width:200px;
    display: inline-block;
    margin: 0; padding: 10px 20px;
    border: 2px solid #1A0902;
    color: #fff; background-color: #1A0902;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

.portfolio-container .button:hover{
    color: #1A0902; background-color: #fff;
}

.portfolio-pagination{
    width: 100%; height: auto;
    text-align: center;
    margin: 40px 0;
}

.portfolio-pagination .page-numbers{
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px; padding: 10px 20px;
  border-radius: 8px;
  color: #1A0902; background-color: #fff;
  border: 1px solid #1A0902;
}

.portfolio-pagination .current{
  color: #fff; background-color: #1A0902;
}
