/* =========================================================
   PODACA.CSS
   COMPLETE STANDALONE CSS FOR:
   podaca-croatia.html
========================================================= */

/* =========================
   1. RESET / BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3498db;
    --primary-dark: #217dbb;
    --secondary: #1e293b;
    --accent: #e67e22;
    --accent-dark: #d35400;
    --whatsapp: #25D366;
    --bg: #f7f8fb;
    --card: #ffffff;
    --text: #2d3748;
    --muted: #64748b;
    --border: #e2e8f0;
    --light: #f8fafc;
    --shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1240px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding: 0;
}

/* =========================
   2. HEADER / NAVIGATION
========================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

nav.nav-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    min-height: 78px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    z-index: 1002;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-menu a {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.97rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    transition: 0.25s ease;
}

.desktop-menu a:hover,
.desktop-menu a.active {
    color: var(--accent-dark);
}

.language-dropdown {
    position: relative;
}

.lang-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    z-index: 1002;
    margin-top: 8px;
}

.lang-options a {
    display: block;
    padding: 10px 16px;
    color: #334155;
    transition: 0.25s ease;
}

.lang-options a:hover {
    background: #f8fafc;
    color: var(--accent-dark);
}

.language-dropdown.active .lang-options,
.language-dropdown:hover .lang-options,
.language-dropdown:focus-within .lang-options {
    display: block;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #1f2d3d;
    z-index: 1002;
    margin-left: auto;
}

.hamburger i {
    font-size: 24px;
}


/* =========================
   2B. HERO IMAGE
========================= */
.fast-hero {
    width: 100%;
    margin-top: 78px;
    background: #eef3f8;
    overflow: hidden;
}

.fast-hero picture {
    display: block;
    width: 100%;
}

.fast-hero img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
}

/* =========================
   3. PAGE SECTION / CONTENT
========================= */
.page-section {
    max-width: var(--container);
    margin: 26px auto 42px;
    padding: 0 20px;
}

.content-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    width: 100%;
}

.content-box h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 18px;
    text-align: center;
}

.content-box h2 {
    font-size: clamp(1.55rem, 3vw, 1.95rem);
    color: var(--secondary);
    margin: 28px 0 14px;
    line-height: 1.28;
}

.content-box p {
    color: #475569;
    margin-bottom: 14px;
}

.content-box a {
    color: var(--accent-dark);
    font-weight: 600;
    transition: 0.25s ease;
}

.content-box a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.intro-text {
    font-size: 1.02rem;
}

.highlight-box,
.cta-note {
    padding: 20px;
    border-radius: 18px;
    margin: 22px 0;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.cta-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    min-height: 52px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(211, 84, 0, 0.22);
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* =========================
   4. GALLERY
========================= */
#galerija {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

#galerija h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

#galerija .gallery-lead {
    text-align: center;
    color: #475569;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    display: block;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

.promo-center {
    text-align: center;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    gap: 20px;
    flex-wrap: wrap;
}

.promo-center a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.promo-center img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* =========================
   5. CUSTOM LIGHTBOX
========================= */
.custom-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-lightbox.active {
    display: flex;
}

.custom-lightbox-inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    background: #111;
}

.custom-lightbox-close,
.custom-lightbox-prev,
.custom-lightbox-next {
    position: absolute;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.custom-lightbox-close {
    top: -52px;
    right: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.custom-lightbox-prev,
.custom-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    font-size: 1.1rem;
}

.custom-lightbox-prev {
    left: 12px;
}

.custom-lightbox-next {
    right: 12px;
}

/* =========================
   6. MAPA
========================= */
.mapa {
    width: 100%;
    max-width: 1240px;
    margin: 42px auto;
    padding: 0 20px;
}

.mapa-title {
    font-size: clamp(1.55rem, 3vw, 1.95rem);
    color: var(--secondary);
    margin-bottom: 16px;
    text-align: center;
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
    background: #fff;
}

/* =========================
   7. FOOTER
========================= */
footer {
    background: var(--secondary);
    color: #fff;
    padding: 48px 0 18px;
    margin-top: 40px;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-column p,
.footer-column a {
    color: #cbd5e1;
    display: block;
    margin-bottom: 10px;
    transition: 0.25s ease;
}

.footer-column a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    transition: 0.25s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 0.92rem;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   8. WHATSAPP
========================= */

.cta-fixed {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff !important;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 12px 26px rgba(211, 84, 0, 0.26);
}

.cta-fixed:hover {
    color: #fff !important;
    text-decoration: none !important;
}


.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 999;
}

/* =========================
   9. RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .mapa iframe {
        height: 420px;
    }
}

@media (max-width: 768px) {

    .fast-hero {
        width: min(100%, 430px);
        margin: 0 auto;
        background: #fff;
        overflow: hidden;
    }

    .fast-hero img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center center;
    }

    .page-section {
        margin-top: 18px;
    }

    .cta-fixed {
        display: flex;
    }

    .whatsapp-float {
        bottom: 82px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    nav.nav-container {
        padding: 14px 16px;
        min-height: 74px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 10px;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        height: 46px;
    }

    .nav-group {
        gap: 10px;
        margin-left: 0;
    }

    .hamburger {
        display: inline-flex;
        order: 3;
    }

    .language-dropdown {
        order: 2;
    }

    .desktop-menu {
        position: absolute;
        top: 74px;
        right: 16px;
        left: auto;
        width: min(270px, calc(100vw - 32px));
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
        padding: 14px 16px 18px;
        border-radius: 16px;
        z-index: 1200;
        margin-left: 0;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .desktop-menu.active {
        display: flex;
    }

    .desktop-menu a {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #eef2f7;
        text-align: left;
    }

    .desktop-menu a:last-child {
        border-bottom: none;
    }

    .lang-options {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        min-width: 120px;
    }


    .content-box {
        padding: 22px;
    }

    .mapa {
        margin: 34px auto;
        padding: 0 16px;
    }

    .mapa iframe {
        height: 320px;
        border-radius: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column p,
    .footer-column a {
        text-align: center;
    }

    .social-icons {
        align-items: center;
    }

    .social-icons a:hover {
        transform: none;
    }

    .custom-lightbox-prev,
    .custom-lightbox-next {
        width: 42px;
        height: 42px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 180px;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 540px) {

    .cta-fixed {
        left: 14px;
        right: 14px;
        bottom: 12px;
        min-height: 50px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 78px;
        right: 14px;
    }

    .container,
    .page-section,
    .mapa {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-box h1 {
        font-size: 1.75rem;
    }

    .logo img {
        height: 42px;
    }

    .desktop-menu {
        right: 10px;
        width: min(255px, calc(100vw - 20px));
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    .custom-lightbox-close {
        top: -44px;
    }


    .mapa iframe {
        height: 260px;
    }
}