/* =========================================================
   SaCha Creative Portfolio
   style.css
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --blue-dark: #111827;
    --blue: #1c2740;
    --blue-light: #0ea5e9;

    --orange: #f97316;
    --orange-light: #fb923c;

    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;

    --text: #111827;
    --text-light: #64748b;

    --border: rgba(15, 23, 42, 0.10);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 5px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 15px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 25px 70px rgba(15, 23, 42, 0.15);

    --transition: 0.3s ease;

    --container: 1200px;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}


/* =========================================================
   3. GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
    font-family: "League Spartan", sans-serif;
    line-height: 1.05;
}

h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

p {
    color: var(--text-light);
}


/* =========================================================
   5. SECTION
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    margin-bottom: 20px;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;

    color: var(--orange);
    text-transform: uppercase;
}

.section-heading h2 span,
.contact-content h2 span {
    color: var(--orange);
}


/* =========================================================
   6. NAVIGATION
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.90);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    font-family: "League Spartan", sans-serif;

    font-size: 2rem;
    font-weight: 800;

    letter-spacing: -0.04em;

    color: var(--blue-dark);
}

.logo span {
    color: var(--orange);
}


/* Navigation links */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    position: relative;

    font-size: 0.9rem;
    font-weight: 600;

    color: var(--gray-700);

    transition: var(--transition);
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu a:hover::after {
    width: 100%;
}


/* Hire button */

.nav-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: var(--blue-dark);
    color: var(--white);

    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 600;

    transition: var(--transition);
}

.nav-button:hover {
    background: var(--orange);
    transform: translateY(-2px);
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 100px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(14, 165, 233, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(249, 115, 22, 0.08),
            transparent 25%
        ),
        var(--gray-50);

    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: center;
}


/* Hero text */

.hero-small-text {
    margin-bottom: 25px;

    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.hero-content h1 {
    max-width: 800px;

    color: var(--blue-dark);
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-description {
    max-width: 650px;

    margin-top: 30px;

    font-size: 1.05rem;
}


/* Hero buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 40px;
}


/* =========================================================
   8. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 50px;

    font-size: 0.9rem;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);

    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    background: var(--blue-dark);

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.20);
}

.btn-secondary {
    border: 1px solid var(--gray-200);

    background: var(--white);

    color: var(--blue-dark);
}

.btn-secondary:hover {
    border-color: var(--blue-dark);

    background: var(--blue-dark);

    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   9. HERO VISUAL
   ========================================================= */

.hero-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-card {
    width: min(100%, 450px);
    aspect-ratio: 0.8;

    padding: 30px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            145deg,
            var(--blue-dark),
            var(--blue) 55%,
            var(--blue-light)
        );

    color: var(--white);

    box-shadow: var(--shadow-lg);

    transform: rotate(3deg);

    transition: 0.5s ease;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-10px);
}


/* Decorative circle */

.hero-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    background: rgba(249, 115, 22, 0.8);
}

.hero-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -70px;
    bottom: -70px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.15);
}


/* Card content */

.hero-card-top,
.hero-card-bottom {
    display: flex;
    justify-content: space-between;

    position: relative;

    z-index: 2;

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.12em;
}

.hero-card-title {
    position: relative;

    z-index: 2;

    font-family: "Bebas Neue", sans-serif;

    font-size: clamp(4rem, 7vw, 6rem);

    line-height: 0.85;

    letter-spacing: 0.02em;
}


/* =========================================================
   10. ABOUT
   ========================================================= */

.about {
    background: var(--white);
}

.about-content {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.about-text {
    max-width: 700px;
}

.about-text p {
    margin-bottom: 22px;

    font-size: 1.05rem;
}

.about-text p:first-child {
    font-size: 1.35rem;

    color: var(--text);

    font-weight: 500;
}


/* Stats */

.about-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.stat {
    padding: 25px 15px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--gray-50);

    text-align: center;

    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-7px);

    background: var(--blue-dark);

    color: var(--white);
}

.stat strong {
    display: block;

    font-family: "League Spartan", sans-serif;

    font-size: 2rem;
}

.stat span {
    display: block;

    margin-top: 5px;

    color: var(--gray-500);

    font-size: 0.75rem;
}

.stat:hover span {
    color: var(--gray-200);
}


/* =========================================================
   11. SERVICES
   ========================================================= */

.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 300px;

    padding: 35px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);

    background: var(--blue-dark);

    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;

    top: 25px;
    right: 25px;

    font-family: "Bebas Neue", sans-serif;

    font-size: 2rem;

    color: var(--gray-200);

    transition: var(--transition);
}

.service-card:hover .service-number {
    color: var(--orange);
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--blue-dark);

    transition: var(--transition);
}

