/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(
        to bottom,
        #f7f4ef,
        #ece6dc
    );
    color: #1f2a33;
    font-family: 'Inter', sans-serif;
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 20px 60px; /* smanjen razmak ispod */
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
}

.subtitle {
    max-width: 600px;
    margin: auto;
    font-size: 1.25rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* BUTTON */
.hero-buttons {
    margin-top: 50px;
}

.btn {
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #7c6557;
    color: white;
}

.btn.primary:hover {
    background: #6a5448;
    transform: translateY(-2px);
}

/* RESTAURANTS */
.restaurants {
    display: flex;
    gap: 20px; /* manji razmak između kartica */
    padding: 40px 10% 100px; /* manji razmak iznad */
    justify-content: center;
}

/* CARD */
.restaurant {
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 350px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* IMAGE */
.restaurant img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* OVERLAY */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px 20px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0)
    );
    color: white;
}

/* TEXT */
.overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
}

.overlay .type {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 6px;
}

.overlay .email {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 0px 20px 60px 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .restaurants {
        flex-direction: column;
        padding: 60px 5%;
    }

    .restaurant img {
        height: 350px;
    }

    .overlay h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 2rem;
    }

    .restaurant img {
        height: 300px;
    }
}
