/* styles4.css */

/* Root variables */
:root {
    --accent: #E07A5F;
    --background: #FFFFFF;
    --primary-text: #333333;
    --beige: #F5F5DC;
    --white: #FFFFFF;
    --text-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --cta-radius: 50px;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: linear-gradient(to bottom, var(--white) 0%, var(--beige) 100%);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header section */
.sticky-header {
    position: sticky;
    top: 0;
    background: var(--background);
    box-shadow: 0 1px 0 #000;
    padding: 1rem 0;
    z-index: 1000;
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Dodano za pozicioniranje mobile-nav */
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-center {
    flex: 1; /* Omogućava da se centrira i zauzme prostor */
    justify-content: center;
}

.header-right {
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-weight: bold;
}

.accent-text {
    color: var(--accent);
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.desktop-nav a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 400;
    font-weight: bold;
}

.cta-button.small {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 20px;
    /* Uklonjen margin-left jer sada koristimo flex za poziciju */
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #000;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%; /* Ispod headera */
    left: 0;
    width: 100%;
    background: var(--background);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.mobile-nav a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

@media (max-width: 640px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .cta-button.small {
        display: none;
    }
    .header-center {
        display: none; /* Sakrij desktop nav na mobile */
    }
    .sticky-header .container {
        justify-content: space-between; /* Zadrži lijevo/desno na mobile */
    }
}

/* CTA button general styles */
.cta-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--cta-radius);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Contact section styles */
.section {
    padding: 80px 0;
}

.badge {
    background: rgba(224, 122, 95, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;  /* Promijenjeno u block za centriranje */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: fit-content;
}

h2 {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 10px;
}

.subheadline {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card svg {
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-card span {
    font-size: 14px;
    color: #666;
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.social-follow p {
    font-size: 16px;
}

.social-follow a {
    transition: transform 0.3s;
}

.social-follow a:hover {
    transform: scale(1.1);
}

.contact-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form-card p {
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    background: var(--beige);
    transition: border-color 0.3s;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.contact-form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.map-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-card iframe {
    width: 100%;
    height: 300px;
    border: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 28px;
    }

    .subheadline {
        font-size: 16px;
    }
}

/* Footer styles */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--accent);
}

.social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social a {
    transition: transform 0.3s;
}

.social a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--accent);
}

@media (max-width: 640px) {
        .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem; /* Smanji razmak između sekcija */
    }

    .footer-column {
        width: 100%;
        text-align: center; 
        margin-bottom: 1rem; /
    }

    .footer-column h4 {
        font-size: 1.2rem; /* Malo veći naslov za čitljivost */
        margin-bottom: 0.5rem;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-column ul li {
        margin-bottom: 0.3rem; 
        font-size: 0.9rem; 
    }

    .footer-logo p {
        font-size: 0.9rem; /* Smanji opis logo-a */
    }

    .footer-contact p {
        font-size: 0.9rem;
        margin: 0.3rem 0;
    }

    .social {
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .social a {
        display: inline-block;
    }

    .social svg {
        width: 24px; /* Standardna veličina ikona */
        height: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem; /* Smanji copyright i legal font */
    }

    .legal-links {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .legal-links li {
        margin: 0;
    }

    .legal-links a {
        text-decoration: none;
        color: #aaa; /* Ako treba promijeniti boju */
    }
}