.service-card p {
    font-size: 0.9rem;

    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card:hover p {
    color: var(--gray-400);
}


/* =========================================================
   12. PROJECTS
   ========================================================= */

.projects {
    background: var(--white);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}


/* Project image placeholder */

.project-image {
    height: 280px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--blue-dark),
            var(--blue),
            var(--blue-light)
        );

    color: var(--white);

    font-family: "Bebas Neue", sans-serif;

    font-size: 3rem;

    letter-spacing: 0.05em;

    position: relative;

    overflow: hidden;
}

.project-image::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background: var(--orange);

    opacity: 0.8;
}


/* Project content */

.project-content {
    padding: 30px;
}

.project-content span {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.project-content h3 {
    margin-bottom: 12px;
}

.project-content p {
    font-size: 0.9rem;
}


/* =========================================================
   13. CONTACT
   ========================================================= */

.contact {
    background: var(--blue-dark);

    color: var(--white);
}

.contact-container {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.contact-content h2 {
    color: var(--white);

    max-width: 700px;
}

.contact-content > p:not(.section-label) {
    max-width: 550px;

    margin: 25px 0;

    color: var(--gray-400);
}


/* Contact details */

.contact-details {
    display: flex;
    flex-direction: column;

    gap: 25px;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.04);
}

.contact-details div {
    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-details div:last-child {
    padding-bottom: 0;

    border-bottom: none;
}

.contact-details span {
    display: block;

    margin-bottom: 5px;

    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.contact-details a,
.contact-details p {
    color: var(--white);

    font-size: 0.95rem;

    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--orange);
}


/* =========================================================
   14. FOOTER
   ========================================================= */

.footer {
    padding: 30px 0;

    background: #0b1120;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer p {
    color: var(--gray-400);

    font-size: 0.75rem;
}


/* =========================================================
   15. HOVER EFFECTS
   ========================================================= */

.service-card,
.project-card,
.stat,
.hero-card,
.btn,
.nav-button {
    will-change: transform;
}


/* =========================================================
   16. SELECTION
   ========================================================= */

::selection {
    background: var(--orange);

    color: var(--white);
}


/* =========================================================
   17. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-dark);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}


/* =========================================================
   18. RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 60px;

        padding: 80px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;

        width: 100%;

        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }
}


/* =========================================================
   19. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .section {
        padding: 80px 0;
    }


    /* Navigation */

    .nav-container {
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    .nav-button {
        padding: 10px 17px;

        font-size: 0.75rem;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-container {
        padding: 0;
    }

    .hero-content h1 {
        font-size: clamp(3.5rem, 17vw, 5rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-card {
        transform: none;
    }

    .hero-card:hover {
        transform: translateY(-5px);
    }


    /* About */

    .about-stats {
        grid-template-columns: 1fr;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 260px;
    }


    /* Projects */

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 240px;
    }


    /* Contact */

    .contact-container {
        gap: 40px;
    }

    .contact-details {
        padding: 25px;
    }


    /* Footer */

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   20. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 400px) {

    .container {
        width: 90%;
    }

    .logo {
        font-size: 1.7rem;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-card-title {
        font-size: 4rem;
    }

    .section-heading h2 {
        font-size: 3rem;
    }

}

.nav-menu a.active {
    color: var(--orange);
}

.nav-menu a.active::after {
    width: 100%;
}

.navbar.scrolled {
    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact {
    background: var(--blue-dark);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


/* =========================
   LEFT SIDE
========================= */

.contact-content h2 {
    color: var(--white);
    max-width: 650px;
}

.contact-intro {
    max-width: 550px;
    margin: 25px 0 40px;
    color: var(--gray-400);
    font-size: 1rem;
}


/* =========================
   CONTACT INFORMATION
========================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-label {
    display: block;
    margin-bottom: 6px;

    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.contact-info-item a,
.contact-info-item p {
    color: var(--white);
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--orange);
}


/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    padding: 35px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: var(--shadow-lg);
}


/* Form fields */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--white);

    font-size: 0.8rem;
    font-weight: 600;
}


/* Inputs */

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 17px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    outline: none;

    background: rgba(255, 255, 255, 0.06);

    color: var(--white);

    font-size: 0.9rem;

    transition: 0.3s ease;
}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}


/* Focus */

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);

    background: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 0 0 3px rgba(249, 115, 22, 0.12);
}


/* Message box */

.form-group textarea {
    min-height: 150px;

    resize: vertical;
}


/* =========================
   SEND BUTTON
========================= */

.form-submit {
    width: 100%;

    border: none;

    cursor: pointer;

    gap: 12px;
}

.form-submit span {
    font-size: 1.2rem;

    transition: transform 0.3s ease;
}

.form-submit:hover span {
    transform: translateX(5px);
}


/* =========================
   FORM STATUS
========================= */

.form-status {
    min-height: 24px;

    margin-top: 15px;

    text-align: center;

    font-size: 0.8rem;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .contact-content {
        max-width: 700px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .contact {
        padding: 80px 0;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-content h2 {
        font-size: 3.2rem;
    }

}

/* =========================================================
   PROFESSIONAL PROJECT VIDEO
========================================================= */


/* Video container */

.video-container {
    position: relative;

    height: 280px;

    overflow: hidden;

    background: #000;

    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


/* Video */

.project-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #000;

    cursor: pointer;

    transition: transform 0.6s ease;
}


/* Zoom video slightly on card hover */

.video-project:hover .project-video {
    transform: scale(1.04);
}


/* =========================================================
   VIDEO OVERLAY
========================================================= */

.video-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background: rgba(0, 0, 0, 0.18);

    pointer-events: none;

    transition: 0.3s ease;
}


/* Play button */

.video-play-button {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: var(--orange);

    color: var(--white);

    font-size: 1.2rem;

    cursor: pointer;

    pointer-events: auto;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3);

    transition: 0.3s ease;
}

.video-play-button:hover {
    transform: scale(1.1);

    background: var(--white);

    color: var(--orange);
}


/* Label */

.video-label {
    padding: 5px 12px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.55);

    color: var(--white);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}


