/* ==========================================
   TEMPLATES
========================================== */

#showcase {
    padding: 120px 0;
    background: #f8f7f5;
}

#showcase .container {
    width: min(92%, 1450px);
    margin: auto;
}

#showcase .section-heading {
    max-width: 980px;
    margin: 0 auto 54px;
}

#showcase .section-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 16px;
    letter-spacing: .08em;
}

#showcase .section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 60px);
    letter-spacing: -1.5px;
    line-height: 1.08;
}

#showcase .section-heading p {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.65;
}

#templates{

    padding:140px 0;

    background:#f8f7f5;

}

#templates .container{

    max-width:1450px;

    margin:auto;

}

/* ==========================================
   GRID
========================================== */

.templates-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

/* ==========================================
   CARD
========================================== */

.template-card{

    background:#ffffff;

    border:1px solid #edf2f7;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    cursor:pointer;

    box-shadow:
        0 8px 30px rgba(0,0,0,.04);

}

#showcase .template-card {
    cursor: default;
}

.template-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.10);

}

/* ==========================================
   IMAGE
========================================== */

.template-card img{

    width:100%;

    /*height:265px;*/

    object-fit:cover;

    display:block;

    transition:.45s;

}

#showcase .template-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111a32;
}

#showcase .template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    color: #f1f5f9;
    background: rgba(13, 20, 41, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(8px);
}

#showcase .template-content {
    padding: 18px 20px 20px;
}

#showcase .template-content h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.template-card:hover img{

    transform:scale(1.04);

}

/* ==========================================
   CONTENT
========================================== */

.template-content{

    padding:22px;

}

.template-content h3{

    font-size:28px;

    font-weight:700;

    color:#111827;

    margin-bottom:12px;

}

.template-content p{

    color:#6b7280;

    font-size:18px;

    line-height:1.8;

}

/* ==========================================
   BUTTON
========================================== */

.templates-footer{

    margin-top:70px;

    display:flex;

    justify-content:center;

}

.btn-outline{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-width:320px;

    height:66px;

    border:2px solid #2563eb;

    border-radius:16px;

    text-decoration:none;

    color:#2563eb;

    font-size:21px;

    font-weight:600;

    transition:.30s;

}

.btn-outline:hover{

    background:#2563eb;

    color:#ffffff;

}

/* ==========================================
   ICON
========================================== */

.btn-outline i{

    transition:.30s;

}

.btn-outline:hover i{

    transform:translateX(5px);

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:1200px){

    .templates-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:768px){

    .templates-grid{

        grid-template-columns:1fr;

    }

}
