/* ======================================================
   SPECIALS PAGE SPECIFIC STYLES
   ====================================================== */

/* Import General Styles (Assuming general.css handles fonts, colors, etc.) */
/* @import 'general.css'; -- Handled in HTML <link> */

/* ======================================================
   NASLOV (TITLE SECTION) - Copied/Adapted from Privacy
   ====================================================== */
.naslov {
    padding-top: 236px;
    margin-bottom: 40px;
}

.naslov div {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    -moz-column-gap: 16px;
    column-gap: 16px;
    grid-column: span 12;
}

.mega_title {
    font-weight: 300;
    font-size: 80px;
    line-height: 100%;
    margin: 0;
    text-transform: uppercase;
}

@media screen and (max-width: 1500px) {
    .mega_title {
        font-size: 70px;
    }
}

@media screen and (max-width: 768px) {
    .naslov {
        padding-top: 190px;
        margin-bottom: 40px;
    }

    .mega_title {
        font-size: 48px;
    }
}

/* ======================================================
   GRID & CARD STYLES
   ====================================================== */
.specials-grid {
    display: grid;
    /* Uses the .grid class from general css (likely 12 col) */
    grid-column: span 12;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 30px;
    margin-bottom: 100px;
}

/* Reuse existing card styles if possible, but defining here for safety/override */
.card {
    position: relative;
    height: 500px;
    /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    padding: 30px;
    color: white;
    overflow: hidden;
    /* Needed for zoom effect or overlays */
}

/* Ensure the card spans correctly if not using grid-template-columns */
/* If creating a custom grid inside the container: */
.card {
    width: 100%;
}

/* Article Text Styling (Ported from index/general) */
/* Article Text Styling (Ported from index/general) */
.card-a {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    text-decoration: none;
    display: block;
    /* Ensure it fills spacing */
}

.card-a h3 {
    font-size: 28px;
    margin-bottom: 0;
    /* Removed bottom margin as p is gone */
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: white;
    transition: transform 0.3s ease;
}

.card:hover .card-a h3 {
    transform: translateY(-5px);
}

/* Optional: Ensure simple link behavior reset */
.card-a:hover {
    text-decoration: none;
}

/* Hover overlay or effects can be added here */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}


/* ======================================================
   RESPONSIVENESS
   ====================================================== */
@media screen and (max-width: 1024px) {
    .specials-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row on tablet */
    }
}

@media screen and (max-width: 768px) {
    .specials-grid {
        grid-template-columns: 1fr;
        /* 1 card per row on mobile */
        gap: 20px;
    }

    .card {
        height: 400px;
    }
}