@import url('https://fonts.googleapis.com/css?family=Oswald|Rambla|Staatliches&display=swap');

body{
    margin: 0;
    padding: 0;
    font-family: var(--font-ram);
    color: var(--color-gray-dark);
    background-color: var(--color-gray-light);
    line-height: 1.6;
}

:root{
    --color-black: #000000;
    --color-white: #ffffff;
    --color-border: #ffffff34;
    --color-blue: #2A5CAA;
    --color-blue-light: #4A7BC8;
    --color-gray-light: #f5f7fa;
    --color-gray-dark: #333333;
    --font-staat: 'Staatliches', cursive;
    --font-os:  'Oswald', sans-serif;
    --font-ram: 'Rambla', sans-serif;
}

/* global classes */
.font-staat{
    font: normal 400 18px var(--font-staat);
}
.font-os{
    font: normal 300 18px var(--font-os);
}
.font-ram{
    font: normal 400 18px var(--font-ram);
}

.font-size-40{
    font-size: 40px;
}
.font-size-34{
    font-size: 34px;
}
.font-size-27{
    font-size: 27px;
}
.font-size-20{
    font-size: 20px;
}
.font-size-16{
    font-size: 16px;
}

.bgcolor-black{
    background-color: var(--color-blue);
}

/* Improved spacing and readability */
.section-spacing {
    padding: 4rem 0;
}

.section-title {
    margin-bottom: 2.5rem;
    color: var(--color-blue);
}

.card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.bullet-list {
    list-style-type: none;
    padding-left: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.bullet-list li:before {
    content: "•";
    color: var(--color-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

.metric-highlight {
    color: var(--color-blue);
    font-weight: bold;
    background-color: rgba(42, 92, 170, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Category styling for workshops */
.category-section {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.category-section:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.category-title {
    color: var(--color-blue);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-blue-light);
    border-radius: 2px;
}

.workshop-item {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-blue-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.workshop-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-blue);
}

.workshop-item h3 a {
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.workshop-item h3 a:hover {
    color: var(--color-blue);
}

.workshop-item .btn-outline-dark {
    border-color: var(--color-blue);
    color: var(--color-blue);
    transition: all 0.3s ease;
}

.workshop-item .btn-outline-dark:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
}

/* #global classes */

#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index:1;
    transition: left .5s ease;
}

#header nav{
    height: 100vh;
}
#header .site-title .navbar-brand{
    letter-spacing: 2px;
    color: var(--color-white);
}

#header .nav-link{
    margin: .7rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
}

#header .nav-link:hover{
    color: var(--color-white) !important;
}

#header .toggle-button{
    background: none;
    color: var(--color-black);
    position: fixed;
    top: 25px;
    right: 20px;
    border: 1px solid var(--color-border);
}

.toggle-left{
    left: 0 !important;
    width: 1000px !important;
}

/* site-main */

.site-banner .banner-area{

    background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
}

.site-banner .banner-area .author{
    margin: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.site-banner .banner-area .author .author-img{
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: auto;
    background: url(../img/avatar-alt2.avif) no-repeat;
    background-size: 110%;
    background-position: 40% 0;
}

.skill .bars p, .site-content .skill .bars span{
    line-height: 10px;
}

#footer form .row .col input[type="text"],
#footer form .row .col input[type="email"],
#footer form textarea{
    border: none;
    border-radius: 0;
    border-bottom: 1px solid gray;
    padding: 1.5rem 1rem;
}

@media screen and (min-width: 768px){
    .toggle-button{
        display: none;
    }
    #header{
        z-index:0;
    }
}

/* Mobile responsiveness improvements */
@media screen and (max-width: 767px) {
    .section-spacing {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .font-size-40 {
        font-size: 32px;
    }
    
    .font-size-34 {
        font-size: 28px;
    }
    
    .font-size-27 {
        font-size: 22px;
    }
    
    .site-banner .banner-area .author .author-img {
        width: 180px;
        height: 180px;
    }
}

#typed{
    color: var(--color-blue);
}
/* #site-main */


/*icons*/
.social-icons a{
    display:inline-block;height:3.5rem;
    width:3.5rem;
    background-color: #fff;
    color:#343a40!important;
    border-radius:100%;
    text-align:center;
    font-size:1.5rem;
    line-height:3.5rem;
    margin-right:1rem
  }
  
  .social-icons a:last-child{
    margin-right:0
  }
  
  .social-icons a:hover{
    background-color:var(--color-blue);
    transform: scale(1.2)
  }
  
  .social-icons a:hover i {
    transform: scale(1.3);
  }

  .dev-icons {
    font-size: 5rem;
  }
  
  .dev-icons .list-inline-item :hover {
    color: var(--color-blue);
  }
  /*icons*/



  /*project*/
.frame {
	text-align: center;	
	position: relative;
	cursor: pointer;	
	perspective: 500px; 
}

