﻿:root {
    --veka-blue: #0069B4;
    --veka-dark: #003F6B;
    --veka-light: #E9F4FF;
    --white: #ffffff;
    --text-dark: #1a1a1a;

    --light-blue-glass: rgba(200, 230, 255, 0.45);
    --light-blue-glass-hover: rgba(200, 230, 255, 0.75);
}

/* GLOBAL */
* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    padding-top: 82px;
    font-family: "Manrope", sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    color: var(--text-dark);
}

h1, h2, h3, h4 {
    font-family: "Sora", sans-serif;
    margin: 0;
}

/* ✅ LUXURY VEKA DARK PREMIUM HEADER */
.header {
	border-bottom: 1px solid rgba(255,255,255,0.25);
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 40px;

    /* ✅ VEKA dark–to–blue linear gradient */
    background: linear-gradient(90deg, #004170 0%, #0069B4 100%);

    /* ✅ optional soft shadow (možeš ostaviti ili obrisati) */
    box-shadow: 0 4px 25px rgba(0, 65, 112, 0.35);

    display: flex;
    align-items: center;
    z-index: 999;
}

/* NAV TOP */
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo a {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 26px;
    margin: 10px 0 0 0;
    padding: 0;
	width: 100%;          /* DODAJ OVO */
}

.menu a {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: 0.25s;
}

/* underline hover */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: var(--veka-light);
    border-radius: 5px;
    transition: width 0.25s ease;
}

.menu a:hover::after {
    width: 100%;
}

.menu a:hover {
    color: var(--veka-light);
    transform: translateY(-2px);
}

/* DROPDOWN */
.menu > li {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);

    opacity: 0;
    pointer-events: none;     /* ✅ ispravka */
    transition: opacity 0.25s ease;

    list-style: none;         /* ✅ nema tačkica */
    padding-left: 0;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: auto;     /* ✅ ispravka */
}

.dropdown li {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    list-style: none;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    display: block;
    padding: 12px 22px;
    color: var(--veka-dark);

    /* ✅ samo glatki hover, bez pomjeranja */
    transition: background 0.25s ease, color 0.25s ease;
}

.dropdown a:hover {
    background: var(--veka-light);

    /* ✅ uklonjeno padding-left */
    /* ✅ uklonjeno transform */
    
    color: var(--veka-blue);
}
/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 28px;
    color: var(--white);
    cursor: pointer;
    margin-left: 12px; /* ✅ razmak od logo-a */
}

/* MOBILE 
@media (max-width: 768px) {

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--veka-blue);
        margin-top: 10px;
    }

    .menu.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
*/
/* HERO */
.hero {
    height: 60vh;
    background: url('../img/naslovna.jpeg') center/cover no-repeat;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

/* PRODUCTS */
.products {
    text-align: center;
    padding: 60px 20px;
}

.products h2 {
    font-size: 34px;
    color: var(--veka-blue);
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: var(--light-blue-glass); /* ✅ plavkasta */
    padding: 30px 25px;
    border-radius: 16px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 0 18px rgba(0,168,255,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;

    height: 100%;                 /* ✅ iste visine */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px) scale(1.05);
    background: var(--light-blue-glass-hover);
    box-shadow: 0 0 35px rgba(0,168,255,0.45);
}

.card:active {
    transform: scale(0.97);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 25px;
    background: var(--veka-light);
    color: var(--veka-dark);
    font-weight: 600;
}

/* ✅ LIGHTBOX - CENTRIRAN, PUNA VELIČINA */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: none;              /* ✅ skriven dok se ne klikne */
    justify-content: center;    /* ✅ centriraj horizontalno */
    align-items: center;        /* ✅ centriraj vertikalno */
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;             /* ✅ da stane na ekran */
    max-height: 90%;
    border-radius: 12px;        /* ✅ da izgleda premium */
    object-fit: contain;        /* ✅ ne izobličava sliku */
}
.kontakt-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;  /* ✅ dvije jednake kolone */
    gap: 40px;
}

