:root {
    --gold: #C5A059;
    --dark: #000;
    --gray: #888;
}

/* ================= BASE ================= */
body {
    background: var(--dark);
    color: #fff;
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
}



/* ================= HERO ================= */
/* ================= HERO ================= */
.hero {
    position: relative;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 30px;
}

/* TEXT SA LIKOD */
.hero-bg-text {
    position: absolute;
    top: 48%;
    left: 50%;

    font-family: 'Gotham Light', sans-serif;
    transform: translate(-50%, -50%);

    font-size: 8vw;
    color: var(--gold);

    margin: 0;
    font-weight: 900;
    letter-spacing: 8px;

    opacity: 0.9;

    white-space: nowrap;

    z-index: 1;
}

/* IMAGE NASA HARAP */
.hero-image {
    position: relative;
    z-index: 2;

    width: 340px;
    max-width: 90%;

    object-fit: contain;

    margin-top: 40px;
}

.hero-bg-text {
    display: block;
    line-height: 1.2;
    text-align: center;
    font-size: 5.5rem;
}

/* ================= BIO ================= */
.bio-section {
    display: flex;
    padding: 80px 10%;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.bio-text {
    flex: 1;
}

.gold-text {
    color: var(--gold);
}

.bio-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 8%;
    gap: 60px;
}

.bio-text {
    flex: 1;
    max-width: 560px;
}

.bio-text h2 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 750;
    font-family: 'Gotham Light', sans-serif;
}

.bio-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fff;
}

.bio-circle {
    width: 330px;
    height: 330px;

    background: var(--gold);
    border-radius: 50%;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.bio-circle img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

/* ================= BIO SOCIALS ================= */
.bio-socials {
    margin-top: 20px;       /* Spacing sa pagitan ng talata at ng mga icons */
    display: flex;
    gap: 20px;              /* Spacing sa pagitan ng bawat icon */
    justify-content: flex-start; /* Naka-align sa kaliwa kapag desktop view */
}

.bio-socials a {
    color: #fff;            /* Puting kulay muna bago i-hover */
    text-decoration: none;
    font-size: 1.5rem;      /* Katamtamang laki lang para pormal tingnan sa bio */
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

/* Hover Zoom Effect */
.bio-socials a:hover {
    transform: scale(1.2);
}

/* Mga Brand Colors kapag hinoveran */
.bio-socials a.fb-link:hover {
    color: #1877F2;
}

.bio-socials a.ig-link:hover {
    color: #E4405F;
}

.bio-socials a.tiktok-link:hover {
    color: #fe2c55;
    text-shadow: 1px 1px #25f4ee, -1px -1px #fe2c55;
}

.bio-socials a.yt-link:hover {
    color: #FF0000;
}

#testimonials-section {
    scroll-margin-top: 120px;
}

@media (max-width: 1100px) {
    /* ... mga dati mong code sa loob ng media query ... */

    .bio-socials {
        justify-content: center; /* Awtomatikong mapupunta sa gitna ang mga icons dito pababa sa mobile */
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .bio-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 8%;
    }

    .bio-circle {
        width: 260px;
        height: 260px;
    }

    .bio-circle img {
        width: 100%;
        height: 100%;
    }

}

/* ================= SECTION CONTAINER ================= */
.section-container {
    padding: 40px 5%;
}
.section-container h2 {
    font-family: 'Gotham Light', sans-serif;
    font-weight: 750;
}

/* ================= WORKS & PROJECTS GRID ================= */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* ================= CARD ================= */
.card img {
    width: 100%;
    border-radius: 4px;
    transition: 0.3s;
}

.card img:hover {
    transform: scale(1.05);
}

.card p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
}


/* ================= POPULAR PROJECTS ================= */
.popular-projects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.project-card {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    border: 1px solid #1f1f1f;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.project-card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.project-info {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    font-weight: bold;
    transition: 0.3s;
}

.project-card:hover .project-info {
    bottom: 0;
}

