/*
Theme Name: Portfolio Theme
Theme URI: http://example.com/portfolio-theme
Author: Your Name
Author URI: http://example.com
Description: A simple WordPress theme for portfolios.
Version: 1.0
*/
:root {
  --first-color: #2c3e50; /* blueish: #2c3e50    var(--first-color); Search field */
  --second-color:  #1D2D44; /* myblack:;   var(--second-color); Button Hover / Code */
  --third-color: #ffffff ;   /* white : #ffffff     var(--third-color); Button Text / My Case*/
  --fourth-color: #19191a; /*#1c2733;  /*  myblueish:#1c2733;   var(--fourth-color); Button Text Hover */
  --fifth-color: #090D15;   /* myblack: #090D15 green:#91e340  mylightblue:#3E5C76; var(--fifth-color); Nav Bar Background */
  --sixth-color: #e3ba40;
}
body {
    font-family: 'Raleway', sans-serif;/*'Dosis', sans-serif; 'Noto Sans'*/
    line-height: 1.6;
    color: #000000; /* Dark Gray: #34495e for text */
    background-color: #000000; /* White background */
}
h1,h2,h3: {
    font-family: 'Noto Sans', sans-serif;
}

/* Header */
header {
    background-color: #090D15; /*#2c3e50; /* Deep Navy */
    color: #000000; /* White text */
    padding: 20px;
    text-align: center;
}

/* Sections */
section {
    padding: 60px 20px; /* Increased padding for white space */
}


/* main declarations */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/*---------------------------------------------------------------
                     Navigation 
----------------------------------------------------------------*/
.navbar{
    background:var(--fifth-color);
    padding:10px 20px;
    transition: padding 2s ease;
}

.navbar-background{
    padding:2px 20px;
}

.navbar-brand {
    display: inline-flex; /* Align items in a row */
    align-items: center; /* Center vertically */
    color: var(--second-color);
    border: 3px solid;
    
    transition: all 0.3s ease; /* Adjusted transition duration */
}

.noto-font {
    font-family: 'Noto Sans', sans-serif; /* Apply Noto font */
    margin-right: 5px; /* Space between the words */
	font-size: 30px;
}

.homemade-font {
    font-family: 'Homemade Apple'; /* Apply Homemade Apple font */
	font-size: 20px;
}

.navbar-brand:hover{
  	background: var(--second-color);
    color:var(--fifth-color);
}

.bar1,.bar2,.bar3{
    width:23px;
    height: 3px;
    margin:5px;
    background:var(--second-color);
    transition: all 0.5s ease;
}

.change .bar1{
    transform: rotate(-45deg) translate(-5px ,6px);
}

.change .bar2{
    opacity: 0;
}

.change .bar3{
    transform: rotate(45deg) translate(-5px ,-8px);
}

.nav-link{
    color:var(--third-color);
    font-size:25px;
    padding: 10px 20px !important;
    border-radius:5px;
    transition: background 2s ease;
}
.nav-link:hover{
    background:var(--second-color);
    color:var(--fourth-color);
}
.nav-active{
    color:var(--second-color);
    font-size: 25px;
    padding:10px 20px !important;
    background:rgba(159,88,69,0.6);
}

.search-btn{
    background:var(--second-color);
    transition: all 1s ease;
}

.search-btn:hover{
    background:var(--first-color);
    color:var(--first-color);
}

.form-control{
    background:var(--first-color);
}

.navbar-toggler{
    border: 3px solid var(--second-color);
    padding:3px;
}
/*------------------endof navigation----------------------------------- */


/*-----------------------------------------------------------------------
                             carousel
----------------------------------------------------------------------- */
/*#home .carousel-item {
    width: 100%;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    width: 95%; 
    max-width: 1980px; 
    border-radius: 8px; 
	
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
} */

#home .carousel-inner {
    max-width: 1980px;
    margin: auto;
	background-color: #ff6347;
	/*opacity: 0.2;*/
}

/* Ensure carousel items fill the width and height */
#home .carousel-item {
    width: 100%;
    min-height: 80vh; /*height: 80vh; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border-radius: 8px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 95%); /* Apply the clip path here */
	background-color: #fff;/**/
	/*opacity: 0.9;*/
}

#home .carousel-item img {
    width: 95%;
    max-width: 1980px;
    border-radius: 2px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
	/*opacity: 0.5;
	display: none;*/
}