.kontakt-left, .kontakt-right {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ✅ da na mobitelu bude jedan stupac */
@media (max-width: 768px) {
    .kontakt-wrapper {
        grid-template-columns: 1fr;
    }
}

.kontakt-left h2 {
    text-align: center;
}

.kontakt-left p {
    text-align: left;
}



.product-text h2 {
    color: var(--veka-blue);
    font-size: 32px;
    margin-bottom: 20px;
}

.product-text p {
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
}

/* ✅ Modern VEKA table */
.tech-table {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.tech-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
}

.tech-table th {
    background: var(--veka-blue);
    color: white;
    padding: 14px;
    font-size: 19px;
    text-align: left;
}

.tech-table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tech-table tr:nth-child(even) td {
    background: rgba(233, 244, 255, 0.55);
}



.product-text p {
    text-align: justify;
    margin-bottom: 18px;
}
/* ✅ Grid za 4 slike – 2 kolone */
.product-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: 0.2s ease;
}

.product-image-grid img:hover {
    transform: scale(1.04);
    transition: 0.2s ease;
}



.product-image img:hover,
.product-image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    transition: 0.25s ease;
}
.products p {
    text-align: justify;
}
/* Grid za vrste PVC prozora */
.window-types-grid {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

/* Stil za pojedinačne prozore */
.window-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

.window-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.window-item h4 {
    margin-top: 12px;
    font-size: 18px;
    color: var(--veka-blue);
}
/* Naslov iznad slike */
.window-item h4 {
    font-size: 22px;                  /* ista veličina kao H2 u karticama */
    color: var(--veka-blue);          /* VEKA plava */
    margin-bottom: 12px;              /* razmak prije slike */
    text-align: center;
    font-weight: 600;
}

/* Slike */
.window-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

.window-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
/* ✅ Premium layout za PVC uvodni tekst + slika desno */
.pvc-intro-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    align-items: center;       /* ✅ centrirana slika po visini */
    padding: 0 20px;
}

/* Lijeva strana (tekst) */
.pvc-intro-text {
    flex: 1;
    text-align: justify;
}

/* Desna strana (slika) */
.pvc-intro-image img {
    width: 100%;
    max-width: 420px;          /* ✅ veličina slike, možeš mijenjati */
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
    object-fit: cover;
}
    
/* ✅ Za mobile prikaz — slika ide ispod teksta */
@media (max-width: 820px) {
    .pvc-intro-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .pvc-intro-image img {
        margin-top: 20px;
        max-width: 100%;
    }
}
.pvc-intro-text h2 {
    color: var(--veka-blue);
}

/* ✅ PVC PROZORI – da bude isti kao svi H2 naslovi */
/* ✅ PVC PROZORI – da bude isti kao svi H2 naslovi */
.pvc-intro-text h2 {
    font-size: 34px;
    color: var(--veka-blue);
    font-family: "Sora", sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-transform: none;
}

/* ✅ Globalno – ako želiš da nigdje nema forced uppercase */
h1, h2, h3, h4, h5, h6 {
    text-transform: none;
}
/* ✅ FINALNI PREMIUM VEKA GLASS DESIGN — KONTAKT FORMA */
.contact-form-section {
    max-width: 900px;
    margin: 50px auto;
}

.contact-form {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* ✅ Inputi i textarea — moderni glass efekat */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;

    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(0,105,180,0.35);
    border-radius: 14px;

    font-size: 17px;
    outline: none;

    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: all 0.25s ease;
}

/* ✅ Hover / fokus na input polju */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--veka-blue);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 0 12px rgba(0,105,180,0.45);
}

/* ✅ Dugme za slanje */
.form-btn {
    background: var(--veka-blue);
    color: white;
    border: none;
    padding: 16px 22px;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: 0.25s ease;
}

.form-btn:hover {
    background: var(--veka-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
/* ✅ PREMIUM GLASS FORM */
.premium-form {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(14px);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.15);
}

/* ✅ Floating group */
.input-group {
    position: relative;
    margin-bottom: 28px;
}

/* ✅ Polje */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 18px 14px 45px; /* prostor lijevo za ikonu */
    border-radius: 14px;
    border: 1px solid rgba(0,105,180,0.35);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    outline: none;
    font-size: 17px;
    transition: 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}


/* ✅ Label (floating) */
.input-group label {
    position: absolute;
    left: 45px;
    top: 14px;
    font-size: 15px;
    color: #555;
    transition: 0.25s ease;
    pointer-events: none;
}

/* ✅ Kada je fokus */
.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--veka-blue);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 0 12px rgba(0,105,180,0.45);
}

