/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alore&family=Raleway:wght@300;400;600&display=swap');

/* General Styles */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #000000;
    color: #333;
}

/* General Link Styling */
a {
    color: #0b440b; /* Yellow color for links */
    transition: color 0.3s ease; /* Smooth transition for hover effects */
}

a:hover {
    color: #ccf0cc; /* Darker shade of yellow (orange) on hover */
}
/* === MAIN CONTENT WIDTH === */
.site-main .container {
    max-width: 80% !important;
    margin: 0 auto;
  }

/* Hero Section */
.hero-section {
    background: url('assets/img_og/tree.png') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px; /* Add padding for smaller screens */
}

.hero-section .hero-box {
    background-color: #e2f0e2; /* White background */
    opacity: 0.95; /* Slight transparency */
    padding: 30px 20px; /* Inner spacing */
    border: none; /* Remove any unwanted borders */
    width: 80%; /* Adjust width */
    max-width: 900px; /* Ensure the box doesn't grow too wide */
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'Raleway', serif; /* Artistic serif font */
    margin-bottom: 20px; /* Space below the title */
}

.hero-section p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Raleway', sans-serif; /* Clean sans-serif for body text */
    margin: 0; /* Ensure no unnecessary margins */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .hero-box {
        width: 90%; /* Adjust box width for smaller screens */
    }

    .hero-section h1 {
        font-size: 3rem; /* Adjust title size */
    }

    .hero-section p {
        font-size: 1rem; /* Adjust paragraph size */
    }
}


/* In a Nutshell Section */
.nutshell-section {
    background-color:  #e2f0e2;; /* Green background */
    padding: 50px 0;
    text-align: center;
}

.nutshell-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: white;
    font-family: 'Raleway', serif; /* Elegant serif for section titles */
}

.nutshell-box {
    background-color: #ccf0cc;;/* In a Nutshell Section */
    padding: 20px;
    border-radius: 0px;
    width: 75%;
    margin: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: black;
    line-height: 1.8;
    font-family: 'Raleway', sans-serif; /* Keep body text clean and readable */
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Raleway', serif; /* Elegant font for navigation links */
    font-weight: 400;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #678867ca; /* Match the green accent */
}

.offcanvas {
    background-color: #040404; /* Black background for side window */
    color: white;
    position: fixed;
    z-index: 1055; /* Bootstrap default */
}


.offcanvas .nav-link {
    color: white; /* White by default */
    text-decoration: none;
    font-size: 18px; /* Slightly larger for better readability in side menu */
    padding: 10px 0; /* Add some spacing for better visibility */
    transition: color 0.3s ease; /* Smooth hover transition */
}

.offcanvas .nav-link:hover {
    color: #678867ca; /* Green on hover */
}

.offcanvas-header {
    border-bottom: 1px solid #333; /* Subtle border for separation */
}

.offcanvas-title {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    color: white;
}
/* foooooter */

.contact-footer {
    padding-top: 3px;
}

.contact-links {
    display: flex;
    gap: 20px; /* Spacing between each contact item */
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-links li {
    display: flex;
    align-items: center;
    position: relative;
}

.contact-links li i {
    margin-right: 10px;
    font-size: 18px;
    color: white; /* Icon color */
}

.contact-links li a {
    font-size: 18px;
    color: #8c8f94;
    text-decoration: none;
    font-weight: 400;
}

.contact-links li a:hover {
    color: #678867ca; /* Green hover color */
}

/* butttttttttons */

.btn {
    line-height: 50px;
    /* min-width: 200px; */
    font-size: 22px;
    font-weight: 400;
    border: 0;
    border-radius: 50px;
    color: #26272d;
    background-color: #fff;
    padding: 50;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    margin: 5%;
}

.btn-border {
    border: 1px solid #26272d;
}

.btn-fill {
    background-color: #f6fbda;
    color: #fff;
}

.btn-gray {
    background-color: #f5f5f8;
    color: #26272d;
}

.btn-green {
    background-color: #475d47ca;
    color: #fff;
}

.btn:hover,
button.btn:hover,
.btn:focus,
button.btn:focus {
    background-color: #26272d;
    color: #fff;
}

.btn-gray:hover,
.btn-gray:focus {
    background-color: #678867ca;
    color: #fff;
}

/* curriculuuuuum */

/* General Body Styles */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #e2f0e2; /* Background color */
    color: #333;
}

