/* ═══════════════════════════════════════════════════════════════════
   LZ PROMET – Rent a Boat Novalja
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #0B1C2E;
    --navy-mid:  #142236;
    --navy-light:#1B3A5C;
    --blue:      #1A8DB0;
    --blue-dark: #127A9A;
    --gold:      #C9A84C;
    --gold-light:#E2C872;
    --white:     #FFFFFF;
    --off-white: #F7F9FB;
    --gray-100:  #F0F3F6;
    --gray-300:  #CBD5E0;
    --gray-600:  #718096;
    --text:      #1A2332;
    --text-mid:  #4A5568;

    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
    --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CONTAINER ──────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── SECTION COMMON ─────────────────────────────────────────────── */
.section { padding: 96px 0; }

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(26,141,176,.1);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
}
.section-title em { color: var(--blue); font-style: italic; }

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }
.section-header.light .section-title,
.section-header.light .section-desc { color: rgba(255,255,255,.9); }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 28px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,141,176,.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.5);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ─── LOGO SVG ───────────────────────────────────────────────────── */
.logo-svg {
    height: 62px;
    width: auto;
    display: block;
}
.footer-logo .logo-svg {
    height: 57px;
}

@media (max-width: 768px) {
    .logo-svg { height: 44px; }
}

/* ─── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background .4s, padding .4s, box-shadow .4s;
}
.navbar.scrolled {
    background: var(--navy);
    padding: 12px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-anchor {
    width: 40px; height: 40px;
    background: var(--blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}
.logo-text {
    display: flex; flex-direction: column;
    line-height: 1.1;
}
.logo-main {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: .05em;
}
.logo-sub {
    font-size: .65rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--white); }
.nav-link.active::after { width: 100%; }

.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,141,176,.4);
}

/* ─── NAV RIGHT ──────────────────────────────────────────────────── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ─── LANGUAGE DROPDOWN ──────────────────────────────────────────── */
.lang-dropdown {
    position: relative;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 10px 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
    letter-spacing: .03em;
}
.lang-selected:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.45);
}

.lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-code { font-size: .78rem; font-weight: 700; letter-spacing: .06em; }

.lang-chevron {
    font-size: .6rem;
    opacity: .7;
    transition: transform .22s ease;
    margin-left: 1px;
}
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #0e2035;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    min-width: 152px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 2000;
}
.lang-dropdown.open .lang-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.65);
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s;
    text-align: left;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover {
    background: rgba(255,255,255,.07);
    color: var(--white);
}
.lang-option.active {
    background: rgba(26,141,176,.25);
    color: var(--white);
    font-weight: 600;
}
.lang-option .lang-flag { font-size: 1.25rem; }

/* ── Mobile ────────────────────────────────── */
@media (max-width: 768px) {
    .lang-selected {
        padding: 5px 8px;
    }
    .lang-code {
        display: none;
    }
    .lang-chevron {
        display: none;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #1B3A5C 60%, #0D2137 100%);
}

.hero-media {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.28;
    filter: saturate(1.3) brightness(0.9);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11,28,46,.60) 0%,
        rgba(11,28,46,.42) 40%,
        rgba(11,28,46,.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero-badge i { color: var(--gold); }

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title em {
    color: var(--gold-light);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    z-index: 2;
}
.scroll-dot {
    width: 6px; height: 6px;
    background: rgba(255,255,255,.4);
    border-radius: 50%;
    animation: bounce 1.8s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ─── HIGHLIGHTS BAR ─────────────────────────────────────────────── */
.highlights-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 32px 0;
    box-shadow: var(--shadow-sm);
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.highlight {
    display: flex;
    align-items: center;
    gap: 14px;
}
.highlight-icon {
    width: 48px; height: 48px;
    background: rgba(26,141,176,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.highlight div { display: flex; flex-direction: column; line-height: 1.3; }
.highlight strong { font-size: .95rem; color: var(--text); font-weight: 600; }
.highlight span { font-size: .8rem; color: var(--text-mid); }

/* ─── O NAMA ─────────────────────────────────────────────────────── */
.o-nama { background: var(--white); }

.o-nama-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.o-nama-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 1rem;
}
.o-nama-text .btn-primary { margin-top: 8px; }

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 32px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: var(--text);
}
.feature-item i { color: var(--blue); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.o-nama-visual { position: relative; }
.img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.img-frame img {
    width: 100%; height: 480px;
    object-fit: cover;
}
.img-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: rgba(11,28,46,.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    display: flex; align-items: center; gap: 8px;
}
.img-badge i { color: var(--gold); }

/* ─── FLOTA ──────────────────────────────────────────────────────── */
.flota { background: var(--off-white); }

.boats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.boat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.boat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.boat-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.boat-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.boat-card:hover .boat-img-wrap img { transform: scale(1.05); }

.boat-pill {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--blue);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}
.boat-pill.sport   { background: #E53E3E; }
.boat-pill.lux     { background: var(--gold); color: var(--navy); }
.boat-pill.family  { background: #38A169; }

.boat-body { padding: 22px 24px 24px; }
.boat-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.boat-body p {
    font-size: .85rem;
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.55;
}

.boat-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}
.boat-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--text-mid);
}
.boat-spec i { color: var(--blue); width: 14px; }

.btn-boat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: .9rem;
    transition: gap var(--transition), color var(--transition);
}
.btn-boat:hover { color: var(--blue-dark); gap: 12px; }
.btn-boat i { font-size: .8rem; }

/* ─── GALERIJA ───────────────────────────────────────────────────── */
.galerija { background: var(--white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 10px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.g-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}
.g-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.08); }

