/* =========================
OSNOVNA PODEŠAVANJA
========================= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, sans-serif;
background: #0d0d0d;
color: white;
}


/* =========================
NAVIGACIJA
========================= */

.navbar {
position: fixed;
top: 0;
left: 0;

width: 100%;
height: 90px;

display: flex;
align-items: center;
justify-content: space-between;

padding: 0 6%;

z-index: 10;
}

.logo {
color: white;
text-decoration: none;

font-size: 28px;
font-weight: 600;
letter-spacing: 8px;
}

nav {
display: flex;
gap: 35px;
}

nav a {
color: white;
text-decoration: none;

font-size: 14px;
letter-spacing: 1px;

transition: 0.3s;
}

nav a:hover {
opacity: 0.6;
}


/* =========================
DUGME U NAVIGACIJI
========================= */

.nav-button {
color: white;
text-decoration: none;

border: 1px solid rgba(255, 255, 255, 0.5);

padding: 13px 24px;

font-size: 12px;
letter-spacing: 2px;

transition: 0.3s;
}

.nav-button:hover {
background: white;
color: #111;
}


/* =========================
HERO SEKCIJA
========================= */

.hero {
min-height: 100vh;

display: flex;
align-items: center;
justify-content: center;

text-align: center;

position: relative;
overflow: hidden;

background:
linear-gradient(
rgba(0, 0, 0, 0.45),
rgba(0, 0, 0, 0.7)
),
url("images/bazen-dan.jpeg")
center center / cover no-repeat;
}


/* Tamni sloj */




/* =========================
HERO SADRŽAJ
========================= */

.hero-content {
position: relative;

max-width: 800px;

padding: 20px;
}

.hero-subtitle {
font-size: 13px;

letter-spacing: 5px;

margin-bottom: 25px;

opacity: 0.7;
}

.hero h1 {
font-size: clamp(80px, 15vw, 180px);

font-weight: 300;

letter-spacing: 25px;

margin-right: -25px;

line-height: 1;
}

.hero-text {
font-size: 18px;

margin-top: 30px;
margin-bottom: 40px;

opacity: 0.75;
}


/* =========================
GLAVNO DUGME
========================= */

.hero-button {
display: inline-block;

color: white;
text-decoration: none;

border: 1px solid white;

padding: 17px 35px;

font-size: 12px;

letter-spacing: 3px;

transition: 0.4s;
}

.hero-button:hover {
background: white;
color: #111;
}


/* =========================
MOBILNI TELEFON
========================= */

@media (max-width: 768px) {

.navbar {
height: 75px;
padding: 0 5%;
}

.logo {
font-size: 22px;
letter-spacing: 5px;
}

nav {
display: none;
}

.nav-button {
padding: 10px 15px;
font-size: 10px;
}

.hero h1 {
font-size: 70px;
letter-spacing: 12px;
margin-right: -12px;
}

.hero-subtitle {
font-size: 10px;
letter-spacing: 3px;
}

.hero-text {
font-size: 16px;
}

}
/* =========================
HERO ANIMACIJA
========================= */

.hero-content {
opacity: 0;
transform: translateY(30px);

transition:
opacity 1.2s ease,
transform 1.2s ease;
}

.hero-content.show {
opacity: 1;
transform: translateY(0);
}
/* =========================
O LIBUMU
========================= */

.about {
min-height: 90vh;

display: grid;
grid-template-columns: 1fr 1fr;

align-items: center;

gap: 80px;

padding: 120px 8%;

background: #111;
}

.about-image {
height: 600px;
overflow: hidden;
}

.about-image img {
width: 100%;
height: 100%;

object-fit: cover;

transition: transform 0.8s ease;
}

.about-image:hover img {
transform: scale(1.04);
}

.about-content {
max-width: 550px;
}

.section-label {
font-size: 12px;
letter-spacing: 4px;

opacity: 0.55;

margin-bottom: 25px;
}

.about-content h2 {
font-size: clamp(40px, 5vw, 70px);

font-weight: 300;

line-height: 1.1;

margin-bottom: 35px;
}

.about-content h2 span {
opacity: 0.55;
}

.about-content p {
font-size: 17px;

line-height: 1.8;

opacity: 0.7;

margin-bottom: 20px;
}

.about-button {
display: inline-block;

margin-top: 20px;

color: white;
text-decoration: none;

border-bottom: 1px solid rgba(255,255,255,0.5);

padding-bottom: 8px;

font-size: 12px;

letter-spacing: 3px;

transition: 0.3s;
}

.about-button:hover {
padding-right: 15px;
}


/* =========================
O LIBUMU - MOBILNI
========================= */