/* ✅ Kada korisnik počne pisati → label lebdi */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 40px;
    font-size: 13px;
    background: rgba(255,255,255,0.8);
    padding: 0 6px;
    border-radius: 6px;
    color: var(--veka-blue);
}

.textarea-group textarea {
    height: 130px;
}

/* ✅ Dugme */
.form-btn {
    background: var(--veka-blue);
    color: white;
    padding: 16px;
    border-radius: 14px;
    width: 100%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 600;
}

.form-btn:hover {
    background: var(--veka-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}
/* ✅ Poravnanje input polja ispod naslova "Pošaljite nam poruku" */
.contact-form {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 0 !important;
}

/* Svako polje kreće iz istog horizontalnog mjesta */
.input-group {
    margin-left: 0 !important;
}

/* ✅ Poravnanje input polja ispod naslova "Pošaljite nam poruku" */
.contact-form {
    max-width: 900px;
    margin: 0 auto;          /* centriranje forme */
    padding: 0 !important;   /* uklanja unutrašnji razmak koji gura formu udesno */
}

/* ✅ Svako polje kreće iz iste linije kao naslov */
.input-group {
    margin-left: 0 !important;
}

.input-group input,
.input-group textarea {
    margin-left: 0 !important;
    }
	/* ✅ STABILAN LAYOUT: TEKST 65% / SLIKE 35% */




/* ✅ ograničenje ULTRAWIDE screenshotova */
.product-image.tech img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}



.mission-title {
    text-align: center;
    color: var(--veka-blue);
    margin-top: 0;
}


/* Uvodne product slike — layout u modern.css (aspect-ratio frame) */
.hero-image {
    min-height: 0;
}
.hero-image img {
    min-height: 0;
}

/* =================================================
   PVC VRATA – SISTEMI (ČIST GRID, 3 KOLONE)
   ================================================= */