/* Curriculum Vitae Title */
#main .site-section:first-of-type {
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
}

#main .site-section:first-of-type h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

/* Section Boxes (Education and Professional Experience) */
.section-features .row {
    margin-bottom: 30px;
}

.section-features .row .col-lg-10 {
    background-color: #b8deb8ca; /* White box */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-features .row h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.section-features .row h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgb(51, 50, 50);
}

/* Curriculum Vitae Title */
.site-section:first-of-type h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

/* White Box for Education and Experience */
.education-box, .experience-box {
    background-color: #678867ca;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.education-box h3, .experience-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #444;
}

.portfolio-sorting h4 b,
.education-box strong,
.education-box h4 b {
    color: #293629; /* Green color */
    font-weight: bold; /* Ensure bold styling */
}


.portfolio-sorting a b,
.portfolio-sorting a strong {
    color: inherit; /* Inherit the link's color */
    font-weight: bold; /* Ensure it remains bold */
}

.education-box ul, .experience-box ul {
    padding-left: 20px;
}

.education-box ul li, .experience-box ul li {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #555;
}

/* Skills Section */
.section-skills .skill-box {
    background-color: #678867ca;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.section-skills .skill-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(68, 68, 68);
}

.section-skills .skill-box li {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(187, 238, 169);
}

.section-skills ul {
    padding-left: 0;
    list-style: none;
}

.section-skills ul li {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 10px;
}

/* ------------GALLERY------------- */

/* === Lightbox & Transition Enhancements === */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    opacity: 0;
    filter: blur(6px);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
.modal.show .modal-dialog {
transform: scale(1);
opacity: 1;
filter: blur(0);
}

.modal-backdrop.show {
backdrop-filter: blur(10px) brightness(0.5);
background-color: rgba(0, 0, 0, 0.8);
transition: backdrop-filter 0.4s ease;
}
/* === Modal White Style === */
.modal-content {
    background: #fff;
    color: #000;
    border-radius: 6px;
    max-width: 90vw;            /* 75% of viewport width */
    margin: auto;               /* center horizontally */
    max-height: 85vh;           /* leave some space top/bottom */
    overflow-y: auto;           /* scrollable if content too tall */
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    padding: 2rem;
}

.modal-body img,
.modal-body video {
border-radius: 8px;
max-width: 100%;
height: auto;
margin-bottom: 1rem;
}

.modal-body img:hover,
.modal-body video:hover {
transform: scale(1.02);
box-shadow: 0 0 50px rgba(150, 255, 200, 0.25);
}
  


.navbar-dark .navbar-nav .nav-link:hover {
color: #678867ca;
}

[data-scroll-container] {
    overflow: hidden;
    background-color: #e2f0e2;
    min-height: 100%;          /* ensure it fills the screen */
    display: flex;
    flex-direction: column;
}

/* Ensure the scroll container always accounts for content */
.portfolio-section {
    min-height: calc(100vh - 200px); /* ensure enough scrollable space */
    padding-bottom: 15rem; /* space before footer */
    background-color: transparent !important; /* remove Bootstrap’s default light bg */
    flex: 1 0 auto;

}
[data-barba-container],
[data-scroll-section] {
  position: relative;
  z-index: 3;
}

/* Target Bootstrap rows inside the portfolio section */
.portfolio-section .row {
margin-bottom: 2rem;
}