.g-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.g-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,28,46,0);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition), background var(--transition);
}
.g-item:hover .g-overlay {
    opacity: 1;
    background: rgba(11,28,46,.4);
}

/* ─── LIGHTBOX ───────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }

.lb-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 1rem; }
.lb-prev  { left:  20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.1rem; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.1rem; }

.lb-counter {
    position: absolute;
    bottom: 24px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    letter-spacing: .1em;
}

/* ─── ZAŠTO MI ───────────────────────────────────────────────────── */
.zasto { background: var(--off-white); }

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.reason-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.reason-icon {
    width: 64px; height: 64px;
    background: rgba(26,141,176,.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: background var(--transition);
}
.reason-card:hover .reason-icon { background: var(--blue); color: white; }

.reason-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.reason-card p {
    font-size: .875rem;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ─── LOKACIJA ───────────────────────────────────────────────────── */
.lokacija { background: var(--white); }

.map-section {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrap { height: 100%; min-height: 480px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: none; display: block; }

.contact-box {
    background: var(--navy);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.contact-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 32px;
}

.cbox-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cbox-item:last-of-type { border-bottom: none; }

.cbox-icon {
    width: 38px; height: 38px;
    background: rgba(26,141,176,.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: .95rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.cbox-item strong { display: block; font-size: .8rem; color: rgba(255,255,255,.5); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.cbox-item p { color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.5; }
.cbox-item p a { color: var(--gold-light); transition: color var(--transition); }
.cbox-item p a:hover { color: var(--white); }
.cbox-item p em { color: rgba(255,255,255,.5); font-style: normal; font-size: .8rem; }

.btn-wa {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 24px;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-wa:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.btn-wa i { font-size: 1.2rem; }

/* ─── KONTAKT ────────────────────────────────────────────────────── */
.section.kontakt { padding: 0; }

.kontakt-bg {
    background: linear-gradient(135deg, var(--navy) 0%, #1B3A5C 100%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.kontakt-bg::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(26,141,176,.15) 0%, transparent 70%);
    pointer-events: none;
}

.kontakt-form {
    max-width: 780px;
    margin: 0 auto;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group.full { margin-bottom: 20px; }

.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: .03em;
}
.req { color: var(--gold-light); }

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--white);
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.28); }

/* ── Select — custom chevron ──────────────── */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.55)' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}
.form-group select option { background: #0e2035; color: var(--white); }

/* ── Date — white calendar icon ───────────── */
.form-group input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: brightness(0) invert(1);
    opacity: 0.55;
    cursor: pointer;
    border-radius: 3px;
    padding: 2px;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Focus state ──────────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(26,141,176,.7);
    background: rgba(255,255,255,.11);
    box-shadow: 0 0 0 3px rgba(26,141,176,.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit-wrap {
    text-align: center;
    margin-top: 8px;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-submit i { font-size: 1.2rem; }
.btn-submit:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,.4);
}

.form-note {
    margin-top: 14px;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer-main {
    background: #060E18;
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-col.brand p {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: white; }

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 20px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col ul li {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.55;
}
.footer-col ul li strong { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-col ul li em { color: rgba(255,255,255,.35); font-style: normal; font-size: .8rem; }
.footer-col ul li i {
    color: var(--blue);
    font-size: .8rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.footer-col ul li a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); }

/* Nav links in footer get chevron icon */
.footer-col ul li a i {
    color: rgba(255,255,255,.2);
    font-size: .65rem;
    margin-top: 4px;
}
.footer-col ul li a:hover i { color: var(--gold); }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
    margin: 4px 0;
}
.footer-col.legal ul li { font-size: .82rem; }

.footer-bottom {
    background: #03070D;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.04);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p {
    font-size: .8rem;
    color: rgba(255,255,255,.3);
}
.footer-bottom p strong { color: rgba(255,255,255,.5); font-weight: 600; }
.footer-credits { color: rgba(255,255,255,.18) !important; }

/* ─── FLOATING WHATSAPP ──────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 58px; height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    z-index: 900;
    transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,.6);
}
.wa-tooltip {
    position: absolute;
    right: 68px;
    background: var(--navy);
    color: white;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity var(--transition), transform var(--transition);
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy);
    border-right: none;
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ─── MARINE TEXTURES & SECTION BACKGROUNDS ─────────────────────── */
.o-nama {
    background:
        radial-gradient(ellipse 900px 600px at 110% 50%, rgba(26,141,176,.07) 0%, transparent 70%),
        var(--white);
}

.flota {
    background-color: var(--off-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='20'%3E%3Cpath d='M0 10 C25 4 75 16 100 10 C125 4 175 16 200 10' fill='none' stroke='%231A8DB0' stroke-width='1' stroke-opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 20px;
    background-repeat: repeat;
}

.galerija {
    background:
        radial-gradient(ellipse 700px 300px at 50% 5%, rgba(26,141,176,.06) 0%, transparent 70%),
        var(--white);
}

.zasto {
    background-color: var(--off-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='20'%3E%3Cpath d='M0 10 C25 4 75 16 100 10 C125 4 175 16 200 10' fill='none' stroke='%231A8DB0' stroke-width='1' stroke-opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 20px;
    background-repeat: repeat;
}

.lokacija {
    background:
        radial-gradient(ellipse 700px 500px at -5% 60%, rgba(26,141,176,.07) 0%, transparent 70%),
        var(--white);
}

.footer-main {
    background-color: #060E18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%231A8DB0' fill-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

/* ─── SECTION WAVE SEPARATORS ────────────────────────────────────── */
.wave-sep {
    line-height: 0;
    overflow: hidden;
    margin: -2px 0;
}
.wave-sep svg {
    display: block;
    width: 100%;
    height: 52px;
}
.wave-from-white    { background: var(--white); }
.wave-from-offwhite { background: var(--off-white); }

/* ─── KONTAKT DARK SECTION MARINE PATTERN ──────────────────────── */
.kontakt-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='36'%3E%3Cpath d='M0 18 C50 7 100 29 150 18 C200 7 250 29 300 18 C350 7 400 29 400 18' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 400px 36px;
    background-repeat: repeat;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .o-nama-grid     { grid-template-columns: 1fr; gap: 48px; }
    .o-nama-visual   { display: none; }
    .boats-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .boat-img-wrap   { height: 220px; }
    .reasons-grid    { grid-template-columns: repeat(2, 1fr); }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .map-section     { grid-template-columns: 1fr; }
    .map-wrap        { height: 320px; }
    .footer-grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
    .gallery-grid    { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .g-large         { grid-column: 1 / 3; grid-row: 1 / 3; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    /* ── Navigation ───────────────────────── */
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 32px 40px;
        transition: right .35s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,.3);
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-link {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        font-size: 1rem;
    }
    .nav-cta { margin-top: 16px; }

    /* ── Hero ─────────────────────────────── */
    .hero-content     { padding: 90px 24px 72px; }
    .hero-title       { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .hero-sub br      { display: none; }
    .hero-scroll-hint { bottom: 96px; }

    /* ── Wave separators ──────────────────── */
    .wave-sep svg     { height: 36px; }

    /* ── Highlights bar ───────────────────── */
    .highlights-bar   { padding: 24px 0; }
    .highlights-grid  { grid-template-columns: 1fr 1fr; gap: 16px; }
    .highlight-icon   { width: 42px; height: 42px; font-size: 1.1rem; }

    /* ── Typography ───────────────────────── */
    .section-title    { font-size: clamp(1.6rem, 5vw, 2.1rem); }
    .section-header   { margin-bottom: 44px; }

    /* ── Fleet ────────────────────────────── */
    .boats-grid       { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .boat-img-wrap    { height: 200px; }
    .boat-body h3     { font-size: 1.05rem; }
    .boat-body p      { font-size: .8rem; }

    /* ── Gallery ──────────────────────────── */
    .gallery-grid     { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; padding: 0 16px; }
    .g-large          { grid-column: 1 / 3; grid-row: span 2; }

    /* ── Why us — 2 cols on large phones ─── */
    .reasons-grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 100%; }
    .reason-card      { padding: 28px 20px; }

    /* ── Location ─────────────────────────── */
    .map-section      { grid-template-columns: 1fr; }
    .contact-box      { padding: 28px 20px; }

    /* ── Reservation form ─────────────────── */
    .kontakt-bg       { padding: 60px 0; }
    .kontakt-form     { padding: 28px 20px; }
    .form-row         { grid-template-columns: 1fr; }
    .btn-submit       { width: 100%; justify-content: center; }

    /* ── Footer — brand + contact visible ─── */
    .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
    .footer-col:not(.brand):not(.contact-col) { display: none; }

    /* ── Overlays & lightbox ──────────────── */
    .wa-float         { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
    .lb-prev          { left:  8px; }
    .lb-next          { right: 8px; }
}

@media (max-width: 480px) {
    .section          { padding: 48px 0; }
    .kontakt-bg       { padding: 48px 0; }

    /* ── Hero ─────────────────────────────── */
    .hero-content     { padding: 80px 20px 60px; }
    .hero-title       { font-size: clamp(2rem, 9vw, 2.8rem); }
    .hero-actions     { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline { width: 100%; max-width: 300px; justify-content: center; }
    .hero-scroll-hint { display: none; }

    /* ── Highlights ───────────────────────── */
    .highlights-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
    .highlight        { flex-direction: column; text-align: center; gap: 8px; }
    .highlight-icon   { width: 40px; height: 40px; }

    /* ── Typography ───────────────────────── */
    .section-header   { margin-bottom: 32px; }
    .section-desc     { font-size: .95rem; }

    /* ── O Nama ───────────────────────────── */
    .o-nama-text .btn-primary { width: 100%; justify-content: center; }

    /* ── Fleet ────────────────────────────── */
    .boats-grid       { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .boat-img-wrap    { height: 220px; }
    .boat-body        { padding: 18px 16px 20px; }
    .boat-body h3     { font-size: 1.1rem; }
    .boat-specs       { gap: 8px; }
    .boat-spec        { font-size: .82rem; }

    /* ── Why us — 2 cols on phones ────────── */
    .reasons-grid     { grid-template-columns: 1fr 1fr; gap: 12px; }
    .reason-card      { padding: 22px 14px; }
    .reason-icon      { width: 52px; height: 52px; font-size: 1.25rem; margin-bottom: 14px; }
    .reason-card h4   { font-size: .9rem; }
    .reason-card p    { font-size: .8rem; }

    /* ── Gallery ──────────────────────────── */
    .gallery-grid     { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; padding: 0 12px; gap: 8px; }
    .g-large          { grid-column: 1 / 3; grid-row: span 1; }
    .g-item           { border-radius: 8px; }

    /* ── Location ─────────────────────────── */
    .map-wrap         { min-height: 260px; }
    .cbox-item        { gap: 12px; padding: 14px 0; }
    .cbox-icon        { width: 34px; height: 34px; font-size: .85rem; }

    /* ── Form ─────────────────────────────── */
    .kontakt-form     { padding: 24px 16px; }
    .btn-submit       { font-size: .9rem; padding: 14px 24px; }

    /* ── Wave separators ──────────────────── */
    .wave-sep svg     { height: 28px; }

    /* ── Footer ───────────────────────────── */
    .footer-main      { padding: 48px 0 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