.door-products .door-systems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Jedan sistem = jedna kolona */
.door-products .door-system-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Bijelkasti okvir – SAMO TEKST */
.door-products .door-system {
    background: rgba(255,255,255,0.65);
    padding: 26px 22px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Slike presjeka ISPOD kartice */
.door-products .door-system-image {
    width: 100%;
    max-width: 350px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door-products .door-system-image:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

/* Mobile */
@media (max-width: 900px) {
    .door-products .door-systems {
        grid-template-columns: 1fr;
    }
}
/* ✅ Plava boja za nazive PVC sistema */
.door-system h3 {
    color: var(--veka-blue);
}
/* ===============================
   ✅ FOOTER – OSNOVNE INFORMACIJE
   =============================== */

.footer-info {
    background: var(--veka-light);
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.footer-block h4 {
    color: var(--veka-blue);
    font-family: "Sora", sans-serif;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-block p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--veka-dark);
}

.footer-block a {
    color: var(--veka-blue);
    font-weight: 600;
    text-decoration: none;
}

.footer-block a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: var(--veka-dark);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
}
/* Hero product frames — handled in modern.css */
.product-image.hero-image {
    min-height: 0;
    align-self: start;
}
.product-image.hero-image img {
    min-height: 0;
    max-height: none;
}



.product-flex .product-image {
    display: block;
}

.product-flex .product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

/* ✅ RESPONSIVE — OSTANE */
@media (max-width: 880px) {
    .product-flex {
        grid-template-columns: 1fr;
    }
}
.product-flex {
    max-width: 1120px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 40px;
    align-items: start;
}
.product-text strong {
    color: var(--veka-blue);
}
.menu .cta a {
    background: #f4f7fb;
    color: #0f2a44;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #dce5f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.menu .cta a:hover {
    background: #e9eff7;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}.menu .cta a {
    background: #FFA500;
    color: #0f2a44;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #dce5f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.menu .cta a:hover {
	letter-spacing: 0.2px;
    background: #e9eff7;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}
.menu .cta {
    margin-left: auto;    /* GURA ELEMENT SKROZ DESNO */
}
.menu .cta {
    margin-left: auto;
}
.cta-link {
  text-decoration: none;
  color: inherit;
}

.cta-link h2 {
  background-color: #FFA500;
  color: #ffffff;
  padding: 20px 30px;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-link h2:hover {
  background-color: #b58b2a;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
    cursor: pointer;
}
.product-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-text {
    flex: 1;
}

.product-image {
    flex: 1;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .product-row,
    .product-row.reverse {
        flex-direction: column;
    }
}
.glass-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
/* =========================
   MISSION / GLASS SECTION
========================= */

.mission-section {
    margin: 80px 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari */
    
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;

    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mission-title {
    color: var(--veka-blue);
    margin-top: 0;
    margin-bottom: 15px;
    font-family: "Sora", sans-serif;
}

.mission-text {
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
    font-family: "Manrope", sans-serif;
    color: #222;
}

/* ✅ Mobile prilagodba */
@media (max-width: 768px) {
    .glass-card {
        padding: 22px;
    }

    .mission-text {
        font-size: 16px;
    }
}
/* =========================
   4 IMAGE GRID (2x2)
========================= */

.image-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


.about-block {
   
   
    padding: 20px 0px;
}



.about-text {
    flex: 1;
}

.about-images {
    flex: 1;
}
/* =========================
   IMAGE STACK
========================= */

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-stack img {
    width: 100%;
    height: auto;
}

/* =========================
   4 IMAGE GRID (2x2)
========================= */

.image-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.image-grid-4 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .image-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ABOUT BLOCKS
========================= */

/* Tipografija – ujednačeno */
.about-text p,
.product-text p {
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   ABOUT INNER CONTAINER
========================= */

.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;

    max-width: 1200px;    /* širina kao PVC prozori */
    margin: 0 auto;       /* centriranje */
    padding: 0 24px;      /* bočni razmak */
}
 
.about-text {
    max-width: 55%;
}
/* Donji intro tekst – cijela širina */
.pvc-door-intro .intro-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
}

/* Paragrafi */
.pvc-door-intro .intro-bottom p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

/* Razmak između dva donja paragrafa */
.pvc-door-intro .intro-bottom p + p {
    margin-top: 16px;
}

/* Horizontalne linije */
.pvc-door-intro .intro-bottom {
    position: relative;
    padding-top: 24px;
}


/* PVC vrata intro – prekid product-flex ponašanja */
.pvc-door-intro {
    display: block;
}
.pvc-door-intro .intro-top {
    display: flex;
    gap: 30px;
}

.pvc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;         /* ✅ centrira cijeli grid */
}


/* ✅ PVC PROZORI – UVOD: razdvoji slike (bez zajedničkog boxa) */
.pvc-intro-wrapper .pvc-intro-image {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transform: none;
}

.pvc-intro-wrapper .pvc-intro-image:hover {
    transform: none;
    box-shadow: none;
}

/* ✅ svaka slika ima SVOJ box */
.pvc-intro-wrapper .pvc-intro-image img {
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}




@media (max-width: 600px) {
  .gal-item {
    aspect-ratio: 1 / 1;   /* ✅ kvadrat */
  }

  .gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* ✅ nema izduživanja */
  }
  

}
.hover-raise {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-raise:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }
#lightbox {
    display: none;
}
@media (max-width: 1024px) {
  .pvc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pvc-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  
  height: 100%;               /* ✅ iste visine */
  display: flex;
  flex-direction: column;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.card-link * {
  color: inherit;
}

.card:hover,
.card-link:hover {
    transform: translateY(-6px);
    background: var(--light-blue-glass-hover);
    box-shadow: 0 0 35px rgba(0,168,255,0.45);
}
/* ✅ GRID ZA 4 BENEFIT KARTICE */
.pvc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;   /* ✅ OVO IH CENTRIRA */
}
@media (max-width: 1024px) {
  .pvc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pvc-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
/* ✅ ROTO OKOV – container BEZ boxa i BEZ hovera */
.product-flex .product-image {
    position: static;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}
/* ✅ ROTO OKOV – SLIKE JEDNA ISPOD DRUGE */
.product-flex .product-image {
    display: flex;
    flex-direction: column;
    gap: 28px; /* razmak između slika */
}

/* Product images — sizing in modern.css */
.product-flex .product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

/* ✅ Hover SAMO NA TOJ SLICI */
.product-flex .product-image img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
/* =========================================
   ✅ ROTO OKOV – ISPRAVKA HOVER LOGIKE
   ========================================= */

/* 1️⃣ UGASI wrapper hover (ključno) */
.product-flex .product-image:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 2️⃣ UGASI globalni hover nad imgs */
.product-flex .product-image:hover img {
    transform: none !important;
}

.product-flex .product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ✅ JEDINA hover animacija */
.product-flex .product-image img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

/* 4️⃣ Raspored – slike jedna ispod druge */
.product-flex .product-image {
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow: visible !important;
    border-radius: 0;
}
/* =========================================
   ✅ SIGURNOSNA BRAVA – KONTROLISANI ODSKOK
   ========================================= */

/* GRID ostaje miran */
.product-image-grid {
    gap: 20px;
    transform: none !important;
}

/* OSNOVNI IZGLED SLIKA */
.product-image-grid img {
    width: 100%;
    height: 220px;                /* ✅ manja visina – tehnički detalji */
    object-fit: cover;

    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);

    transition:
        transform 0.26s cubic-bezier(.34,1.56,.64,1),
        box-shadow 0.26s ease;
}