@media (max-width: 768px) {

.about {
grid-template-columns: 1fr;

gap: 50px;

padding: 80px 6%;
}

.about-image {
height: 450px;
}

.about-content h2 {
font-size: 42px;
}

.about-content p {
font-size: 16px;
}
}
/* =========================
SADRŽAJI
========================= */

.features {
padding: 130px 8%;
background: #0d0d0d;
}

.features-header {
max-width: 700px;
margin-bottom: 80px;
}

.features-header h2 {
font-size: clamp(45px, 6vw, 80px);
font-weight: 300;
line-height: 1.05;
margin-bottom: 30px;
}

.features-header h2 span {
opacity: 0.5;
}

.features-header > p:last-child {
max-width: 500px;
font-size: 17px;
line-height: 1.8;
opacity: 0.6;
}


/* Mreža kartica */

.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
border-top: 1px solid rgba(255,255,255,0.15);
border-left: 1px solid rgba(255,255,255,0.15);
}


/* Kartica */

.feature-card {
min-height: 280px;

padding: 40px;

border-right: 1px solid rgba(255,255,255,0.15);
border-bottom: 1px solid rgba(255,255,255,0.15);

transition: 0.4s ease;
}

.feature-card:hover {
background: #181818;
transform: translateY(-5px);
}

.feature-number {
font-size: 12px;
letter-spacing: 2px;
opacity: 0.4;

margin-bottom: 70px;
}

.feature-card h3 {
font-size: 28px;
font-weight: 400;

margin-bottom: 15px;
}

.feature-card p {
font-size: 15px;
line-height: 1.7;

opacity: 0.55;

max-width: 300px;
}


/* =========================
SADRŽAJI - MOBILNI
========================= */

@media (max-width: 900px) {

.features-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {

.features {
padding: 90px 6%;
}

.features-header {
margin-bottom: 50px;
}

.features-grid {
grid-template-columns: 1fr;
}

.feature-card {
min-height: 240px;
padding: 30px;
}

.feature-number {
margin-bottom: 50px;
}
}
/* =========================
GALERIJA
========================= */

.gallery {
    padding: 85px 8% 110px;
    background: #111;
}

.gallery-header {
max-width: 650px;
margin-bottom: 50px;
}

.gallery-header h2 {
font-size: clamp(45px, 6vw, 80px);
font-weight: 300;
line-height: 1.05;
margin-bottom: 30px;
}

.gallery-header h2 span {
opacity: 0.5;
}

.gallery-header > p:last-child {
font-size: 17px;
line-height: 1.8;
opacity: 0.6;
max-width: 500px;
}


/* Mreža */

.gallery-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 15px;
}
.gallery-grid::-webkit-scrollbar {
    display: none;
}
/* Slike */

.gallery-item {
    flex: 0 0 420px;
    height: 520px;
}
.gallery-item img {
width: 100%;
height: 100%;

object-fit: cover;

display: block;

transition: transform 0.8s ease;
}

.gallery-item:hover img {
transform: scale(1.06);
}




/* =======================


/* =========================
ANIMACIJE PRI SKROLOVANJU
========================= */

.reveal {
opacity: 0;
transform: translateY(50px);

transition:
opacity 1s ease,
transform 1s ease;
}

.reveal.visible {
opacity: 1;
transform: translateY(0);
}
/* =========================
KONTAKT / REZERVACIJA
========================= */

.contact {
padding: 130px 8%;
background: #0d0d0d;
}

.contact-header {
max-width: 700px;
margin-bottom: 80px;
}

.contact-header h2 {
font-size: clamp(45px, 6vw, 80px);
font-weight: 300;
line-height: 1.05;
margin-bottom: 30px;
}

.contact-header h2 span {
opacity: 0.5;
}

.contact-header > p:last-child {
font-size: 17px;
line-height: 1.8;
opacity: 0.6;
max-width: 500px;
}


/* Kontakt sadržaj */

.contact-wrapper {
display: grid;
grid-template-columns: 0.7fr 1.3fr;
gap: 100px;
}


/* Informacije */

.contact-info {
display: flex;
flex-direction: column;
gap: 45px;
}

.contact-item {
display: flex;
flex-direction: column;
gap: 10px;
}

.contact-item span {
font-size: 10px;
letter-spacing: 3px;
opacity: 0.4;
}

.contact-item a,
.contact-item p {
color: white;
text-decoration: none;
font-size: 18px;
opacity: 0.8;
}

.contact-item a {
transition: 0.3s;
}

.contact-item a:hover {
opacity: 0.5;
}


/* Forma */

.contact-form {
width: 100%;
}

.form-group {
display: flex;
flex-direction: column;
margin-bottom: 30px;
}

