/* GLOBAL */
body {
    margin: 0;
    background: #ffffff;
    color: #111;
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.7;
}

.logo img {
    height: 64px;     /* adjust to taste: 36px, 40px, 44px */
    width: auto;
    display: block;
}
.hero {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 160px 20px 180px;
    color: white;
    text-align: center;

    background-image: url("assets/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
}

.hero p {
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 40px;
}
section:not(.hero):not(.skills) {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

h1, h2 {
    margin: 0 0 20px;
    font-family: "Montserrat", sans-serif;
}

/* ============================
        HEADER + NAVIGATION
   ============================ */
   header {
    width: 100%;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;             /* NEW — consistent height */
    display: flex;            /* NEW */
    align-items: center;      /* NEW — vertically centers inner content */
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;     /* keeps logo + nav centered */
    justify-content: space-between;
    padding: 0 20px;         /* only horizontal padding */
    height: 100%;            /* NEW — match the header height */
}
#nav-menu a:hover {
    color: #FF6F3C;      /* the same orange as your brand */
    transition: 0.2s;
}

#nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

#nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
}

nav a.active {
    color: #FF6F3C;
}

.cv-btn {
    color: #FF6F3C !important;
    border: 2px solid #FF6F3C;
    padding: 6px 12px;
    border-radius: 6px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #FF6F3C;
    border-radius: 3px;
}
.task-list {
    padding-left: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.task-list li {
    margin-bottom: 6px;
}


@media (max-width: 768px) {

    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 20px;
        top: 70px;
        width: 220px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        padding: 18px;
        gap: 15px;
        z-index: 999;
    }
    .hero {
        background-position: 15% center;
    }

    #nav-menu a {
        font-size: 18px;
        text-align: right;
        padding: 8px 0;
    }

    .hamburger {
        display: flex;
    }
}

html, body {
    overflow-x: hidden;
}
.btn-secondary {
    border: 2px solid #FF6F3C;
    color: #FF6F3C;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.55);
}
.btn-primary {
    background: #FF6F3C;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 12px;
}


.btn-primary:hover {
    background: #FF5A1C;   /* darker orange on hover */
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);   /* less transparent on hover */
}

/* Center utility */
.center {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* ============================
            ABOUT
   ============================ */
.about {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about h2 {
    font-family: 'Montserrat';
    text-align: center;
}

.about p {
    line-height: 1.7;
    text-align: center;
}

/* ============================
            SKILLS
   ============================ */
.skills {
    background: #fafafa;
    /* max-width: 1100px;
    margin: 0 auto; */
    padding: 70px 20px;
}

.skills h2 {
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.skill-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.tags span {
    display: inline-block;
    padding: 6px 12px;
    background: #FFE4D6;
    color: #FF6F3C;
    border-radius: 6px;
    margin: 4px 6px 0 0;
    font-size: 14px;
}

/* ============================
      PORTFOLIO PREVIEW
   ============================ */
.portfolio-preview h2 {
    text-align: center;
}

.masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.mason-item {
    text-decoration: none;
    display: block;
}

.mason-item img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s ease;
}

.mason-item:hover img {
    transform: scale(1.03);
}

.mason-item p {
    color: #111;
    font-weight: 600;
    margin-top: 8px;
}

/* ============================
      PROJECT DETAIL PAGE
   ============================ */
.project-detail {
    max-width: 900px;
    padding: 60px 20px;
    margin: auto;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0 40px;
}

/* ============================
            CONTACT
   ============================ */
.contact {
    text-align: center;
}

.email {
    margin-top: 10px;
    font-weight: 600;
    color: #FF6F3C;
}

/* ============================
             FOOTER
   ============================ */
footer {
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
}

/* ============================
          RESPONSIVE
   ============================ */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 32px;
    }

    .masonry {
        grid-template-columns: 1fr;
    }
}
.project-gallery {
    column-count: 3;
    column-gap: 20px;
    max-width: 100%;
    margin-top: 20px;
}

.project-gallery img {
    width: 100%;
    display: block;
    border-radius: 10px;
    margin-bottom: 20px;
    break-inside: avoid;
}

@media (max-width: 768px) {
    .project-gallery {
        column-count: 1;
    }
}
/* ========================
   FS Lightbox Styling Fixes
   ======================== */

/* Make gallery images clickable with hover effect */
.project-gallery a img {
    cursor: hand;
    transition: 0.3s ease;
}

.project-gallery a:hover img {
    transform: scale(1.03);
}

/* FS Lightbox already handles centering, scaling, scroll locking, X button positioning */
#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;              /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#lightbox-overlay.open {
    display: flex;
}

#lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}





