/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles (mobile first) */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff5f5; /* Light pink background for mobile */
    font-size: 14px;
}

/* Navigation */
nav {
    background: linear-gradient(to right, #1a2a3a, #2c3e50);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nav-brand {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main content */
main {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1rem;
    position: relative;
}

.page-header {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

/* Cards */
.news-card,
.review-card,
.guide-card {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.news-card {
    border-bottom: 1px solid #eee;
}

.news-card:last-child {
    border-bottom: none;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.rating {
    color: #e74c3c;
    font-weight: bold;
    margin: 0.5rem 0;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #2c3e50;
    color: #fff;
    margin-top: 2rem;
}

/* Tablet (768px and up) */
@media screen and (min-width: 768px) {
    body {
        background-color: #e8f0fe; /* Light blue background for tablet */
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 15px;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 2rem;
    }

    .nav-brand {
        font-size: 1.6rem;
        margin-bottom: 0;
    }

    .nav-links {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .content {
        padding: 1.8rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card,
    .review-card,
    .guide-card {
        padding: 1.5rem;
    }
}

/* Desktop (1024px and up) */
@media screen and (min-width: 1024px) {
    body {
        background-color: #ff2222;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 16px;
    }

    .hero {
        padding: 6rem 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .content {
        padding: 2.5rem;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card {
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }
}
/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff5f5; /* Svijetlo ružičasta za mobilne uređaje */
    font-size: 14px;
}

/* Tablet (min 768px) */
@media screen and (min-width: 768px) {
    body {
        background-color: #bed6ff; /* Svijetlo plava za tablete */
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 15px;
    }
}

/* Laptop (min 1024px) */
@media screen and (min-width: 1024px) {
    body {
        background-color: #d4edda; /* Svijetlo zelena za laptope */
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 16px;
    }
}

/* Veliki ekrani (min 1440px) */
@media screen and (min-width: 1440px) {
    body {
        background-color: #ffeeba; /* Svijetlo žuta za velike ekrane */
    }
}