.form-group label {
font-size: 11px;
letter-spacing: 2px;
margin-bottom: 12px;
opacity: 0.5;
}

.form-group input,
.form-group textarea {
width: 100%;

background: transparent;

border: none;
border-bottom: 1px solid rgba(255,255,255,0.25);

padding: 14px 0;

color: white;

font-family: inherit;
font-size: 16px;

outline: none;

transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
border-bottom-color: white;
}

.form-group textarea {
resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: white;
opacity: 0.3;
}


/* Dva polja u jednom redu */

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


/* Dugme */

.form-button {
margin-top: 10px;

background: transparent;

color: white;

border: 1px solid rgba(255,255,255,0.6);

padding: 18px 35px;

font-size: 11px;
letter-spacing: 3px;

cursor: pointer;

transition: 0.4s;
}

.form-button:hover {
background: white;
color: #111;
}


/* Mobilni */

@media (max-width: 800px) {

.contact {
padding: 90px 6%;
}

.contact-wrapper {
grid-template-columns: 1fr;
gap: 70px;
}

.form-row {
grid-template-columns: 1fr;
gap: 0;
}
}
/* =========================
FOOTER
========================= */

.footer {
padding: 90px 8% 30px;
background: #080808;
border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-top {
display: flex;
justify-content: space-between;
gap: 80px;

padding-bottom: 80px;
}

.footer-brand {
max-width: 350px;
}

.footer-brand .logo {
display: inline-block;
margin-bottom: 25px;
}

.footer-brand p {
font-size: 15px;
line-height: 1.8;
opacity: 0.45;
}

.footer-links {
display: flex;
gap: 100px;
}

.footer-links > div {
display: flex;
flex-direction: column;
gap: 14px;
}

.footer-links span {
font-size: 10px;
letter-spacing: 3px;
opacity: 0.35;

margin-bottom: 10px;
}

.footer-links a {
color: white;
text-decoration: none;

font-size: 14px;
opacity: 0.6;

transition: 0.3s;
}

.footer-links a:hover {
opacity: 1;
}

.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);

padding-top: 25px;

display: flex;
justify-content: space-between;
align-items: center;
}

.footer-bottom p,
.footer-bottom a {
font-size: 11px;
opacity: 0.35;
}

.footer-bottom a {
color: white;
text-decoration: none;
}


/* Mobilni footer */

@media (max-width: 700px) {

.footer {
padding: 70px 6% 25px;
}

.footer-top {
flex-direction: column;
gap: 60px;
padding-bottom: 60px;
}

.footer-links {
gap: 50px;
}

.footer-bottom {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}
}
/* MOBILNI MENI */

.menu-toggle {
display: none;
width: 35px;
cursor: pointer;
z-index: 1001;
}

.menu-toggle span {
display: block;
height: 2px;
background: white;
margin: 7px 0;
transition: 0.3s ease;
}

@media (max-width: 768px) {

.menu-toggle {
display: block;
}

.navbar nav {
position: absolute;
top: 90px;
left: 0;
width: 100%;
background: rgba(10, 10, 10, 0.97);

display: flex;
flex-direction: column;
align-items: center;

padding: 30px 0;

opacity: 0;
visibility: hidden;
transform: translateY(-20px);

transition: 0.3s ease;
}

.navbar nav.active {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.navbar nav a {
margin: 12px 0;
font-size: 15px;
}

.nav-button {
display: none;
}

}
.form-success {
text-align: center;
padding: 50px 20px;
animation: successAppear 0.8s ease forwards;
}

.success-icon {
width: 70px;
height: 70px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
font-size: 30px;
}

.form-success h3 {
font-size: 32px;
font-weight: 400;
margin-bottom: 15px;
}

.form-success p {
color: #aaa;
line-height: 1.7;
max-width: 450px;
margin: 0 auto 30px;
}

.form-success button {
padding: 14px 25px;
border: 1px solid rgba(255, 255, 255, 0.5);
background: transparent;
color: white;
cursor: pointer;
letter-spacing: 2px;
font-size: 11px;
transition: 0.3s ease;
}

.form-success button:hover {
background: white;
color: #111;
}

@keyframes successAppear {
from {
opacity: 0;
transform: translateY(25px);
}

to {
opacity: 1;
transform: translateY(0);
}
}
/* PREMIUM FEATURE KARTICE */

.feature-card {
position: relative;
overflow: hidden;
cursor: default;
transition:
transform 0.5s ease,
border-color 0.5s ease,
background 0.5s ease;
}

.feature-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.08),
transparent 55%
);
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
}