/*Specific backgrounds only if you are using background images 
#home .item-1 { background-image: url('img/faceRender_03.jpg'); }
#home .item-2 { background-image: url('img/pianoLoft.jpg'); }
#home .item-3 { background-image: url('img/street.jpg'); }
#home .item-4 { background-image: url('img/street_sw.jpg'); } 
*/
/* Optional individual styling for each item */
.item-1, .item-2, .item-3, .item-4, .item-5,.item-6 {
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 95%);
    /* Any additional styles for each item, if needed */
}
/* Hide the img tag if it's no longer needed */
/*.carousel-item img {
    display: none;
}*/


#home .carousel-caption {
    position: absolute;
    bottom: 20%;
    right: 10%;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    text-align: right;
    transition: all 0.3s ease-in-out;
}

.carousel-caption h1 {
    font-family: 'Homemade Apple', sans-serif;
    font-size: 3rem;
	position: absolute;
	margin-top: 300px;
	margin-left: 450px;
    color: #fff;
}

.carousel-caption p {
    color: #fff;
    font-size: 1.2rem;
}

#home .carousel-caption .banner-btn {
    background: var(--second-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

#home .carousel-caption .banner-btn:hover {
    background: var(--fifth-color);
    color: #333;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 50%;
}

/* Slide transition effect */
#home .carousel-inner .carousel-item {
    transition: transform 1.2s ease-in-out;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-item-next.carousel-item-left, 
.carousel-item-prev.carousel-item-right,
.carousel-item.active {
    opacity: 1;
    transition: opacity 1.8s ease-in-out;
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.carousel-indicators li {
    background-color: var(--third-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--second-color);
}

/*---------------------------------------------------------------
                        Skills Section
---------------------------------------------------------------*/
#skills {
    background-color: var(--fifth-color);
    padding-top: 50px;
    padding-bottom: 50px;
}

#skills h1 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--first-color);
}

#skills h3 {
    color: var(--fourth-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.title-underline {
    width: 50px;
    height: 4px;
    background-color: var(--second-color);
    margin: 0.5rem auto;
}

.skills-icon span {
    font-size: 3rem;
    color: var(--second-color);
    background-color: var(--first-color);
    padding: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-icon span:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#skills .col-6 h3 {
    font-size: 1.3rem;
    color: var(--second-color);
    font-weight: 600;
}

#skills .col-6 p {
    font-size: 0.9rem;
    color: var(--third-color);
    line-height: 1.5;
}

@media (max-width: 768px) {
    #skills h1 {
        font-size: 2rem;
    }
    #skills h3 {
        font-size: 1.2rem;
    }
    .skills-icon span {
        font-size: 2.5rem;
        padding: 15px;
    }
}
/* ########################## Back to Top Button ###################### */
/* Back to Top Button */
#back-to-top-btn{
    position: fixed;
    bottom: 20px;
    right: 12px;
    background-color: var(--first-color); /* Adjust for a more subtle shade if needed */
    color: var(--second-color);
    font-size: 0.3rem; /* Smaller font size */
    padding: 3px 6px; /* Smaller padding */
    border-radius: px;
    transition: all 0.3s ease;
    opacity: 0.8; /* Slight transparency for subtle effect */
}
.btn-primary{
    background-color: var(--first-color); /* Adjust for a more subtle shade if needed */
    color: var(--second-color);
	border-color:var(--second-color);
}
.btn-primary:hover{
    background-color: var(--second-color);
    color: var(--first-color);
}
#back-to-top:hover {
    background-color: var(--second-color);
    color: var(--first-color);
    opacity: 1;
    transform: scale(1.05);
}

/*---------------------------------------------------------------
                        About Section
---------------------------------------------------------------*/
/* About Section */
#about {
    background: #fff; /*var(--sixth-color-gradient-light);*/ /* Dark gradient background */
	opacity: 0.5;
    color: var(--third-color); /* Text color */
    padding: 60px 0; /* Adds spacing for the section */
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); /* Adds a stylish angular clipping */
}

/* Title Styles */
#about .title h1 {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: 10px;
    font-weight: 700;
}

#about .title h3 {
    font-size: 1.0rem;
    color: var(--second-color);
    margin-bottom: 20px;
    font-weight: 400;
	line-height: 2.1;
}

#about .title i {
    color: var(--third-color);
    font-size: 1.5rem;
    margin-top: 10px;
    transition: color 0.3s ease;
}

#about .title i:hover {
    color: var(--first-color); /* Icon color change on hover */
}

#about .title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--first-color);
    margin: 0 auto;
    margin-top: 15px;
    border-radius: 5px;
}