/* ✅ ODSKOK – SAMO NA TU SLIKU */
.product-image-grid img:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 36px rgba(0,0,0,0.32);
}

/* 🚫 ZABRANA WRAPPER HOVERA */
.product-image-grid:hover,
.product-image-grid:hover img {
    transform: none !important;
}
/* =========================================
   ✅ SIGURNOSNA BRAVA – UKLANJANJE ZAJEDNIČKOG BOXA
   ========================================= */

/* GRID – BEZ KARTICE I BEZ HOVERA */
.product-image-grid {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;

    transform: none !important;
}

/* Onemogući wrapper hover efekat */
.product-image-grid:hover {
    transform: none !important;
    box-shadow: none !important;
}
/* ✅ PVC INTRO – bez odskakanja */
.pvc-intro-image:hover {
    transform: none !important;
    box-shadow: none !important;
}
.hero {
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    text-align: center;
    z-index: 2;
    max-width: 700px;
}

.hero-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #FFA500;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}
/* =========================
   HEADER + NAVIGATION
========================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  background: linear-gradient(90deg, #004170 0%, #0069B4 100%);
  box-shadow: 0 4px 25px rgba(0, 65, 112, 0.35);
  z-index: 999;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 10px 0 0 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== DESKTOP DROPDOWN ===== */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  padding: 10px 0;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  display: none;
  z-index: 1000;
}

.menu > li:hover > .dropdown {
  display: block;
}