.feature-card:hover {
transform: translateY(-8px);
border-color: rgba(255, 255, 255, 0.35);
background: #1a1a1a;
}

.feature-card:hover::before {
opacity: 1;
}

.feature-card h3 {
transition:
transform 0.5s ease,
letter-spacing 0.5s ease;
}

.feature-card:hover h3 {
transform: translateX(6px);
letter-spacing: 1px;
}

.feature-card p {
transition: opacity 0.5s ease;
}

.feature-card:hover p {
opacity: 0.9;
}
/* PREMIUM GALERIJA */

.gallery-item {
position: relative;
overflow: hidden;
cursor: pointer;
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.gallery-item::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.35);
opacity: 0;
transition: opacity 0.6s ease;
}

.gallery-item:hover img {
transform: scale(1.08);
}

.gallery-item:hover::after {
opacity: 1;
}
/* TEKST PREKO GALERIJE */

.gallery-overlay {
position: absolute;
inset: 0;
z-index: 2;

display: flex;
flex-direction: column;
justify-content: flex-end;

padding: 30px;

background: linear-gradient(
to top,
rgba(0, 0, 0, 0.75),
transparent 60%
);

opacity: 0;
transform: translateY(15px);

transition:
opacity 0.5s ease,
transform 0.5s ease;

pointer-events: none;
}

.gallery-overlay span {
font-size: 10px;
letter-spacing: 3px;
margin-bottom: 8px;
color: #ccc;
}

.gallery-overlay h3 {
font-size: 25px;
font-weight: 400;
letter-spacing: 1px;
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
transform: translateY(0);
}
/* LIGHTBOX GALERIJA */

.lightbox {
position: fixed;
inset: 0;
z-index: 9999;

background: rgba(0, 0, 0, 0.94);

display: flex;
align-items: center;
justify-content: center;

opacity: 0;
visibility: hidden;

transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
opacity: 1;
visibility: visible;
}

.lightbox img {
max-width: 85%;
max-height: 85vh;

object-fit: contain;

transform: scale(0.92);

transition: transform 0.5s ease;
}

.lightbox.active img {
transform: scale(1);
}

