﻿/* ========================================================================================== */
/* ========================================================================================== */
/* ========================================================================================== */
/* ========================================================================================== */
/* ========================================================================================== */

/* ===== DEMO PAGE ===== */

.demo-hero {
    text-align: center;
    padding: 20px 20px 10px;
    XXfont-family: "Playfair Display", serif;
}

    .demo-hero h1 {
        font-size: clamp(36px, 5vw, 64px);
        margin-bottom: 10px;
    }

    .demo-hero p {
        color: #aaa;
        font-size: 18px;
    }



/* container */
.demo-container {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 60px;
    display: flex;
    justify-content: center;
    padding-bottom: 120px;
}



/* grid wrapper for cards */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

/* card */
.demo-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .demo-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }


/* thumbnails grid */
.demo-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.demo-thumb {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.demo-card:hover .demo-thumb {
    opacity: 0.9;
}

/* info block */
.demo-info {
    background: #000;
    text-align: center;
    padding: 25px 15px 20px;
}

.demo-name {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.btn-view {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid #007aff;
    color: #007aff;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .btn-view:hover {
        background: #007aff;
        color: #fff;
        box-shadow: 0 0 0 3px rgba(0,122,255,0.15);
    }

/* responsive spacing */
@media (max-width: 768px) {
    .demo-container {
        padding: 60px 10px 120px;
    }
}