.portfolio-hover {
    position: absolute;
    inset: 0;             /* covers full image */
    z-index: 5;           /* above overlay text */
    background: transparent;
    cursor: pointer;
  }
  
/* Compact and centered category buttons */
.btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;         /* Wrap only when needed */
    gap: 0;                  /* Remove extra spacing */
}

.btn-group .btn {
flex: 0 0 auto;
white-space: nowrap;
padding: 0.35rem 0.8rem; /* tighter padding */
font-size: 0.95rem;
margin: 0;               /* neutralize Bootstrap’s internal margin */
border-radius: 0;        /* keeps edges touching cleanly */
}
.btn-group .btn:first-child { border-top-left-radius: 0.9rem; border-bottom-left-radius: 0.9rem; }
.btn-group .btn:last-child  { border-top-right-radius: 0.9rem; border-bottom-right-radius: 0.9rem; }

  
/* Portfolio Layout */
.portfolio-thumb {
    position: relative;
    aspect-ratio: 1 / 1;         /* square */
    width: 30%;                 /* fill available space */
    max-width: 50%;             /* allow full grid control */
    overflow: hidden;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.portfolio-thumb img,
.portfolio-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-thumb .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-thumb {
    flex: 1 1 auto;
  }
  
.portfolio-thumb:hover .overlay {
    opacity: 1;
}
  
.portfolio-grid {
    --bs-gutter-x: 0.7vh; /* reduce left-right spacing */
    --bs-gutter-y: 0.7vh;   /* increase top-bottom spacing */
}
  
/* Filter Buttons */
.btn-outline-success.active,
.btn-outline-success:hover {
background-color: #678867ca;
color: #fff;
border-color: #678867ca;
}

/* Smooth visibility toggle */
.portfolio-item {
transition: opacity 0.6s ease, transform 0.6s ease;
opacity: 1;
transform: scale(1);
}

.hidden-item {
opacity: 0;
transform: scale(0.9);
pointer-events: none;
position: absolute !important;
}

.visible-item {
opacity: 1;
transform: scale(1);
position: relative;
}

/* Footer */
.site-footer {
    position: relative;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 5rem; 
    z-index: 10;
}

.site-footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.site-footer .contact-item {
display: flex;
align-items: center;
gap: 8px;
color: white;
text-decoration: none;
}

.site-footer .contact-item:hover {
color: #678867ca;
}

@media (max-width: 768px) {
    .site-footer {
      position: relative;
      bottom: 0;
      padding-bottom: 5rem; /* breathing room */
    }
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }
/* Responsive Behavior */
@media (max-width: 768px) {
    .site-footer .footer-container {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
    }

    .site-footer .contact-item {
        justify-content: center; /* Center align for smaller screens */
    }
}

/* home---- */
.carousel-bg-section {
    position: relative;
    height: 100vh; /* full viewport */
    overflow: hidden;
  }
  
.carousel-bg-section img {
width: 100%;
height: 100vh;
object-fit: cover;
opacity: 1; /* dim background */
}
@media (max-width: 768px) {
.carousel-bg-section {
    height: auto;                 /* Let content define height on mobile */
    overflow: visible;            /* Enable scrolling */
}
.overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 2;
  }
}

.content-box {
    width: 90% !important;         /* Fit smaller screens */
    padding: 1.5rem !important;
}

.overlay-content {
z-index: 2;
}

.overlay-content .content-box {
color: white;
backdrop-filter: blur(6px);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
font-size: 1.1rem;
line-height: 1.6;
}

.small-profile {
width: 230px;
height: 230px;
object-fit: cover;
border: 2px solid #fff;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.education-box, .experience-box, .skill-box {
background-color: #d4ebd4ca;
padding: 20px;
border-radius: 10px;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
margin-bottom: 30px;
}

h1, h2, h3, h4 {
font-family: 'Montserrat', sans-serif;
}

h2.heading-separator {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