.lightbox-close {
position: absolute;
top: 25px;
right: 35px;

background: none;
border: none;

color: white;
font-size: 45px;
font-weight: 200;

cursor: pointer;
z-index: 2;

transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-close:hover {
transform: rotate(90deg);
opacity: 0.6;
}

.lightbox-arrow {
position: absolute;
top: 50%;

transform: translateY(-50%);

background: none;
border: none;

color: white;
font-size: 40px;

cursor: pointer;

padding: 20px;

opacity: 0.7;

transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-arrow:hover {
opacity: 1;
}

.lightbox-prev {
left: 25px;
}

.lightbox-next {
right: 25px;
}

@media (max-width: 768px) {

.lightbox img {
max-width: 92%;
max-height: 75vh;
}

.lightbox-close {
top: 15px;
right: 20px;
font-size: 38px;
}

.lightbox-arrow {
font-size: 28px;
padding: 10px;
}

.lightbox-prev {
left: 5px;
}

.lightbox-next {
right: 5px;
}
}
/* NAVIGACIJA - PREMIUM EFEKAT */

.navbar {
transition:
background 0.4s ease,
backdrop-filter 0.4s ease,
height 0.4s ease;
}

.navbar.scrolled {
height: 75px;
background: rgba(10, 10, 10, 0.82);
backdrop-filter: blur(12px);
}

.navbar nav a {
position: relative;
}

.navbar nav a::after {
content: "";

position: absolute;
left: 0;
bottom: -8px;

width: 0;
height: 1px;

background: white;

transition: width 0.3s ease;
}

.navbar nav a:hover::after {
width: 100%;
}


/* PLUTAJUĆE REZERVIŠI DUGME */



/* AKTIVNI LINK U NAVIGACIJI */

.navbar nav a.active {
opacity: 1;
}

.navbar nav a.active::after {
width: 100%;
}
/* =========================
LIBUM TYPOGRAPHY
========================= */

body {
font-family: "DM Sans", sans-serif;
}

.logo,
.hero h1 {
font-family: "DM Sans", sans-serif;
}

.hero h1,
.about-content h2,
.features-header h2,
.gallery-header h2,
.contact-header h2 {
font-family: "Playfair Display", serif;
font-weight: 400;
}

.hero h1 {
letter-spacing: 18px;
}

.about-content h2,
.features-header h2,
.gallery-header h2,
.contact-header h2 {
letter-spacing: -1px;
}

.feature-card h3 {
font-family: "Playfair Display", serif;
font-weight: 400;
}
/* =========================
ZAVRŠNI CTA
========================= */

.cta {
min-height: 75vh;

display: flex;
align-items: center;
justify-content: center;

text-align: center;

padding: 120px 8%;

position: relative;
overflow: hidden;

background:
radial-gradient(
circle at center,
#252525 0%,
#111 45%,
#080808 100%
);
}

.cta-content {
max-width: 850px;
}

.cta .section-label {
margin-bottom: 30px;
}

.cta h2 {
font-family: "Playfair Display", serif;
font-size: clamp(55px, 8vw, 110px);
font-weight: 400;
line-height: 0.98;

margin-bottom: 35px;
}

.cta h2 span {
opacity: 0.45;
}

.cta p:not(.section-label) {
max-width: 500px;

margin: 0 auto 45px;

font-size: 17px;
line-height: 1.8;

opacity: 0.6;
}

.cta-button {
display: inline-flex;
align-items: center;
gap: 25px;

color: #111;
background: white;

padding: 19px 28px;

text-decoration: none;

font-size: 11px;
letter-spacing: 3px;
font-weight: 500;

transition:
transform 0.4s ease,
background 0.4s ease;
}

.cta-button span {
font-size: 18px;
line-height: 0;
}

.cta-button:hover {
transform: translateY(-5px);
background: #e5e5e5;
}

@media (max-width: 700px) {

.cta {
min-height: 65vh;
padding: 90px 6%;
}

.cta h2 {
font-size: clamp(48px, 13vw, 70px);
}

.cta p:not(.section-label) {
font-size: 15px;
}

}
/* =========================
MOBILNO PEGLANJE
========================= */

@media (max-width: 768px) {

/* Opšti izgled */

body {
overflow-x: hidden;
}

/* Hero */

.hero {
min-height: 100svh;
padding: 0 6%;
}

.hero h1 {
font-size: clamp(48px, 15vw, 80px);
letter-spacing: 8px;
}

.hero p {
font-size: 15px;
line-height: 1.7;
}

/* Sekcije */

.about,
.features,
.gallery,
.contact {
padding-left: 6%;
padding-right: 6%;
}

/* Naslovi */

.about-content h2,
.features-header h2,
.gallery-header h2,
.contact-header h2 {
font-size: clamp(42px, 12vw, 65px);
}

/* Kartice */

.features-grid {
grid-template-columns: 1fr;
gap: 12px;
}

.feature-card {
min-height: 220px;
}

/* Galerija */

.gallery-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    flex: 0 0 82vw;
    height: 420px;
}

.gallery-large,
.gallery-wide,
.gallery-tall {
    flex: 0 0 82vw;
    height: 420px;
}

.gallery-large {
grid-row: auto;
}

.gallery-wide {
grid-column: auto;
}

/* Kontakt */

.contact-wrapper {
grid-template-columns: 1fr;
gap: 60px;
}

.form-row {
grid-template-columns: 1fr;
gap: 0;
}

/* CTA */

.cta {
min-height: 70svh;
padding: 90px 6%;
}

.cta h2 {
font-size: clamp(45px, 13vw, 70px);
}

/* Footer */

.footer {
padding-left: 6%;
padding-right: 6%;
}

}
/* GOOGLE MAPA */

.map-container {
width: 100%;
margin-top: 70px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-container iframe {
display: block;
width: 100%;
border: 0;
filter: none;
}

.map-container:hover iframe {
filter: grayscale(20%) contrast(100%);
}

@media (max-width: 768px) {
.map-container {
margin-top: 50px;
}

.map-container iframe {
height: 350px;
}
}
/* PREMIUM LOKACIJA */

.location-card {
    width: 100%;
    min-height: 380px;
    margin-top: 70px;
    padding: 65px 70px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(255, 255, 255, 0.08),
            transparent 35%
        ),
        #111;

    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* mali naslov */

.location-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: #aaa;
    margin-bottom: 20px;
}

/* naziv */

.location-card h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 25px;
}

/* adresa */

.location-address {
    font-size: 16px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 35px;
}

/* dugme */

.location-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 17px 23px;

    border: 1px solid rgba(255, 255, 255, 0.45);

    color: white;
    text-decoration: none;

    font-size: 10px;
    letter-spacing: 2.5px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.location-button span {
    font-size: 17px;
}

.location-button:hover {
    background: white;
    color: #111;
    transform: translateY(-4px);
}

/* veliki LIBUM u pozadini */

.location-decoration {
    position: absolute;
    right: -20px;
    bottom: -25px;

    pointer-events: none;
}

.location-decoration span {
    font-family: "Playfair Display", serif;
    font-size: clamp(100px, 16vw, 230px);
    line-height: 1;

    color: rgba(255, 255, 255, 0.035);
}

