/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BOJE */
:root {
    --primary: #cd1dfe;
    --secondary: #0066ff;
    --main: #80e180;
    --accent: #ffb703;
    --text: #111;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--main);
    color: var(--text);
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--primary), #4b00b5);
    color: white;

    text-align: center;
    padding: 25px 20px;

    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* USER BOX */
.user-box {
    position: absolute;
    top: 20px;
    right: 20px;

    display: flex;
    gap: 10px;
    align-items: center;

    background: rgba(0,0,0,0.25);
    padding: 10px 15px;

    border-radius: 10px;

    color: white;
    font-size: 14px;
}

.user-box button {
    background: var(--accent);
    color: black;

    border: none;
    padding: 5px 10px;

    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* NAV */
nav {
    background: var(--secondary);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

nav ul li {
    flex: 1;
}

nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 60px;

    text-decoration: none;
    color: white;
    font-weight: bold;

    transition: 0.3s;
}

nav ul li a:hover {
    background: var(--accent);
    color: black;
}

/* MAIN */
main {
    display: flex;
    gap: 25px;

    padding: 25px;
    flex: 1;
}

/* CONTENT */
.content {
    flex: 3;

    background: white;
    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;
}

/* ASIDE */
aside {
    flex: 1.3;

    background: linear-gradient(180deg, var(--primary), var(--secondary));
    color: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;
}

/* SLIDER */
.slider img {
    width: 100%;
    height: 400px;

    object-fit: cover;

    border-radius: 15px;
    margin-top: 20px;
}

/* DETAILS */
details {
    width: 70%;
    margin: auto;

    background: white;
    border: 2px solid var(--primary);

    border-radius: 12px;
    padding: 15px;
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: var(--primary);
}

/* SHOP + PRODUCTS */
.shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    margin-top: 25px;
}

.product {
    width: 22%;
    min-width: 220px;

    background: white;
    padding: 15px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product button {
    margin-top: 10px;

    background: var(--primary);
    color: white;

    border: none;
    padding: 10px 15px;

    border-radius: 10px;
    cursor: pointer;
}

/* FORME */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;

    max-width: 500px;
    margin: auto;
}

input,
textarea {
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

button {
    background: var(--primary);
    color: white;

    border: none;
    padding: 12px;

    border-radius: 10px;
    cursor: pointer;
}

/* RECENZIJE */
.review {
    background: #f8f8f8;
    padding: 20px;

    margin-bottom: 15px;

    border-left: 6px solid var(--primary);
    border-radius: 10px;

    text-align: left;
}

/* OFFERS */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

    margin-top: 20px;
}

.offer-card {
    background: white;
    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;

    position: relative;
    transition: 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    background: var(--primary);
    color: white;

    padding: 5px 10px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: bold;
}

/* LOCK */
.lock-card {
    background: white;
    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;

    color: #555;
}

.lock-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* LOCATION */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

    margin-top: 20px;
}

.location-card {
    background: rgb(238, 217, 56);

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    text-align: center;

    transition: 0.3s;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card ul {
    list-style: none;
    padding: 0;
}

.map-box {
    margin-top: 30px;

    background: white;

    padding: 20px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* FOOTER */
footer {
    background: var(--primary);
    color: white;

    text-align: center;
    padding: 15px;

    margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    main {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
    }

    details {
        width: 95%;
    }
}

/* NO BORDER MODE */
.no-border .product,
.no-border .content,
.no-border aside,
.no-border .offer-card,
.no-border .lock-card {
    border-radius: 0 !important;
}
section {
    margin-bottom: 40px;
}
.slider img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.5s ease;
}
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 130px;
    height: 70px;
}
img{
    width: 150px;
    height: 100px;
}