:root {
    --secondary-bg: #212121;
    --shaded-bg: #f6f6f6;
    --primary-bg: #ffffff;
    --primary-color: #212121;
    --secondary-color: #f6f6f6;
    --button-bg: #f74f9e;
    --panel-radius: 1rem;
    --padding-def: 1rem;
    --padding-double: 2rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-y: auto;
    background: #000;
    overflow-y: auto;
}

/* util */
.button {
    padding: var(--padding-def) var(--padding-double);
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-weight: 400;
}

.def-pill {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 200;
    display: inline-block;
    border: 0.5px solid #21212150;
    color: var(--primary-color);
}

.def-pill-light {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 200;
    display: inline-block;
    border: 0.5px solid #ffffff50;
    color: var(--secondary-color);
}

.primary-button {
    background-color: var(--button-bg);
    color: var(--secondary-color);
    border: 0.5px solid var(--button-bg);
}

.secondary-button {
    background-color: var(--primary-bg);
    color: var(--secondary-bg);
    border: 0.5px solid var(--secondary-bg);
}

.primary-button:hover {
    opacity: 0.9;
    border: 0.5px solid var(--button-bg);
}

.secondary-button:hover {
    opacity: 0.9;
    border: 0.5px solid var(--secondary-bg);
}

.description {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.main-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* landing section */
.landing {
    height: 100vh;
    background-color: var(--primary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.landing-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 7rem;
    font-weight: 100;
    margin: 0;
    color: var(--primary-color);
}

.hero-title span {
    font-size: 2rem;
    font-weight: 600;

    background: linear-gradient(90deg, #BC13FE, #e025be83, #ff8f5f89);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* navbar section */
.nav-container {
    position: absolute;
    top: 1rem;
    right: 50%;
    transform: translateX(50%);
    max-width: 500px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    gap: 0.5rem;
}

.nav-logo {
    height: 4rem;
    width: 4rem;
    border-radius: 2rem;
    background-color: var(--secondary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--secondary-color);
}

.navbar {
    width: auto;
    height: 4rem;
    padding: var(--padding-def) var(--padding-double);
    background-color: var(--secondary-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 200;
}

/* latest-projects section */
.latest-projects {
    margin-top: 3rem;
    padding: var(--padding-double) 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-marquee {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.projects-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.projects-marquee:hover .projects-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.projects-image {
    flex: 0 0 auto;
    width: 400px;
    height: 200px;
    border-radius: 1rem;
    background-color: #212121;
    overflow: hidden;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.projects-image:hover {
    transform: scale(1.03);
    opacity: 1;
}

.projects-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-marquee::before,
.projects-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.projects-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-bg), transparent);
}

.projects-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-bg), transparent);
}

@media screen and (max-width: 600px) {
    .projects-track {
        gap: 1rem;
        animation-duration: 18s;
    }

    .projects-image {
        width: 280px;
        height: 180px;
    }

    .projects-marquee::before,
    .projects-marquee::after {
        width: 40px;
    }
}

@media screen and (max-width: 600px) {
    .landing-content {
        max-width: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title span {
        font-size: 1.75rem;
    }

    .button-container {
        flex-direction: column;
    }

    .description {
        margin-top: 1rem;
    }

    .nav-container {
        max-width: 300px;
        top: 0.5rem;
    }

    .nav-logo {
        height: 3rem;
        width: 3rem;
        font-size: 1.5rem;
    }

    .navbar {
        height: 3rem;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

/* about section */
.about {
    padding: var(--padding-double);
    background-color: var(--shaded-bg);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--padding-double);
    background-color: var(--secondary-bg);
    border-radius: var(--panel-radius);
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: var(--panel-radius);
    overflow: hidden;
    background: url('../assets/about-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    text-decoration: none;
    color: var(--secondary-color);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1rem;
    background-color: #00000050;
}

.about-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
}

.about-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
}

.about-description {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 200;
}

.hashtags {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.hashtag {
    font-size: 0.7rem;
    color: var(--secondary-color);
    border: 0.5px solid #ffffff50;
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-weight: 200;
}

@media screen and (max-width: 1024px) {
    .about-card {
        padding: var(--padding-double);
        gap: 1rem;
    }

    .about-description {
        font-size: 0.8rem;
    }
}


@media screen and (max-width: 600px) {
    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }

    .about-text-content {
        align-items: center;
    }

    .hashtags {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* services section */
.services {
    background: #fff;
    padding: var(--padding-double);
    text-align: center;
}

.services-container {
    max-width: 1000px;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    flex: 1;
    background-color: var(--shaded-bg);
    border-radius: var(--panel-radius);
    padding: var(--padding-double);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 1rem;
    border: 0.5px solid #00000025;
    transition: all ease-in 100ms;
}

.service-ico {
    width: 4rem;
    height: 4rem;
    border-radius: var(--panel-radius);
    background-color: var(--secondary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--button-bg);
    border: none;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
}

.service-description {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 200;
}

.view-more-btn {
    margin-top: auto;
    color: var(--secondary-bg);
    border: 0.5px solid #00000050;
    padding: 0.25rem 0.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 200;
    font-size: 0.75rem;
}

@media screen and (max-width: 1024px) {
    .services {
        padding: var(--padding-double);
    }

    .services-container {
        gap: 1.5rem;
        padding: 0 var(--padding-def);
    }

    .service-description {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 600px) {
    .services {
        padding: var(--padding-double);
        text-align: center;
    }

    .services-container {
        flex-direction: column;
        left: 0;
        transform: none;
        width: 100%;
        padding: 0;
    }

    .service-card {
        padding: var(--padding-double);
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .view-more-btn {
        font-size: 0.8rem;
    }
}


/* works section */
.works {
    padding: var(--padding-double);
    background-color: var(--shaded-bg);
    text-align: center;
}

.works-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: transparent;
    border: 0.5px solid #00000040;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--secondary-bg);
    color: var(--secondary-color);
}

.works-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tab-panel.active {
    display: grid;
}

.work-card {
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #212121;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card {
    position: relative;
    cursor: pointer;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.work-btn {
    background: var(--button-bg);
    color: #fff;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    cursor: pointer;
}


@media (max-width: 1024px) {
    .tab-panel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tab-panel {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

.scroll-to-top-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-bg);
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.75rem;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-4px);
}

@media (max-width: 600px) {
    .scroll-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* testimonial section */
.testimonial {
    background: #fff;
    padding: var(--padding-double);
    text-align: center;
}

.testimonial {
    padding: var(--padding-double);
    text-align: center;
}

.testimonial-carousel {
    position: relative;
    max-width: 540px;
    margin: 40px auto 0;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

/* Card */
.testimonial-card {
    min-width: 100%;
    padding: 40px 30px;
    border-radius: 22px;
}

.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.testimonial-card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.testimonial-card p {
    margin: 22px 0;
    line-height: 1.7;
    opacity: 0.9;
}

/* Stars */
.stars {
    color: #f5c451;
    font-size: 1.15rem;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    gap: 10px;
    padding: 0.5rem;
}

/* Reset button defaults */
.testimonial-dots button {
    all: unset;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #b5b5b5;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: block;
}

.testimonial-dots button.active {
    background-color: #000;
    transform: scale(1.4);
}

/* social section */
.social {
    padding: var(--padding-double);
    background-color: var(--shaded-bg);
    padding: clamp(3rem, 5vw, 5rem) 1.5rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.social-title {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 1rem;
    color: var(--primary-color);
}

.social-subtitle {
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.75;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-links a {
    text-decoration: none;
}

.social-btn {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #111;
    background: #ebebeb;
    transition: all 0.35s ease;
}

.social-btn:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    background: #000;
    color: #fff;
}

@media screen and (max-width: 800px) {
    .social-title {
        font-size: 1.75rem;
    }
}

.site-footer {
  background: #000;
  color: #bdbdbd;
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.site-footer p {
  margin: 0;
}