/* telefon */

@media (max-width: 700px) {

    .location-card {
        min-height: 350px;
        margin-top: 50px;
        padding: 45px 30px;
    }

    .location-card h3 {
        font-size: 45px;
    }

    .location-address {
        font-size: 14px;
    }

    .location-decoration {
        right: -10px;
        bottom: -10px;
    }
}
.location-card {
    margin-bottom: 100px;
}
/* PREMIUM CONTACT SECTION */

.contact {
    padding-top: 30px;
    padding-bottom: 130px;
}

.contact-wrapper {
    align-items: start;
    gap: 90px;
}

/* Naslov */

.contact-header h2 {
    font-size: clamp(55px, 6vw, 85px);
    line-height: 0.95;
    margin-bottom: 30px;
}

.contact-header h2 span {
    opacity: 0.45;
}

.contact-header > p {
    max-width: 430px;
    color: #aaa;
    line-height: 1.8;
}

/* Kontakt podaci */

.contact-info {
    margin-top: 55px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item span {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #777;
    margin-bottom: 8px;
}

.contact-info-item a,
.contact-info-item p {
    color: white;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-item a:hover {
    opacity: 0.55;
}

/* Forma */

.contact-form {
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.015);
}

.contact-form input,
.contact-form textarea {
    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.75);
}

/* Dugme forme */

.contact-form button[type="submit"] {
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}

.contact-form button[type="submit"]:hover {
    background: white;
    color: #111;
    transform: translateY(-3px);
}

/* Telefon */

@media (max-width: 768px) {

    .contact {
        padding-bottom: 90px;
    }

    .contact-wrapper {
        gap: 55px;
    }

    .contact-header h2 {
        font-size: 52px;
    }

    .contact-form {
        padding: 30px 22px;
    }
}
/* CONTACT SCROLL ANIMATION */

.contact-header {
    opacity: 0;
    transform: translateX(-45px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.contact-form {
    opacity: 0;
    transform: translateX(45px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.contact.contact-visible .contact-header,
.contact.contact-visible .contact-form {
    opacity: 1;
    transform: translateX(0);
}
/* PREMIUM GALLERY UPGRADE */

.gallery-grid {
    gap: 14px;
}

/* Sve fotografije */

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #111;
}

.gallery-item img {
    transition:
        transform 1.1s cubic-bezier(0.2, 0.65, 0.3, 1),
        filter 0.8s ease;
}

/* Blago zatamnjenje */

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;

  linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.72) 100%
),

    opacity: 0.45;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

/* Hover fotografije */

.gallery-item:hover img {
    transform: scale(1.055);
}

.gallery-item:hover::after {
    opacity: 0.8;
}

/* Tekst preko fotografije */

.gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 28px;
}

.gallery-overlay span {
    font-size: 9px;
    letter-spacing: 3px;
    opacity: 0.75;
}

.gallery-overlay h3 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 400;

    transform: translateY(5px);

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;

    opacity: 0.85;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

/* Mobilna verzija */

@media (max-width: 768px) {

    .gallery-grid {
        gap: 10px;
    }

    .gallery-overlay {
        padding: 20px;
    }

    .gallery-overlay h3 {
        font-size: 22px;
    }
}
/* HERO - PREMIUM NASLOV */

.hero h1 {
    letter-spacing: 14px;
    text-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    letter-spacing: 6px;
    opacity: 0.85;
}

.hero-text {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
/* HERO - PREMIUM DUGME */

.hero-button {
    padding: 18px 32px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}

.hero-button:hover {
    background: white;
    color: #111;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
/* O LIBUMU - PREMIUM FOTOGRAFIJA */

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.28),
        transparent 55%
    );
    pointer-events: none;
}

.about-image img {
    transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.about-image:hover img {
    transform: scale(1.035);
}
/* O LIBUMU - PREMIUM TEKST */

.about-content .section-label {
    letter-spacing: 5px;
    opacity: 0.65;
}

.about-content h2 {
    line-height: 1.05;
    margin-bottom: 32px;
}

.about-content p {
    max-width: 520px;
    line-height: 1.9;
    opacity: 0.72;
}

.about-button {
    margin-top: 28px;
    transition: all 0.35s ease;
}

.about-button:hover {
    padding-right: 18px;
    opacity: 0.7;
}
/* SADRŽAJI - PREMIUM KARTICE */

.feature-card {
    background: rgba(255, 255, 255, 0.01);
    transition:
        transform 0.5s ease,
        background 0.5s ease,
        border-color 0.5s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.28);
}

.feature-number {
    opacity: 0.35;
    letter-spacing: 3px;
}