/* =========================================================
   VIDEO CONTROLS
========================================================= */

.video-controls {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 10px;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(8px);

    opacity: 0;

    transform: translateY(8px);

    transition: 0.3s ease;
}


/* Show controls */

.video-container:hover .video-controls,
.video-container:focus-within .video-controls {
    opacity: 1;

    transform: translateY(0);
}


/* Control buttons */

.video-control {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-size: 0.8rem;

    transition: 0.2s ease;
}

.video-control:hover {
    background: var(--orange);
}


/* =========================================================
   VIDEO PROGRESS
========================================================= */

.video-progress {
    height: 4px;

    flex: 1;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.25);

    cursor: pointer;
}

.video-progress-bar {
    width: 0%;

    height: 100%;

    background: var(--orange);

    transition: width 0.1s linear;
}


/* =========================================================
   PLAYING STATE
========================================================= */

.video-container.is-playing .video-overlay {
    opacity: 0;
}

.video-container.is-playing:hover .video-overlay {
    opacity: 1;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .video-container {
        height: 240px;
    }

    .video-controls {
        opacity: 1;

        transform: translateY(0);

        bottom: 10px;

        left: 10px;
        right: 10px;
    }

    .video-play-button {
        width: 52px;
        height: 52px;
    }

}


/* =========================================================
   SERVICES — IMAGE CARDS
========================================================= */

.service-card {
    position: relative;
    overflow: hidden;
}


/* Service image */

.service-image {
    width: 100%;
    height: 220px;

    overflow: hidden;

    margin-bottom: 25px;

    background: var(--blue-dark);
}


/* Image */

.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


/* Image zoom */

.service-card:hover .service-image img {
    transform: scale(1.08);
}


/* Dark overlay */

.service-image {
    position: relative;
}

.service-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        transparent 45%,
        rgba(0, 0, 0, 0.45)
    );

    pointer-events: none;
}


/* Service number */