/* About Content */
#about .about-content {
    margin-top: 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--third-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #about .title h1 {
        font-size: 2rem;
    }
    #about .title h3 {
        font-size: 1rem;
    }
}
/*################## modal video filler  ##########################*/
#modal-filler {
	position: relative;
	height: 50vh;
    background-color: red;
}

#modal-filler a {
    color: var(--third-color);
    font-size: 80px;
    animation: myAnimation 5s ease infinite;
}

/*@keyframes myAnimation{
    25%{
        color:var(--third-color);
    }
    
    50%{
        transform:scale(1.5);
        color:var(--first-color);
    }
}*/

/*---------------------------------------------------------------
                        Project Section
---------------------------------------------------------------*/
.projects .img-container {
    margin-bottom: 30px; /* Adjust as needed */
}
/* Ensure the project section has padding and a background */ 
#projects { 
	visibility: visible; 
	background: var(--second-color-gradient-dark); 
	padding: 40px 20px; 
/* Adds padding around the section */ 
} 

/* Add spacing between buttons */ 

#projects .filter-button-group .btn {
    margin-right: 10px; /* Adds spacing between buttons */
    margin-bottom: 30px; /* Adds spacing below the button group */
	/*gap: 25px;*/ /* Adds space between buttons */
	margin-top: 65px;
}

#projects h1{
    margin-top: 10px;
	margin-bottom: 12px;
}

/* Style individual buttons with extra margin */ 
#projects button { 
	font-family: 'Roboto', sans-serif;
	    background-color: #2c3e50; /* Primary color */
	    color: #ffffff; /* White text */
	    padding: 10px 20px;
	    border: none;
	    border-radius: 5px;
	    transition: all 0.3s ease;
} 
#projects button:hover { 
	background-color: #3498db; /* Lighter shade on hover */
	    transform: translateY(-2px);
	    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 

/* Add margin to image grid to separate from buttons */ 
.grid { 
	margin-top: 140px; /* Adds space between button group and images */ 
} 

/* Adjust image container for better layout control */ 
.img-container { 
	position: relative; 
	overflow: hidden; 
	background: linear-gradient(var(--second-color-gradient-dark), var(--second-color-gradient-light)); 
	padding: 10px; /* Optional padding for image container */ 
}

.img-container img{
    opacity:1;
    transition: all 2s ease-in-out;
}
.img-container:hover .project-image{
    opacity:0.3;
    transform:scale(1.3);
}

.search-link{
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:50px;
    color:var(--fifth-color);
    transition: margin 2s ease-in-out,color 0.5s ease-in-out,opacity 0.75s ease-in-out;
    margin-top: -50%;
    opacity:0;
}

.img-container:hover .search-link{
    margin-top:0;
    opacity:1;
}

.search-link:hover{
    color:var(--fourth-color);
}

/*---------------------------------------------------------------
                        Current Project Section
---------------------------------------------------------------*/
#current-projects .container-fluid {
    position: relative;
    z-index: 2; /* Brings the content above the overlay */
	width: 75%;
	/*background-color: var(--sixth-color);*/
	background-color: #fff;
	opacity:0.95;
}

#current-projects{
	background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--sixth-color));
	
	opacity:0.95;
	width:100%;
}
.current-project-photo{
    position:relative;
    min-height: 50vh;
}

.current-project-photo img{
    object-fit: cover;
    width:45%;
    height:33%;
}

.current-project{
    position:absolute;
    transition: all 2s ease-in-out;
}

.project-item.mb-4{
	height: 160px;
	border: 0.5px solid #3E5C76;
}

/*.project-item .btn{
	z-index:5;
	font-size: 18px;
}*/

.project-btn {
	z-index:5;
    padding: 4px 20px; /* Adjust padding to change button size */
    font-size: 1rem;    /* Adjust font size for button text */
    width: 75%;   /* Optional: set max-width to keep button from growing too large */
    margin: 0 auto;     /* Center the button within its container */
	box-sizing: border-box; 
	background-color: gray;
}

.project-item .btn:hover{
	max-width: 100%;
	background-color: #3E5C76;
	/*transition: background-color 1.1s ease, color 0.3s ease, width 0.9s ease;*/
	transition: all 1s ease-in-out
	opacity:0.9;
	margin: 0px;
}

/* Add a different color for the highlight */
.project-item .highlight {
    background-color: #3E5C76; /* Change to your desired highlight color */
    color: #f39c12; /* Optional: Change text color */
    transition: background-color 1.3s ease, color 1.3s ease;  /* Smooth transition */
}

