/* ABOUT SECTION */

.about-section {

    width: 100%;
    background: #000000;

    padding: 100px 60px;

    box-sizing: border-box;
}


/* CONTAINER */

.about-container {

    max-width: 1600px;

    margin: 0 auto;

    display: flex;

    gap: 72px;

    align-items: center;
}


/* LEFT SIDE */

.about-content {

    flex: 1;

    border-radius: 30px;

    padding: 90px 10px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* TITLE */

.about-content h2 {

    color: #ffffff;

    font-size: 110px;

    line-height: 0.92;

    margin: 0 0 50px 0;

    margin-left: -6px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: -4px;

    will-change: transform, opacity;
}


/* PARAGRAPH */

.about-content p {

    color: #9d9d9d;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 22px;

    margin-left: -4px;

    max-width: 700px;

    will-change: transform, opacity;
}


/* BUTTON */

.about-btn {

    margin-top: 25px;

    margin-left: -4px;

    width: fit-content;

    padding: 18px 34px;

    border-radius: 100px;

    background: #ffffff;

    color: #000000;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    /* Calm, buttery smooth interactions */
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;

    will-change: transform, opacity;
}


.about-btn:hover {

    background: #f3f3f3;

    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.about-btn:active {
    transform: translateY(-1px) scale(0.98);
}


/* IMAGE */

.about-image {

    flex: 1.08;

    height: 820px;

    overflow: hidden;

    border-radius: 30px;

    margin-right: -12px;

    /* Premium shadow & interactive translate */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.about-image:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.08);
}


.about-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    /* Buttery smooth image zooming */
    transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.about-image:hover img {
    transform: scale(1.05);
}


/* =========================
   SCROLL REVEAL TRIGGERS
========================= */

/* Default State (Hidden until scrolled) */
.about-section.reveal-on-scroll .about-content h2,
.about-section.reveal-on-scroll .about-content p,
.about-section.reveal-on-scroll .about-btn,
.about-section.reveal-on-scroll .about-image {
    opacity: 0;
}

/* Revealed State (Triggered on Scroll) */
.about-section.reveal-on-scroll.is-visible .about-content h2 {
    animation: about-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.about-section.reveal-on-scroll.is-visible .about-content p:nth-of-type(1) {
    animation: about-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.about-section.reveal-on-scroll.is-visible .about-content p:nth-of-type(2) {
    animation: about-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.about-section.reveal-on-scroll.is-visible .about-btn {
    animation: about-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

.about-section.reveal-on-scroll.is-visible .about-image {
    animation: about-image-pop 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}


/* =========================
   KEYFRAME ANIMATIONS
   (Calm & Premium Eases)
========================= */

@keyframes about-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes about-image-pop {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* RESPONSIVE */

@media (max-width: 1400px) {

    .about-content h2 {

        font-size: 85px;

        margin-left: 0;
    }

    .about-content p {

        margin-left: 0;
    }

    .about-btn {

        margin-left: 0;
    }

    .about-image {

        margin-right: 0;
    }
}


@media (max-width: 1100px) {

    .about-container {

        flex-direction: column;

        gap: 40px;
    }

    .about-content {

        padding: 40px 0;
    }

    .about-content h2 {

        font-size: 70px;
    }

    .about-image {

        height: 700px;
    }
}


@media (max-width: 768px) {

    .about-section {

        padding: 70px 20px;
    }

    .about-content {

        padding: 20px 0 40px 0;
    }

    .about-content h2 {

        font-size: 48px;

        letter-spacing: -2px;

        line-height: 0.95;
    }

    .about-content p {

        font-size: 15px;

        line-height: 1.8;
    }

    .about-btn {

        padding: 12px 24px;

        font-size: 14px;
    }

    .about-image {

        height: 450px;
    }
}