.frame .details {
	width: 90%;
	height: 90%;	
	padding: 5% 8%;
	position: absolute;
	content: "";
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotateY(90deg);
	transform-origin: 50%;
	background: var(--color-blue);	
	opacity: 0;
    transition: all 0.4s ease-in;
    color: var(--color-white);
    font-family: var(--font-ram);
}

.frame:hover .details {
	transform: translate(-50%, -50%) rotateY(0deg);
	opacity: 1;
}


/*project icons- github and live site*/
.giti, .eye{
    font-size: 3rem;
    color: var(--color-white);
}

.eye :hover{
    color: var(--color-white);
}

/* =============================================
   RESUME / CV SECTION
   ============================================= */

.resume {
    background-color: var(--color-gray-light);
}

/* Section block headers (Education, Skills, etc.) */
.resume-block-title {
    color: var(--color-blue);
    position: relative;
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(42, 92, 170, 0.15);
}

.resume-block-title i {
    color: var(--color-blue-light);
}

/* Left column separator on desktop */
@media screen and (min-width: 768px) {
    .resume-left {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* Education items */
.resume-edu-item {
    padding: 1rem;
    margin-bottom: 1.25rem;
    background-color: var(--color-white);
    border-radius: 8px;
    border-left: 4px solid var(--color-blue-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resume-edu-item:hover {
    border-left-color: var(--color-blue);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

/* Skill tags */
.resume-skill-category {
    color: var(--color-blue);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.resume-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.resume-tag {
    display: inline-block;
    background-color: rgba(42, 92, 170, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(42, 92, 170, 0.25);
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.85rem;
    font-family: var(--font-ram);
    transition: all 0.2s ease;
}

.resume-tag:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
}

/* Certification items */
.resume-cert-item {
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resume-cert-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.resume-cert-icon {
    color: var(--color-blue);
    min-width: 2.5rem;
    text-align: center;
}

/* Timeline (Work Experience) */
.resume-timeline {
    position: relative;
    padding-left: 2rem;
}

.resume-timeline::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-blue), rgba(42, 92, 170, 0.1));
    border-radius: 2px;
}

.resume-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.resume-timeline-item:last-child {
    margin-bottom: 0;
}

.resume-timeline-dot {
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-blue);
    border: 3px solid var(--color-gray-light);
    box-shadow: 0 0 0 2px var(--color-blue);
    transition: transform 0.3s ease;
}

.resume-timeline-item:hover .resume-timeline-dot {
    transform: scale(1.3);
}

.resume-timeline-content {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.resume-timeline-content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Date badge */
.resume-date-badge {
    display: inline-block;
    background-color: rgba(42, 92, 170, 0.1);
    color: var(--color-blue);
    border-radius: 20px;
    padding: 0.15rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

/* Bullet list inside timeline */
.resume-bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.resume-bullet-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.resume-bullet-list li::before {
    content: '▸';
    color: var(--color-blue);
    position: absolute;
    left: 0;
    top: 0;
}

/* Download CTA */
.resume-download-cta {
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Toggle button */
.resume-toggle-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-blue);
    color: var(--color-white);
    border: 2px solid var(--color-blue);
    border-radius: 25px;
    padding: 0.45rem 1.25rem;
    font-family: var(--font-os);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.resume-toggle-btn:hover,
.resume-toggle-btn:focus {
    background-color: transparent;
    color: var(--color-blue);
    outline: none;
    box-shadow: none;
}

/* Chevron icon rotation */
.resume-toggle-icon {
    transition: transform 0.35s ease;
    display: inline-block;
}

.resume-toggle-btn[aria-expanded="true"] .resume-toggle-icon {
    transform: rotate(180deg);
}

/* Smooth reveal of content */
#resume-content {
    /* Bootstrap handles the collapse; this adds a subtle top border when open */
}

#resume-content.show {
    border-top: 1px solid rgba(42, 92, 170, 0.12);
    margin-top: 0.5rem;
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {
    .resume-timeline {
        padding-left: 1.5rem;
    }

    .resume-timeline-dot {
        left: -1.15rem;
    }

    .resume-date-badge {
        margin-left: 0;
        margin-top: 0.4rem;
        display: block;
        width: fit-content;
    }

    .resume-timeline-content {
        padding: 1rem;
    }

    .resume-toggle-btn {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* =============================================
   END RESUME / CV SECTION
   ============================================= */

/* Responsive images for workshop content */
.workshop-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.workshop-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(42, 92, 170, 0.3);
}

/* Optional: Add captions */
.workshop-content img + em {
    display: block;
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Ensure code blocks also don't overflow */
.workshop-content pre {
    max-width: 100%;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Mobile responsiveness for workshop images */
@media screen and (max-width: 767px) {
    .workshop-content img {
        margin: 1rem auto;
        border-radius: 6px;
    }
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Close button for lightbox */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness for lightbox */
@media screen and (max-width: 767px) {
    .lightbox-image {
        max-width: 95%;
        max-height: 80%;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 8px;
        bottom: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}
