/* --- Root Variables & Typography --- */
:root {
    --gk-brand-red: #ED1B24;
    --gk-brand-green: #138C3B;
    --gk-text-main: #1A1A1B;
    --gk-text-light: #666768;
    --gk-bg-card: #FFFFFF;
    --gk-bg-section: #F8F9FC;
    --gk-radius: 20px;
    --gk-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gk-modern-section {
    padding: 40px 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* --- Section Header --- */
.gk-m-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.gk-m-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gk-text-main);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* --- Grid System --- */
.gk-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Modern Card --- */
.gk-m-card {
    position: relative;
    background: transparent;
    transition: var(--gk-transition);
    opacity: 1;
}

/* Image Container */
.gk-m-image-box {
    position: relative;
    height: 300px;
    border-radius: var(--gk-radius);
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gk-m-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gk-m-card:hover .gk-m-image-box img {
    transform: scale(1.1);
}

/* Status Badge */
.gk-m-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--gk-text-main);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Content Box --- */
.gk-m-content {
    background: var(--gk-bg-card);
    padding: 30px;
    border-radius: var(--gk-radius);
    margin: -60px 10px 0 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: var(--gk-transition);
}

.gk-m-card:hover .gk-m-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.gk-m-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--gk-text-main);
}

.gk-m-location {
    font-size: 13px;
    color: var(--gk-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

/* Stats Row */
.gk-m-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #F0F4FD;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.gk-m-stat {
    display: flex;
    flex-direction: column;
}

.gk-m-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #8E9196;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gk-m-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gk-text-main);
}

/* --- Footer --- */
.gk-m-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
}

.gk-m-price-box small {
    display: block;
    font-size: 10px;
    color: var(--gk-text-light);
    margin-bottom: 2px;
}

.gk-m-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gk-brand-green);
}

/* Button */
.gk-m-btn {
    background: var(--gk-text-main);
    color: #FFF;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--gk-transition);
}

.gk-m-btn:hover {
    background: var(--gk-brand-green);
    color: #fff;
    text-decoration: none;
}

.gk-m-sold-btn {
    background: #EEE;
    color: #999;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .gk-modern-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gk-modern-grid {
        grid-template-columns: 1fr;
    }

    .gk-m-image-box {
        height: 250px;
    }

    .gk-m-content {
        margin: -40px 15px 0 15px;
        padding: 20px;
    }

    .gk-m-header h3 {
        font-size: 1.2rem;
    }
}