.service-number {
    display: block;

    margin-bottom: 12px;

    color: var(--orange);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* Mobile */

@media (max-width: 700px) {

    .service-image {
        height: 200px;
    }

}


/* =========================================================
   HERO — DESIGN CREATE INSPIRE / PHOTO REVEAL
========================================================= */

.hero-visual {
    position: relative;

    width: 130%;
    max-width: 520px;

    height: 520px;

    overflow: hidden;

    border-radius: 24px;

    background: #0f172a;

    cursor: pointer;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   PROFESSIONAL PHOTO
========================================================= */

.hero-photo {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transform: scale(1.03);

    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}


/* =========================================================
   COVER
========================================================= */

.hero-cover {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 55%,
            #334155 100%
        );

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


/* =========================================================
   COVER CONTENT
========================================================= */

.cover-content {
    width: 100%;
}

.cover-number {
    display: block;

    margin-bottom: 35px;

    color: var(--orange);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.cover-content h2 {
    margin: 0;

    color: white;

    font-size: clamp(3rem, 7vw, 5.5rem);

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -0.05em;
}


.cover-content h2:nth-of-type(2) {
    color: var(--orange);
}


.cover-content p {
    margin-top: 35px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.8rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =========================================================
   HOVER — REVEAL PHOTO
========================================================= */

.hero-visual:hover .hero-cover {
    opacity: 0;

    transform: scale(1.08);

    pointer-events: none;
}


.hero-visual:hover .hero-photo img {
    transform: scale(1);

    filter: brightness(1);
}


/* =========================================================
   PHOTO OVERLAY
========================================================= */

.hero-photo::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(15, 23, 42, 0.65),
            transparent 50%
        );

    pointer-events: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .hero-visual {
        height: 500px;

        max-width: 100%;
    }

    .hero-cover {
        padding: 35px;
    }

    .cover-content h2 {
        font-size: 3.5rem;
    }

}

/* =========================================================
   SEPARATE GALLERY PAGE
========================================================= */

.gallery-page {
    min-height: 100vh;

    padding: 120px 0;

    background: var(--blue-dark);

    color: var(--white);
}


/* Header */

.gallery-page-header {
    max-width: 750px;

    margin-bottom: 60px;
}


/* Back link */

.gallery-back {
    display: inline-block;

    margin-bottom: 50px;

    color: var(--gray-400);

    font-size: 0.85rem;

    transition: 0.3s ease;
}

.gallery-back:hover {
    color: var(--orange);

    transform: translateX(-5px);
}


/* Heading */

.gallery-page-header h1 {
    margin: 15px 0 20px;

    font-size: clamp(3rem, 8vw, 6rem);

    line-height: 0.95;

    color: var(--white);
}

.gallery-page-header h1 span {
    color: var(--orange);
}


/* Description */

.gallery-description {
    max-width: 600px;

    color: var(--gray-400);

    line-height: 1.8;
}


/* Gallery grid */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* Gallery item */

.gallery-item {
    position: relative;

    height: 350px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: #000;
}


/* Gallery image */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}


/* Hover */

.gallery-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.8);
}


/* Bottom button */

.gallery-back-home {
    display: flex;

    justify-content: center;

    margin-top: 60px;
}


/* Tablet */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 600px) {

    .gallery-page {
        padding: 80px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

}


/* =========================================================
   PROJECTS — VIEW GALLERY BUTTON
========================================================= */

.projects-gallery-button {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 50px;
}


/* Button */

.gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 15px 30px;

    border: 1px solid var(--orange);
    border-radius: 50px;

    background: transparent;

    color: var(--orange);

    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Arrow */

.gallery-btn::after {
    content: "→";

    font-size: 1.1rem;

    transition:
        transform 0.35s ease;
}


/* Hover */

.gallery-btn:hover {
    background: var(--orange);

    color: var(--white);

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
}


/* Arrow animation */

.gallery-btn:hover::after {
    transform: translateX(6px);
}


/* Click effect */

.gallery-btn:active {
    transform: translateY(-1px);
}


/* Mobile */

@media (max-width: 600px) {

    .projects-gallery-button {
        margin-top: 35px;
    }

    .gallery-btn {
        width: 100%;
        max-width: 260px;

        padding: 14px 24px;
    }

}

/* =========================================================
   SA CHA — PAGE LOADER
========================================================= */

#page-loader {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
    height: 100vh;

    background: #0f172a;

    opacity: 1;

    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


/* =========================================================
   LOADER HIDDEN STATE
========================================================= */

#page-loader.loaded {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   LOADER CONTENT
========================================================= */

.loader-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* =========================================================
   LOGO
========================================================= */

.loader-logo {
    width: 120px;

    height: 120px;

    object-fit: contain;

    margin-bottom: 28px;

    animation:
        loader-logo-animation 1.8s
        ease-in-out infinite;
}


/* =========================================================
   LOADING TEXT
========================================================= */

.loader-text {
    color: #ffffff;

    font-family: "League Spartan", sans-serif;

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 0.3em;

    text-transform: uppercase;
}


/* Orange dots */

.loader-text span {
    color: var(--orange);
}


/* =========================================================
   LOGO ANIMATION
========================================================= */

@keyframes loader-logo-animation {

    0% {
        opacity: 0.45;

        transform: scale(0.88);
    }

    50% {
        opacity: 1;

        transform: scale(1);
    }

    100% {
        opacity: 0.45;

        transform: scale(0.88);
    }

}


/* =========================================================
   LOADING DOT ANIMATION
========================================================= */

.loader-text span {
    display: inline-block;

    width: 24px;

    overflow: hidden;

    vertical-align: bottom;

    animation:
        loading-dots 1.5s
        steps(4, end)
        infinite;
}


@keyframes loading-dots {

    0% {
        width: 0;
    }

    25% {
        width: 8px;
    }

    50% {
        width: 16px;
    }

    75% {
        width: 24px;
    }

    100% {
        width: 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .loader-logo {
        width: 90px;

        height: 90px;

        margin-bottom: 22px;
    }


    .loader-text {
        font-size: 0.7rem;

        letter-spacing: 0.22em;
    }

}