.feature-card h3 {
    margin-bottom: 18px;
}

.feature-card p {
    line-height: 1.8;
}
/* SADRŽAJI - PREMIUM NASLOV */

.features-header {
    max-width: 760px;
}

.features-header .section-label {
    letter-spacing: 5px;
    opacity: 0.65;
}

.features-header h2 {
    line-height: 1;
    margin-bottom: 32px;
}

.features-header > p:last-child {
    max-width: 560px;
    line-height: 1.9;
    opacity: 0.7;
}
/* CTA - PREMIUM POZADINA */

.cta {
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0.025) 32%,
            transparent 58%
        ),
        linear-gradient(
            180deg,
            #111 0%,
            #090909 100%
        );
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta .section-label {
    letter-spacing: 5px;
    opacity: 0.6;
}

.cta h2 {
    text-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
}
/* CTA - PREMIUM DUGME */

.cta-button {
    position: relative;
    overflow: hidden;
    padding: 20px 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.cta-button span {
    transition: transform 0.35s ease;
}

.cta-button:hover span {
    transform: translateX(5px);
}
/* KONTAKT - PREMIUM FORMA */

.contact-form {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    transition:
        border-color 0.4s ease,
        background 0.4s ease;
}

.contact-form:hover {
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.028);
}

.contact-form input,
.contact-form textarea {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 22px;
    }
}
/* KONTAKT - PREMIUM DUGME */

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 15px;
    padding: 19px 30px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.55);
    letter-spacing: 3px;
    cursor: pointer;
    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.contact-form button[type="submit"]:hover {
    background: white;
    color: #111;
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.30);
}
/* LOKACIJA - ZAVRŠNI PREMIUM EFEKAT */

.location-card {
    transition:
        border-color 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.location-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.location-decoration span {
    transition: opacity 0.5s ease;
}

.location-card:hover .location-decoration span {
    opacity: 0.8;
}
/* FOOTER - PREMIUM ZAVRŠNICA */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    transition: opacity 0.35s ease;
}

.footer-brand .logo:hover {
    opacity: 0.65;
}

.footer-links a {
    position: relative;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* HERO - MOBILNO FINO PODESAVANJE */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 52px;
        letter-spacing: 9px;
        margin-right: -9px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.6;
        max-width: 310px;
    }

    .hero {
        background-position: 52% center;
    }
}
/* MOBILNO - SAKRIJ PLUTAJUCE REZERVISI DUGME */


/* Na telefonu sakrij plutajuće REZERVIŠI dugme */
/* Sprečava pomeranje celog sajta levo-desno */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
/* =========================
   PLUTAJUCI KONTAKT
========================= */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-contact-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
}

.floating-contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-menu a:hover {
    background: #111;
    color: #fff;
}

.floating-contact-button {
    border: none;
    background: #fff;
    color: #111;
    padding: 16px 22px;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-contact-button:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {

    .floating-contact {
        right: 15px;
        bottom: 18px;
    }

    
    .floating-contact-button {
        padding: 14px 18px;
    }
}
/* PREMIUM KONTAKT DUGME */

.floating-contact-button {
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    background: #f5f2eb;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-contact-button:hover {
    background: #fff;
    transform: scale(1.06);
}
/* =========================
   PLUTAJUCI KONTAKT
========================= */


.floating-contact-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
}

.floating-contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.floating-contact-menu a:hover {
    background: #111;
    color: #fff;
}

