/* style.css */
:root {
    --black: #111111;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --gold: #b59b6c;
    --transition: all 0.3s ease;

    /* Photo studio backdrop — radial gradient dari putih warm di center ke cream beige di edge */
    --studio-bg: radial-gradient(
        ellipse at 55% 42%,
        #ffffff 0%,
        #faf8f4 28%,
        #f2ede5 58%,
        #e8e1d6 82%,
        #ddd5c8 100%
    );

    /* Versi lebih soft untuk thumbnail kecil */
    --studio-bg-soft: radial-gradient(
        ellipse at 55% 42%,
        #ffffff 0%,
        #faf9f6 35%,
        #f4f0ea 65%,
        #ece6dc 100%
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar Styles — lihat components.css */

/* Hero — tidak digunakan di homepage, lihat components.css untuk FMO banner */

/* Product Grid */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin: 60px 0 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Product Card */
.product-card {
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--studio-bg);
    overflow: hidden;
}

/* Bayangan alas — permukaan studio */
.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 26%;
    background: radial-gradient(
        ellipse at 50% 100%,
        rgba(100, 85, 65, 0.22) 0%,
        rgba(100, 85, 65, 0.09) 42%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.favorite-btn.active svg {
    fill: red;
    stroke: red;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-price {
    color: var(--gray);
    font-size: 0.9rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #111;
    color: rgba(255,255,255,0.75);
    margin-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand kolom */
.footer-brand {}

.footer-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
    /* Logo putih di background hitam */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    max-width: 280px;
    margin-bottom: 24px;
}

/* Sosial media */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(181,155,108,0.08);
}

/* Kolom navigasi */
.footer-col {}

.footer-col-title {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* Marketplace logos di footer */
.footer-mp-logos {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-mp-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.footer-mp-logo:hover { opacity: 1; }

.footer-mp-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Bottom bar */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-right {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-desc { max-width: 100%; }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 0 32px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}