.dropdown li {
  list-style: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown a {
  display: block;
  padding: 12px 22px;
  color: #003F6B;
}

.dropdown a:hover {
  background: #E9F4FF;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   MOBILE MENU (FINAL)
========================= */

/* Mobile menu styles live in modern.css (max-width: 980px) */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}
/* =========================
   GALERIJA – JEDINI IZVOR ISTINE
========================= */

.galerija-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gal-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TABLET */
@media (max-width: 1024px) {
    .galerija-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBITEL */
@media (max-width: 600px) {
    .galerija-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gal-item {
        aspect-ratio: 1 / 1;
    }
}
/* =========================
   MOBILE: TEKST + SLIKA
========================= */

@media (max-width: 768px) {

  .product-flex {
    display: flex;
    flex-direction: column;   /* ✅ jedan ispod drugog */
    gap: 24px;                /* ✅ više zraka */
  }

  .product-text {
    text-align: left;         /* ✅ čitljivije na mobitelu */
  }

  .product-image {
    width: 100%;
  }

  .product-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
}
/* =========================
   MOBILE – PVC VRATA UVOD
========================= */
@media (max-width: 768px) {

  .pvc-door-intro .intro-top {
    display: flex;
    flex-direction: column;   /* ✅ slika IDE ISPOD ili IZNAD */
    gap: 24px;
  }

  .pvc-door-intro .product-text {
    text-align: left;
  }
}
/* =========================
   MOBILE – O NAMA BLOKOVI
========================= */
@media (max-width: 768px) {

  .about-inner {
    flex-direction: column;   /* ✅ sve ide vertikalno */
    gap: 28px;
  }

  .about-text {
    max-width: 100%;
    text-align: left;
  }

  .about-images {
    width: 100%;
  }
}

/* =====================================
   UNIFORMNI TEKSTUALNI KONTEJNER
   (samo za prose sadržaj)
===================================== */

.text-wrap {
  max-width: 900px;          /* kao lijepi PVC uvodi */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;

  text-align: justify;       /* ✅ poravnanje kao Word */
  line-height: 1.75;
}

/* Mobile – malo više zraka */
@media (max-width: 768px) {
  .text-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
}
/* ===================================
   FIX: text-wrap u layout sekcijama
   (ne dira poravnanje teksta, 
    samo vraća pravilan raspored)
=================================== */

/* Kada je text-wrap u flex layoutu */
.product-text .text-wrap,
.about-text .text-wrap {
  max-width: 100%;        /* ✅ puni širinu kolone */
  margin-left: 0;         /* ✅ ne centriraj u koloni */
  margin-right: 0;
}
/* =====================================
   FIX: ABOUT sekcije – ispravan layout
===================================== */

.about-inner .about-text {
    max-width: none;   /* ✅ makni limit 55% */
    flex: 1;           /* ✅ ista logika kao product-text */
}
/* =====================================
   DESKTOP RESET – O NAMA BLOKOVI
   (OVO VRAĆA TEXT / IMAGE SIDE-BY-SIDE)
===================================== */

@media (min-width: 769px) {

  .about-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  

}


/* =========================
   O NAMA – DESKTOP
========================= */

.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-text,
.about-images {
    flex: 1;
}

/* reverse vrijedi SAMO na desktopu */
@media (min-width: 769px) {
    .about-block.reverse .about-inner {
        flex-direction: row-reverse;
    }
}
/* =========================
   O NAMA – MOBILE
========================= */

@media (max-width: 768px) {

    .about-inner {
        flex-direction: column;
        gap: 28px;
    }

    .about-text {
        max-width: 100%;
        text-align: left;
    }

    .about-images {
        width: 100%;
    }
}
/* =========================
   CTA – RESET I STABILIZACIJA
========================= */

.cta-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
}

.cta-main h2 {
    background-color: #FFA500;
    color: #ffffff;
    padding: 26px 36px;
    border-radius: 14px;
    display: inline-block;
}
/* =========================
   CTA PARTNER LOGOI – UNIFORMNO
   (isto na svim stranicama)
========================= */

.cta-partners img {
    height: 36px;              /* ⬅ manji, kao na ostalim stranicama */
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.cta-partners a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* MOBILE – još mrvicu manje */
@media (max-width: 768px) {
    .cta-partners img {
        height: 32px;
    }
}
/* =========================
   CTA PARTNER LOGOI – MOBILE
========================= */
@media (max-width: 768px) {
    .cta-partners {
        flex-direction: column;
        gap: 20px;
    }
}
/* =========================
   O NAMA – IMAGE CARD STYLE
   (isti efekat kao ostale slike)
========================= */

.about-images {
    border-radius: 16px;
    overflow: hidden;
}

.about-images img {
    border-radius: 16px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-images:hover img {
    transform: scale(1.04);
}
    /* =========================
   CTA PARTNERI – MOBILE LOCK
========================= */
@media (max-width: 768px) {
  .cta-section .cta-partners {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}
/* =========================
   VEKA PROFILI – INLINE
========================= */

.veka-inline {
    margin: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.veka-inline-item strong {
    color: var(--veka-blue);
    font-size: 18px;
}

.veka-inline-item span {
    display: block;
    margin-bottom: 10px;
}

.veka-inline-item img {
    max-width: 260px;
    width: 100%;
    object-fit: contain;
    margin-top: 8px;
}

/* Desktop – malo ljepše poravnanje */
@media (min-width: 769px) {
    .veka-inline-item img {
        max-width: 300px;
    }
}
.pvc-intro-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.veka-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 10px;
    color: #333;
}
@media (max-width: 820px) {

  /* ukloni reverse */
  .pvc-intro-wrapper {
    flex-direction: column;
    text-align: center;
  }

  /* RASTAVI .pvc-intro-text na djecu */
  .pvc-intro-text {
    display: contents;
  }

  /* NASLOV IDE PRVI */
  .pvc-intro-text h2 {
    order: -1;
  }

  /* SLIKE IDU ISPOD NASLOVA */
  .pvc-intro-image {
    order: -1;
  }
}
/* =====================================
   O NAMA – DESKTOP TEKST (RAZMAK)
===================================== */
@media (min-width: 769px) {

  .page-about .about-text p {
    margin-bottom: 28px;   /* razmak između paragrafa */
    line-height: 1.85;     /* razmak između redova */
  }

}