/* --------------------------------------------------
   ADRIA TRADE
   Osnovni stil
-------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #062f4f;
    --navy-dark: #04263f;
    --blue-grey: #eef3f6;
    --text: #162b3a;
    --muted: #687985;
    --white: #ffffff;
    --line: #d7e0e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    background: var(--white);
    border-bottom: 1px solid #e7ecef;
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 5px;
    letter-spacing: 0.04em;
}

.logo-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a {
    padding: 33px 0 29px;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.main-nav .nav-client {
    padding: 11px 17px;
    border: 1px solid var(--navy);
}

.main-nav .nav-client:hover {
    background: var(--navy);
    color: var(--white);
}


/* HERO */

.hero {
    min-height: 570px;

    background:
        linear-gradient(
            90deg,
            rgba(239, 247, 251, 0.93) 0%,
            rgba(239, 247, 251, 0.84) 25%,
            rgba(239, 247, 251, 0.55) 43%,
            rgba(239, 247, 251, 0.12) 62%,
            rgba(239, 247, 251, 0.00) 78%
        ),
        url("../images/hero-adria.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}


.hero-content {
    padding-top: 65px;
    padding-bottom: 70px;
}

.eyebrow,
.small-label {
    color: #667f8f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.hero .eyebrow {
    color: #607f93;
    font-size: 12px;
    letter-spacing: 0.32em;
    margin-bottom: 25px;
}

.hero h1 {
    max-width: 650px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 4.7vw, 66px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.hero-text {
    max-width: 500px;
    margin-top: 28px;
    color: #496576;
    font-size: 17px;
    line-height: 1.65;
}

.text-link,
.dark-link {
    display: inline-block;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 700;
}

.text-link span,
.dark-link span,
.service-card a span {
    margin-left: 7px;
}

.text-link:hover,
.dark-link:hover {
    text-decoration: underline;
}

.hero .text-link {
    margin-top: 38px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--navy);
    color: var(--navy-dark);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .text-link:hover {
    text-decoration: none;
    opacity: 0.7;
}


/* TAMNOPLAVI BLOK */

.services-overview {
    background: var(--navy);
    color: var(--white);
    padding: 55px 0 75px;
}

.section-intro {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}

.section-intro span {
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
}

.section-intro p {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    color: #d8e3e9;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 65px;
}

.card-number {
    font-size: 11px;
    color: #91a9b8;
    margin-bottom: 15px;
}

.service-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 17px;
}

.service-card > p:not(.card-number) {
    color: #d1dde4;
    font-size: 14px;
    min-height: 70px;
}

.service-card a {
    display: inline-block;
    margin-top: 24px;
    font-size: 12px;
    font-weight: 700;
}

.service-card a:hover {
    text-decoration: underline;
}


/* O NAMA */

.about-preview {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.about-label p {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.about-content {
    max-width: 720px;
}

.about-content h2 {
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 25px;
}

.about-content > p {
    max-width: 620px;
    color: #526976;
    font-size: 17px;
}


/* OBAVIJESTI */

.news-preview {
    background: #f4f7f8;
    padding: 90px 0 100px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}

.news-header h2 {
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 43px;
    font-weight: 400;
}

.news-header .dark-link {
    margin-top: 0;
}

.news-list {
    border-top: 1px solid var(--line);
}

.news-item {
    display: grid;
    grid-template-columns: 140px 1.1fr 1.5fr auto;
    gap: 30px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.news-item time {
    color: var(--muted);
    font-size: 12px;
}

.news-item h3 {
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
}

.news-item p {
    color: #617480;
    font-size: 13px;
}

.news-item a {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

.news-item a:hover {
    text-decoration: underline;
}


/* FOOTER */

.site-footer {
    background: var(--navy-dark);
    color: #d9e3e9;
    padding: 42px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand strong {
    color: var(--white);
    letter-spacing: 0.08em;
}

.footer-brand p,
.footer-contact p {
    margin-top: 7px;
    font-size: 12px;
    color: #9db0bb;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .header-inner {
        min-height: auto;
        padding: 22px 0;
        align-items: flex-start;
        gap: 25px;
    }

    .main-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .main-nav a {
        padding: 5px 0;
        border-bottom-width: 2px;
    }

    .main-nav .nav-client {
        padding: 7px 10px;
    }

    .hero {
        min-height: 470px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-card > p:not(.card-number) {
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-item {
        grid-template-columns: 110px 1fr;
    }

    .news-item p,
    .news-item a {
        grid-column: 2;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .header-inner {
        display: block;
    }

    .main-nav {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section-intro {
        grid-template-columns: 1fr;
    }

    .section-intro span {
        display: none;
    }

    .about-preview {
        padding: 70px 0;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .news-preview {
        padding: 65px 0;
    }

    .news-header {
        display: block;
    }

    .news-header .dark-link {
        margin-top: 15px;
    }

    .news-item {
        display: block;
    }

    .news-item time,
    .news-item h3,
    .news-item p,
    .news-item a {
        display: block;
        margin-bottom: 12px;
    }

    .footer-inner {
        display: block;
    }

    .footer-contact {
        margin-top: 25px;
    }
}


/* --------------------------------------------------
   UNUTARNJE STRANICE
-------------------------------------------------- */

.page-hero {
    background: #eef4f7;
    padding: 75px 0 70px;
    border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
    margin-bottom: 18px;
}

.page-hero h1 {
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 400;
}

.page-hero > .container > p:last-child {
    margin-top: 18px;
    color: #5c7180;
    font-size: 16px;
}


/* ARHIVA OBAVIJESTI */

.news-archive {
    padding: 30px 0 100px;
}

.archive-news-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 45px;

    padding: 38px 0 42px;
    border-bottom: 1px solid var(--line);
}

.archive-news-item p {
    text-align: justify;
}

.news-item p {
    text-align: justify;
}

.archive-news-item time {
    color: var(--muted);
    font-size: 12px;
    padding-top: 7px;
}

.archive-news-item h2 {
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 400;
}

.archive-news-item p {
    max-width: 820px;
    margin-top: 14px;
    color: #526976;
    font-size: 15px;
    line-height: 1.75;
}


@media (max-width: 600px) {

    .page-hero {
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .archive-news-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 30px 0;
    }

    .archive-news-item time {
        padding-top: 0;
    }

}

/* --------------------------------------------------
   O NAMA
-------------------------------------------------- */

.about-page-section {
    padding: 90px 0 95px;
    background: var(--white);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: start;
}

.about-page-title h2 {
    margin-top: 20px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.about-page-text {
    padding-top: 28px;
}

.about-page-text p {
    max-width: 650px;
    margin-bottom: 22px;
    color: #526976;
    font-size: 16px;
    line-height: 1.8;
}


/* REGULATORNI STATUS */

.regulatory-section {
    padding: 85px 0 90px;
    background: var(--navy-dark);
}

.regulatory-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: start;
}

.regulatory-section .small-label {
    color: #8eafc3;
}

.regulatory-section h2 {
    margin-top: 20px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.regulatory-content {
    padding-top: 28px;
}

.regulatory-content p {
    max-width: 680px;
    margin-bottom: 20px;
    color: #d3e0e7;
    font-size: 15px;
    line-height: 1.8;
}

.regulatory-content .text-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid #8eafc3;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.regulatory-content .text-link:hover {
    text-decoration: none;
    opacity: 0.75;
}


/* O NAMA - CTA */

.about-cta {
    padding: 65px 0;
    background: #eef4f7;
}

.about-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about-cta h2 {
    margin-top: 12px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 400;
}

.about-cta-link {
    flex-shrink: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--navy);
    color: var(--navy-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-cta-link:hover {
    text-decoration: none;
    opacity: 0.7;
}


/* O NAMA - MOBITEL */

@media (max-width: 800px) {

    .about-page-section {
        padding: 65px 0 70px;
    }

    .about-page-grid,
    .regulatory-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-page-title h2 {
        font-size: 34px;
    }

    .about-page-text,
    .regulatory-content {
        padding-top: 0;
    }

    .regulatory-section {
        padding: 65px 0 70px;
    }

    .regulatory-section h2 {
        font-size: 32px;
    }

    .about-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .about-cta h2 {
        font-size: 27px;
    }
}

/* --------------------------------------------------
   USLUGE
-------------------------------------------------- */

.services-intro {
    padding: 90px 0 95px;
    background: var(--white);
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: start;
}

.services-intro h2 {
    margin-top: 20px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.services-intro-text {
    padding-top: 28px;
}

.services-intro-text p {
    max-width: 650px;
    margin-bottom: 22px;
    color: #526976;
    font-size: 16px;
    line-height: 1.8;
}


/* POPIS USLUGA */

.services-list {
    background: var(--navy-dark);
    padding: 15px 0;
}

.service-row {
    display: grid;
    grid-template-columns: 80px 0.85fr 1.15fr;
    gap: 45px;
    align-items: start;

    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.service-row:last-child {
    border-bottom: none;
}

.service-number {
    padding-top: 7px;
    color: #8eafc3;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.service-row-title h2 {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 400;
}

.service-row-text p {
    max-width: 620px;
    color: #d3e0e7;
    font-size: 15px;
    line-height: 1.8;
}


/* USLUGE - MOBITEL */

@media (max-width: 800px) {

    .services-intro {
        padding: 65px 0 70px;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-intro h2 {
        font-size: 34px;
    }

    .services-intro-text {
        padding-top: 0;
    }

    .service-row {
        grid-template-columns: 45px 1fr;
        gap: 20px;
        padding: 38px 0;
    }

    .service-row-text {
        grid-column: 2;
    }

    .service-row-title h2 {
        font-size: 24px;
    }
}

/* --------------------------------------------------
   POSTANITE KLIJENT
-------------------------------------------------- */

.client-form-section {
    padding: 90px 0 100px;
    background: var(--white);
}

.client-form-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 120px;
    align-items: start;
}


/* LIJEVA STRANA */

.client-form-intro h2 {
    margin-top: 20px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.client-form-intro > p:not(.small-label) {
    max-width: 430px;
    margin-top: 25px;
    color: #526976;
    font-size: 15px;
    line-height: 1.75;
}


/* FORMA */

.client-form-wrapper {
    max-width: 620px;
}

.form-field {
    margin-bottom: 32px;
}

.form-field label {
    display: block;
    margin-bottom: 10px;
    color: var(--navy-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-field label span {
    color: #6c8798;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 54px;
    padding: 0 16px;

    border: 1px solid #c8d4db;
    border-radius: 0;

    background: var(--white);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;

    outline: none;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--navy);
}

.form-field input::placeholder {
    color: #9aa9b2;
}


/* GUMB */

.form-submit {
    min-width: 185px;
    padding: 16px 22px;

    border: 1px solid var(--navy-dark);
    background: var(--navy-dark);
    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    cursor: pointer;
}

.form-submit span {
    margin-left: 12px;
}

.form-submit:hover {
    background: transparent;
    color: var(--navy-dark);
}


/* NAPOMENA */

.form-note {
    max-width: 590px;
    margin-top: 28px;

    color: #7a8c97;
    font-size: 12px;
    line-height: 1.65;
}


/* POSTANITE KLIJENT - MOBITEL */

@media (max-width: 800px) {

    .client-form-section {
        padding: 65px 0 75px;
    }

    .client-form-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .client-form-intro h2 {
        font-size: 34px;
    }

    .client-form-wrapper {
        max-width: none;
    }
}

/* Spam zaštita - skriveno polje za botove */

.website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* PORUKA NAKON SLANJA OBRASCA */

.form-message {
    display: none;
}

.form-message.success,
.form-message.error {
    display: block;
    margin-bottom: 32px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.form-message.success {
    background: #eef4f1;
    border-left: 3px solid var(--navy);
    color: var(--navy-dark);
}

.form-message.error {
    background: #f7f1f1;
    border-left: 3px solid #8a3d3d;
    color: #6d3030;
}

/* =========================================================
   POLITIKA PRIVATNOSTI
   ========================================================= */

.privacy-section {
    padding: 85px 0 100px;
    background: var(--white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--navy-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 400;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.privacy-content strong {
    color: var(--navy-dark);
}

.privacy-content a {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid rgba(6, 47, 79, 0.35);
    transition: border-color 0.2s ease;
}

.privacy-content a:hover {
    border-color: var(--navy);
}

.privacy-updated {
    margin-top: 65px !important;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: var(--muted) !important;
    font-size: 13px !important;
}


/* PRIVATNOST - MOBITEL */

@media (max-width: 800px) {

    .privacy-section {
        padding: 55px 0 70px;
    }

    .privacy-content h2 {
        margin-top: 38px;
        font-size: 24px;
    }

    .privacy-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .privacy-updated {
        margin-top: 50px !important;
    }
}

/* =========================================================
   PRIVATNOST - KONTAKTNI OBRAZAC
   ========================================================= */

.form-privacy {
    margin: 24px 0 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.form-privacy p {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.form-privacy a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(6, 47, 79, 0.35);
}

.form-privacy a:hover {
    border-bottom-color: var(--navy);
}

/* Footer - politika privatnosti */

.footer-privacy {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 13px;
    text-decoration: none;
    opacity: 0.85;
}

.footer-privacy:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================================================
   MOBILNA NAVIGACIJA
   ========================================================= */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 800px) {

    .header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding: 12px 0 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 9px 0;
    }

    .main-nav .nav-client {
        width: auto;
        margin-top: 6px;
        padding: 11px 16px;
    }

    /* Hamburger -> X */

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.news-external-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.news-external-link:hover {
    text-decoration: underline;
}

/* Mobilno poravnanje teksta obavijesti */
@media (max-width: 800px) {
    .news-item p,
    .archive-news-item p {
        text-align: left;
    }
}