.project-info p {
    margin: 0;
    color: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 1000px) {

    .popular-projects {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .popular-projects {
        grid-template-columns: 1fr;
    }

}


/* ================= OFFER ================= */
.offer-section {
    text-align: center;
    padding: 60px 5%;
}
.offer-section h2{
    font-family: 'Gotham Light', sans-serif;
    font-weight: 750;
}

.sub-gold {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.offer-box {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.offer-box:hover {
    transform: translateY(-5px);
}

.offer-box i {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 10px;
}

/* ================= TESTIMONIALS ================= */
.testimonial-section {
    padding: 80px 5%;
    text-align: center;
}
.testimonial-section h2 {
    font-family: 'Gotham Light', sans-serif;
    font-weight: 750;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.testimonial-card {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 18px;
    padding: 30px;
    text-align: left;
    transition: 0.3s;

    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-text {
    color: #bbb;
    line-height: 1.8;
    font-size: 0.95rem;

    flex: 1;
    overflow-y: auto;

    margin-bottom: 22px;
    padding-right: 8px;

    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* SCROLLBAR */
.testimonial-text::-webkit-scrollbar {
    width: 5px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 20px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}

.testimonial-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-user img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.testimonial-user h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.testimonial-user span {
    color: #777;
    font-size: 0.8rem;
}

.testimonial-view-all {
    margin-top: 40px;
    text-align: center;
}

.testimonial-view-all a {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.testimonial-view-all a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.delete-testimonial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 91, 91, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 91, 91, 0.25);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s;
}

.delete-testimonial:hover {
    background: #ff5b5b;
    color: #fff;
}

/* ================= AWARDS ================= */
.award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.award-item img {
    width: 100%;
    height: 220px;
    background: #222;
    border-radius: 8px;
    object-fit: cover;
}

.awards-heading {
    text-align: center;
}

.award-item img {
    width: 100%;
    height: 220px;
    background: #222;
    border-radius: 8px;
    object-fit: cover;
}

.award-item p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
}

.award-item {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    transition: 0.3s;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-view-btn {
    display: inline-block;
    margin-top: 12px;
    background: var(--gold);
    color: #000;
    padding: 9px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
}


/* ================= MY WORKS SLIDER ================= */
.works-slider {
    position: relative;
    margin-top: 25px;
    overflow: hidden;
}

.works-wrapper {
    display: flex;
    gap: 18px;
    transition: transform 0.4s ease;
}

.work-card {
    min-width: calc(25% - 14px);
    height: 300px;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid #1f1f1f;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.work-card:hover img {
    transform: scale(1.08);
}

.work-name {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    background: rgba(0,0,0,0.85);
    color: var(--gold);
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    font-weight: bold;
    transition: 0.3s;
}

.work-card:hover .work-name {
    bottom: 0;
}

.slide-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 5;
    background: var(--gold);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
}

.slide-btn.left {
    left: 10px;
}

.slide-btn.right {
    right: 10px;
}

.gallery-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    background: #111;
}

.gallery-card a {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .work-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .work-card {
        min-width: 100%;
    }
}

.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.testimonial-avatar-letter {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 480px) {

    body {
        overflow-x: hidden;
    }

    /* HERO */
    .hero {
        height: 380px;
        padding-top: 10px;
        overflow: hidden;
    }

    .hero-bg-text {
        top: 43%;
        left: 50%;
        width: 100%;
        max-width: 100%;

        font-size: clamp(2.2rem, 12vw, 3.4rem);
        letter-spacing: clamp(1px, 1vw, 4px);
        line-height: 1;

        text-align: center;
        white-space: nowrap;

        transform: translate(-50%, -50%);
        padding: 0 8px;
        box-sizing: border-box;
    }

    .hero-image {
        width: clamp(210px, 58vw, 250px);
        max-width: 80%;
        margin-top: 35px;
    }

    /* BIO */
    .bio-section {
        flex-direction: column;
        text-align: center;
        padding: 45px 20px;
        gap: 30px;
    }

    .bio-text {
        max-width: 100%;
    }

    .bio-text h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 18px;
    }

    .bio-text p {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .bio-circle {
        width: 220px;
        height: 220px;
    }

    .bio-circle img {
        width: 100%;
        height: 100%;
    }

    /* SECTION */
    .section-container {
        padding: 35px 20px;
    }

    .section-container h2,
    .offer-section h2,
    .testimonial-section h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    /* POPULAR PROJECTS */
    .popular-projects {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card {
        height: 280px;
    }

    .project-card img {
        height: 280px;
    }

    .project-info {
        font-size: 0.9rem;
        padding: 12px;
    }

    /* OFFER */
    .offer-section {
        padding: 45px 20px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .offer-box {
        padding: 18px;
    }

    /* TESTIMONIAL */
    .testimonial-section {
        padding: 50px 20px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        height: auto;
        min-height: 280px;
        padding: 22px;
    }

    .testimonial-text {
        font-size: 0.88rem;
        line-height: 1.7;
        max-height: 180px;
    }

    .testimonial-user img,
    .testimonial-avatar-letter {
        width: 48px;
        height: 48px;
    }

    /* AWARDS */
    .award-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 20px;
    }

    .award-item img {
        height: 200px;
    }

    /* WORKS SLIDER */
    .works-slider {
        margin-top: 18px;
    }

    .works-wrapper {
        gap: 12px;
    }

    .work-card {
        min-width: 100%;
        height: 250px;
    }

    .slide-btn {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .slide-btn.left {
        left: 5px;
    }

    .slide-btn.right {
        right: 5px;
    }

    /* GRID FIXES */
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    /* TEXT */
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

}