.post-139 {
    top: 34%;
    left: 10%;
    transform: rotate(-15deg);
    z-index:20;
    border: 2px solid red;
	opacity:0.5;
}

.post-140 {
    top: 0;
    left: 46%;
    transform: rotate(8deg);
    z-index:30;
    border: 2px solid green;
	opacity:0.5;
}
.post-141 {
    top: 0;
    left: 3%;
    transform: rotate(-5deg);
    border: 2px solid green;
	opacity:0.5;
}
.post-142 {
    top: 41%;
    left: 40%;
    transform: rotate(38deg);
    border: 2px solid green;
	opacity:0.5;
}
.current-project:hover{
    transform:scale(1.3);
    z-index:50;
	opacity:0.95;
}

.current-project {
    width: 48%; /* Adjust width to fit 2 images per row */
    margin-bottom: 15px;
}

/*---------------------------------------------------------------
                        Posts Section
---------------------------------------------------------------*/
#posts {
    background: #ecf0f1; /* Light Gray */
}

#posts h1 {
    margin-top: 80px;
    color: #2c3e50; /* Deep Navy */
}
#posts h4 {
    color: #2c3e50; /* Deep Navy */
	font-size:1rem;
}

#posts .card {
    min-height: 40vh;
    background: white; /* Card background */
    border: none;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    margin-bottom: 20px; /* Space between cards */
}

#posts .card-img-top{
    border-radius: 0!important;
}

#posts .card-footer{
    background: transparent;
}

.post-link{
    color:var(--first-color);
    transition: all 1s ease-in-out;
}

.post-link:hover{
    color:var(--second-color);
    text-decoration:none;
}

.corner-text{
    position:absolute;
    top:0;
    right:0;
    background:var(--second-color);
    opacity:0;
    transition: all 1s ease-in-out;
}

#posts .card:hover .corner-text{
    opacity:1;
}

/*---------------------------------------------------------------
                        Contact Form Section
---------------------------------------------------------------*/


#contact-form h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#contact-form .form-control {
    max-width: 400px;
}

#contact-form .btn-primary {
    background-color: #007bff; /* Adjust as needed */
    color: #fff;
}

#contact-form p.text-success, #contact-form p.text-danger {
    font-size: 1rem;
    margin-top: 15px;
}

/*---------------------------------------------------------------
                        Reviews Section
---------------------------------------------------------------*/
#reviews .carousel-control-prev-icon,
#reviews .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 30%;
}

#reviews .customer-text h3, #reviews .customer-text h4 {
    color: #333; /* Adjust color to match your design */
}

#reviews .ratings i {
    color: #FFD700; /* Gold color for stars */
}
#reviews .carousel-item img {
    width: 260px; /* Adjust the width as desired */
    height: 260px; /* Adjust the height as desired */
}
/*---------------------------------------------------------------
                       Values Section
---------------------------------------------------------------*/
/* Header Styling */
#main-header {
    position: relative;
    background: url('path/to/your-background.jpg') center center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Overlay for darkening background */
#main-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust for desired darkness */
    z-index: 1;
}

/* Header Content */
#main-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#values .title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #333333;
    text-transform: uppercase;
}

#values .title h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #777777;
    text-transform: capitalize;
    margin-top: 10px;
}

#values .title i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-top: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

#values .title i:hover {
    color: #333333;
    transform: scale(1.2);
}

#values .title {
    padding-bottom: 20px;
    border-bottom: 2px solid #dddddd;
    margin-bottom: 40px;
}
#values{
    background: var(--second-color-gradient-dark);
}

.value{
    position:relative;
    min-height:40vh;
}

#values h3 {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    color: #555; /* adjust color as needed */
    margin-top: 1rem;
}

.value-icon{
    font-size:60px;
    color: var(--second-color);
    background:var(--fifth-color);
    padding: 25px 40px;
    border-radius: 50%;
    display:inline-block;
    position:relative;
    transition: all 2s ease-in-out;
}
/*
.value-icon {
    font-size: 2rem;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}*/

.value-number {
    font-size: 1.5rem;
    color: #888;
    display: block;
}

.value h1 {
    font-size: 1.25rem;
    color: #222;
    margin-top: 1rem;
}

/*---------------------------------------------------------------
                       Values Section
---------------------------------------------------------------*/
.publication {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.publication:hover {
    transform: scale(1.05);
}

.publication-title {
    font-size: 1.5em;
    margin: 10px 0;
}

.publication-excerpt {
    font-size: 0.9em;
    color: #555;
}

.publication-date {
    font-size: 0.8em;
    color: #999;
}