@charset "utf-8";
/* CSS Document */

/* =========================================================
   MALI GUMBI ISPOD E-MAILA (WHATSAPP I VIBER)
   ========================================================= */

/* Redak koji slaže WhatsApp i Viber jedan pored drugoga */
.chat-redak {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 9999;
}

/* Zajednički izgled i dimenzije za oba gumba */
.chat-mali {
  flex: 1;
  text-align: center;
  padding: 7px 4px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff !important;
  white-space: nowrap;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

/* Efekt prelaska mišem preko gumba */
.chat-mali:hover {
  opacity: 0.85;
}

/* Zelena pozadina za WhatsApp */
.chat-mali.wa {
  background-color: #25D366;
}

/* Ljubičasta pozadina za Viber */
.chat-mali.viber {
  background-color: #7360F2;
}
/* =========================================================
   PRILAGODBA SAMO ZA WHATSAPP I VIBER U IZBORNIKU (MENU)
   (Ne utječe na gumbe ispod e-maila!)
   ========================================================= */

.cd-primary-nav .chat-redak {
  max-width: 260px;          /* Sprječava da se razvuku preko cijelog ekrana */
  margin: 10px auto 0 auto;  /* Centrira ih točno na sredinu izbornika */
}

.cd-primary-nav a.chat-mali {
  padding: 8px 14px !important;
  font-size: 14px !important;
  text-transform: none !important;
  color: #ffffff !important;
}
/* =========================================================
   TRAKA S KOLAČIĆIMA (COOKIE BANNER)
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222222;
    color: #ffffff;
    padding: 15px 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-text {
    max-width: 70%;
    margin: 5px 0;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin: 5px 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-accept {
    background-color: #4CAF50;
    color: white;
}
.btn-accept:hover {
    background-color: #45a049;
}

.btn-reject {
    background-color: #f44336;
    color: white;
}
.btn-reject:hover {
    background-color: #da190b;
}

.cookie-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-text {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

/* =========================================================
   ZAGLAVLJE I IZBORNIK (MOBITEL / LAPTOP)
   ========================================================= */
.cd-header {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.cd-primary-nav {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media only screen and (max-width: 768px) {
    .cd-logo {
        max-width: 70% !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    .cd-logo h2 {
        font-size: 13px !important;
    }
    .cd-primary-nav .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .cd-primary-nav li,
    .cd-primary-nav a {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
}

@media only screen and (max-width: 1024px) {
    .cd-logo h2,
    .cd-menu-text {
        color: #ffffff !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
    }
    .cd-menu-icon,
    .cd-menu-icon::before,
    .cd-menu-icon::after {
        background-color: #ffffff !important;
    }
}

@media only screen and (min-width: 1025px) {
    .cd-logo h2,
    .cd-menu-text {
        color: #1a1a1a !important;
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    }
    .cd-menu-icon,
    .cd-menu-icon::before,
    .cd-menu-icon::after {
        background-color: #1a1a1a !important;
    }
}

/* =========================================================
   OKVIRI I GUMBI ZA WEB I E-MAIL
   ========================================================= */
.web-okviri {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

.web-gumb {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #0077b6;
    border-radius: 6px;
    background-color: #f0f8ff;
    color: #005f8d;
    text-decoration: none;
    font-size: clamp(12px, 3.5vw, 15px);
    font-weight: 500;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    transition: 0.2s;
}

.web-gumb:hover {
    background-color: #0077b6;
    color: #ffffff;
    font-weight: 500;
}

/* =========================================================
   DRUŠTVENE MREŽE U IZBORNIKU
   ========================================================= */
.cd-primary-nav .social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 10px 0;
}

.cd-primary-nav .social-row a {
    display: inline-flex;
    padding: 0 !important;
    transition: transform 0.2s ease;
}

.cd-primary-nav .social-row a:hover {
    transform: scale(1.1);
}
/* =========================================================
   GALERIJA (FANCYBOX) I PODNASLOVI (NOVI VINODOLSKI / PLAŽE)
   ========================================================= */
h4 {
    font-weight: 900;
}

.Caption {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

a.fancybox img {
    border: none;
    box-shadow: 0 1px 7px rgba(0,0,0,0.6);
    transform: scale(1,1);
    transition: all 0.2s ease-in-out;
}

a.fancybox:hover img {
    position: relative;
    z-index: 999;
    transform: scale(1.03,1.03);
}
/* =========================================================
   PRILAGODBA ZA KONTAKT KVADRAT (.square-4) - SAMO CONTACT.HTML
   ========================================================= */
.square-4 {
    background-color: #2d3035 !important; /* Topla tamnosiva umjesto oštre crne */
    height: auto !important;
    min-height: 300px;
    padding-bottom: 1.5rem;
}

.square-line {
    margin-left: 2rem;
    margin-top: 2rem;
    width: 2.5rem;
    height: 3px;
    background-color: #d4af37; /* Zlatna crtica */
    border: none;
}

.square-4 h2 {
    color: #cccccc !important; /* Blaga svijetlosiva za "Phone:" i "E-mail:" */
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    padding-bottom: 1rem !important;
}

.square-4 h2 a {
    color: #d4af37 !important; /* Zlatna slova za telefon i e-mail */
    text-decoration: none;
    font-weight: 600;
}

.square-4 h2 a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.square-chat {
    padding: 0 2rem;
    margin-top: 0;
}

@media all and (max-width: 780px) {
    .square-4 {
        min-height: 200px;
    }
}

