/*=========================
      ABOUT
=========================*/

.about-preview {
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

/* Images */
.about-images {
    position: relative;
    width: 100%;
}

.main-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    height: auto;
}

.small-image {
    position: absolute;
    width: clamp(180px, 30vw, 260px);
    right: -30px;
    bottom: -40px;
    border-radius: 24px;
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
    height: auto;
}

.floating-card {
    position: absolute;
    top: 30px;
    left: -30px;
    background: #fff;
    padding: clamp(18px, 3vw, 25px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-card h3 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: var(--primary);
    font-family: "Cormorant Garamond", serif;
    line-height: 1.1;
}

.floating-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Content */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 10px;
}

.feature {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: .35s;
    font-weight: 500;
    background: #fff;
}

.feature:hover {
    background: var(--cream);
    transform: translateY(-4px);
}

/* =========================
      ABOUT MOBILE
========================= */

@media (max-width: 768px) {
    .about-container {
        display: flex;
        flex-direction: column;
        gap: 45px;
    }

    /* Images */
    .about-images {
        width: 100%;
        margin-bottom: 10px;
    }

    .main-image {
        border-radius: 20px;
    }

    .small-image {
        display: none;
        /* Hidden on mobile to prevent layout clutter and overflow */
    }

    .floating-card {
        top: 15px;
        left: 15px;
        padding: 15px 18px;
        border-radius: 14px;
        box-shadow: var(--shadow-md);
    }

    .floating-card h3 {
        font-size: 1.4rem;
    }

    .floating-card p {
        font-size: .75rem;
    }

    /* Content */
    .about-content {
        gap: 20px;
        text-align: center;
    }

    .about-content .section-subtitle {
        font-size: .75rem;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

    .about-content .section-title {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
        line-height: 1.15;
    }

    .about-content p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* Features */
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 10px;
        text-align: left;
        /* Keeps feature list clean and readable */
    }

    .feature {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 0.88rem;
    }
}