.floating-contact-button {
    border: none;
    background: #fff;
    color: #111;
    padding: 16px 22px;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-contact-button:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {

    .floating-contact {
        right: 15px;
        bottom: 18px;
    }


    .floating-contact-button {
        padding: 14px 18px;
    }
}
/* KONTAKT - KRUZNE IKONICE */

.floating-contact-menu a.contact-circle {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.floating-contact-menu a.contact-circle.whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.floating-contact-menu a.contact-circle.viber {
    background: #7360F2 !important;
    color: white !important;
}

/* ZAVRSNI STIL - KONTAKT IKONICE */

.floating-contact-menu {
    align-items: center !important;
}

.floating-contact-menu .contact-circle {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.floating-contact-menu .contact-circle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

.floating-contact-menu .whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.floating-contact-menu .viber {
    background: #7360F2 !important;
    color: white !important;
}

.floating-contact-button svg {
    width: 25px;
    height: 25px;
    stroke-width: 2.4;
}
@media (max-width: 768px) {
    #lightboxImage {
        width: 96% !important;
        max-width: 96% !important;
        height: auto !important;
        max-height: 85vh !important;
        object-fit: contain !important;
    }
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}
/* SADRŽAJI - BAZEN */

.feature-card:first-child {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.10)
        ),
        url("images/bazen-sadrzaji.jpeg") center / cover no-repeat;
}
.feature-card.feature-rostilj {
        background:
        linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.58)),
        url("images/rostilj.jpeg") center center / cover no-repeat;
}
/* FINALNO PORAVNANJE SADRŽAJ KARTICA - DESKTOP */
@media (min-width: 901px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card {
        width: auto;
        min-height: 360px;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}
/* SADRŽAJI - PARKING */
.feature-card:nth-child(3) {
    position: relative;
    background: #111;
}

.feature-card:nth-child(3)::after {
    content: "P";
    position: absolute;
    right: 28px;
    bottom: 10px;

    font-family: "DM Sans", sans-serif;
    font-size: 150px;
    font-weight: 500;
    line-height: 1;

    color: rgba(255, 255, 255, 0.045);

    pointer-events: none;
}
/* SADRŽAJI - MUZIKA */
.feature-card:nth-child(4) {
    position: relative;
    background: #111;
}

.feature-card:nth-child(4)::after {
    content: "♪";
    position: absolute;
    right: 28px;
    bottom: 15px;

    font-size: 145px;
    line-height: 1;

    color: rgba(255, 255, 255, 0.045);

    pointer-events: none;
}
/* SADRŽAJI - PRIRODA */
.feature-card:nth-child(5) {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.20)
        ),
        url("images/kucica-cvece.jpeg") center / cover no-repeat;
}
/* SADRŽAJI - PROSLAVE */
.feature-card:nth-child(6) {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.20)
        ),
        url("images/enterijer-noc.jpeg") center / cover no-repeat;
}
html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    position: relative;
}

main {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

.gallery {
    overflow: hidden;
}

.gallery-grid {
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
@media (max-width: 768px) {
    .floating-contact {
        right: 15px;
        bottom: 18px;
        gap: 8px;
    }

    .floating-contact-toggle {
        width: 52px;
        height: 52px;
    }
}
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 0;
        font-size: 18px;
    }

    .form-group label {
        margin-bottom: 6px;
    }

    .form-group textarea {
        min-height: 110px;
    }
}
@media (max-width: 768px) {
    .contact-info {
        gap: 28px;
    }

    .contact-item {
        gap: 6px;
    }
}
/* TAČKICE ISPOD GALERIJE - SAMO MOBILNI */
.gallery-dots {
    display: none;
}

@media (max-width: 768px) {
    .gallery-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }

    .gallery-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .gallery-dot.active {
        width: 20px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.9);
    }
}
@media (max-width: 768px) {
    .contact {
        background: #161616;
    }
}
@media (max-width: 768px) {
    #rezervacija {
        scroll-margin-top: 145px;
    }
}
@media (max-width: 768px) {
    body {
        background: #151515;
    }

    .contact {
        background: #1b1b1b;
    }
}
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        border-bottom-color: rgba(255, 255, 255, 0.38);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: rgba(255, 255, 255, 0.42);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .hero::before {
        background: rgba(0, 0, 0, 0.28);
    }
}
@media (max-width: 768px) {
    .hero h1 {
        line-height: 1.08;
        letter-spacing: -0.5px;
    }
}
@media (max-width: 768px) {
    .intro {
        position: relative;
        background: linear-gradient(
            to bottom,
            #111111 0%,
            #151515 120px,
            #151515 100%
        );
    }
}
@media (max-width: 768px) {
    .intro h2 {
        line-height: 1.08;
        letter-spacing: -0.4px;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .footer {
        padding-top: 70px;
        padding-bottom: 45px;
    }
}
/* VIDEO - DOŽIVITE LIBUM */
.video-section {
    padding: 110px 8%;
    background: #151515;
    text-align: center;
}

.video-header {
    margin-bottom: 45px;
}

.video-header span {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    opacity: 0.55;
    margin-bottom: 18px;
}

.video-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    margin: 0;
}

.video-wrapper {
    width: min(420px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #0d0d0d;
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

/* VIDEO - MOBILNI */
@media (max-width: 768px) {
    .video-section {
        padding: 75px 8%;
    }

    .video-header {
        margin-bottom: 30px;
    }

    .video-header h2 {
        font-size: 38px;
        line-height: 1.1;
    }

    .video-wrapper {
        width: 88%;
        border-radius: 14px;
    }
}
.video-wrapper {
    position: relative;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 82px;
    height: 82px;
    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    cursor: pointer;
    z-index: 5;
}

.video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);

    width: 0;
    height: 0;

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid white;
}

@media (max-width: 768px) {
    .video-play {
        width: 68px;
        height: 68px;
    }
}
