@import url('base.css');
@import url('header.css');
@import url('footer.css');
@import url('hero.css');
@import url('services.css');
@import url('about.css');
@import url('gallery.css');
@import url('contact.css');
@import url('index.css');

/* ============================================================
   FLOATING CONTACT (LEPEZA)
   ============================================================ */

.fc-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: none;
}

.fc-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1a1a;
  border: none;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.fc-main:hover {
  transform: scale(1.1);
}

.fc-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0) scale(0.5);
  transition: all 0.35s ease;
}

.fc-btn a {
  color: white;
  font-size: 26px;
  text-decoration: none;
}

.fc-btn.wa { background: #25d366; }
.fc-btn.viber { background: #7360f2; }
.fc-btn.phone { background: #007bff; }

.fc-wrapper.active .fc-btn {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.fc-wrapper.active .fc-btn.wa { transform: translateY(-75px) scale(1); }
.fc-wrapper.active .fc-btn.viber { transform: translateY(-150px) scale(1); }
.fc-wrapper.active .fc-btn.phone { transform: translateY(-225px) scale(1); }

.fc-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: 0.25s ease;
  white-space: nowrap;
}

.fc-btn:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .fc-main,
  .fc-btn {
    width: 48px;
    height: 48px;
  }

  .fc-btn a {
    font-size: 22px;
  }

  .fc-wrapper.active .fc-btn.wa { transform: translateY(-60px) scale(1); }
  .fc-wrapper.active .fc-btn.viber { transform: translateY(-120px) scale(1); }
  .fc-wrapper.active .fc-btn.phone { transform: translateY(-180px) scale(1); }
}

/* ============================================================
   HEADER – FINAL PREMIUM VERSION
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 120px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.nav-menu li a {
  padding: 10px 18px;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.hamburger {
  font-size: 36px;
  padding: 10px;
  cursor: pointer;
}

header.shrink {
  height: 75px;
}

header.shrink .logo img {
  height: 42px;
}

header.shrink .nav-menu li a {
  padding: 6px 14px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .logo img {
    height: 62px;
  }
}

/* ============================================================
   CTA BLOK – SIGURAN RAZMAK OD FOOTERA
   ============================================================ */

.contact-cta {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 100px;
  display: block;
}

.contact-cta h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
}
/* Plava linija ispod CTA naslova */
.contact-cta h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.contact-cta h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--brand);
  border-radius: 3px;
}

.contact-cta p {
  font-size: 17px;
  color: #444;
  margin-bottom: 20px;
}

.contact-cta .cta {
  background: var(--accent);
  color: #1a1a1a;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact-cta .cta:hover {
  background: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}



/* ============================================
   ABOUT PAGE – MOBILE OPTIMIZATION
   ============================================ */

@media (max-width: 360px) {
  .about-page h1 { font-size: 26px; }
  .about-page h2 { font-size: 20px; }
  .about-page p { font-size: 15px; padding: 0 16px; }
  .about-page .about-intro img { max-width: 90%; height: auto; }
}

@media (max-width: 414px) {
  .about-page h1 { font-size: 30px; }
  .about-page h2 { font-size: 22px; }
  .about-page p { font-size: 16px; padding: 0 18px; }
  .about-page .about-intro img { max-width: 92%; height: auto; }
}

@media (max-width: 768px) {
  .about-page h1 { font-size: 34px; }
  .about-page h2 { font-size: 24px; }
  .about-page p { font-size: 17px; padding: 0 20px; }
  .about-page .about-intro img { max-width: 450px; width: 100%; height: auto; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .about-page p,
  .about-page h1,
  .about-page h2 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ============================================================
   MOBILE FIXES – SERVICES, GALLERY, CONTACT
   ============================================================ */

@media (max-width: 360px) {
  .services.grid-2 { grid-template-columns: 1fr; gap: 25px; }
  .service img { width: 100%; height: auto; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 15px; padding: 0 12px; }

  .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-grid img { width: 100%; height: auto; }

  .contact-form { padding: 0 16px; }
  .contact-form input,
  .contact-form textarea { width: 100%; }
  .contact-info p { padding: 0 12px; }
}

@media (max-width: 414px) {
  .services.grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .service p { padding: 0 16px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  .contact-form { padding: 0 20px; }
}

@media (max-width: 768px) {
  .services.grid-2 { grid-template-columns: 1fr 1fr; gap: 30px; }
  .service img { width: 100%; height: auto; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .contact-form { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  p, h1, h2, h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ============================================================
   INDEX PAGE – MOBILE OPTIMIZATION
   ============================================================ */

@media (max-width: 360px) {
  .hero { padding: 40px 16px; text-align: center; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero p { font-size: 15px; padding: 0 10px; }
  .hero img { max-width: 100%; height: auto; }

  .home-services { padding: 0 16px; }
  .home-services .card { width: 100%; }
  .home-services img { width: 100%; height: auto; }
}

@media (max-width: 414px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .home-services { padding: 0 20px; }
}

@media (max-width: 768px) {
  .hero { text-align: center; padding: 60px 20px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 18px; }

  .home-services { grid-template-columns: 1fr 1fr; gap: 30px; }
  .home-services img { width: 100%; height: auto; }
}

/* GLOBAL IMAGE SAFETY */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* GLOBAL TEXT SAFETY */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  p, h1, h2, h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ============================================================
   GLOBAL LANDSCAPE FIXES (HORIZONTALNI TELEFONI)
   ============================================================ */

@media (max-height: 480px) and (orientation: landscape) {
  h1, h2, h3, p {
    font-size: 90%;
    line-height: 1.25;
    padding: 0 20px;
  }

  body { overflow-x: hidden; }

  .hero { padding: 20px 20px; text-align: center; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero img { max-height: 180px; width: auto; }

  .about-page .about-intro img { max-height: 180px; width: auto; }
  .about-page p { font-size: 14px; }

  .services.grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .service p { font-size: 14px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-form input,
  .contact-form textarea { font-size: 14px; }
}

/* ============================================================
   TABLET LANDSCAPE FIXES (1024px, 1280px)
   ============================================================ */

@media (min-width: 1024px) and (max-height: 900px) and (orientation: landscape) {
  .hero { padding: 60px 80px; text-align: center; }
  .hero h1 { font-size: 42px; line-height: 1.2; }
  .hero p { font-size: 20px; max-width: 900px; margin: 0 auto; }
  .hero img { max-height: 350px; width: auto; }

  .about-page .about-intro img { max-height: 350px; width: auto; }
  .about-page p { font-size: 18px; max-width: 900px; margin: 0 auto 25px auto; }

  .services.grid-2 { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .service p { font-size: 17px; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .contact-form input,
  .contact-form textarea { font-size: 18px; }

  .contact-cta {
    max-width: 900px;
    padding: 60px 40px;
  }
}

/* ============================================================
   ULTRA-WIDE DESKTOP OPTIMIZATION (1440px, 1600px, 1920px)
   ============================================================ */

/* 1440px+ – veliki desktop monitori */
@media (min-width: 1440px) {

  /* Centralizacija sadržaja – main uklonjen */
  .container, .about-section, .services, .gallery-grid, .contact-form {
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero {
    padding: 120px 0;
  }

  .hero h1 {
    font-size: 56px;
    max-width: 900px;
    margin: 0 auto;
  }

  .hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 20px auto 0 auto;
  }

  .hero img {
    max-width: 900px;
    margin: 40px auto 0 auto;
  }

  .about-page p {
    font-size: 20px;
    max-width: 900px;
  }

  .about-page .about-intro img {
    max-width: 650px;
  }

  .services.grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .service p {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .contact-form {
    max-width: 700px;
  }

  .contact-cta {
    max-width: 900px;
    padding: 80px 20px;
  }
}

/* 1600px+ – ultra-wide monitori */
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 62px;
  }

  .hero p {
    font-size: 24px;
  }

  .about-page p {
    font-size: 21px;
  }

  .services.grid-2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 1920px+ – full HD i šire */
@media (min-width: 1920px) {

  /* main uklonjen – da hero bude full width */
  .container {
    max-width: 1600px;
  }

  .hero {
    padding: 150px 0;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero p {
    font-size: 26px;
  }

  .about-page p {
    font-size: 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* GALLERY PAGE – ista pozadina kao ABOUT */
.gallery-page main {
  background-image: url("assets/pozadina-about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 40px 0 80px 0;
  position: relative;
  z-index: 1;
}

/* Centriranje naslova i teksta u galeriji */
.gallery-page h1,
.gallery-page p {
  text-align: center;
}

/* Razmak da footer ne nalegne */
.gallery-page .gallery-header {
  margin-bottom: 60px;
}

/* CONTACT PAGE – ista pozadina kao ABOUT */
.contact-page main {
  background-image: url("assets/pozadina-about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 40px 0 80px 0;
  position: relative;
  z-index: 1;
}

/* Centriranje naslova i teksta */
.contact-page h1,
.contact-page p {
  text-align: center;
}

/* Razmak da footer ne nalegne */
.contact-page .contact-section,
.contact-page .contact-header {
  margin-bottom: 60px;
}

/* ============================================================
   CONTACT PAGE – PERFECT SYMMETRIC GRID ON ALL RESOLUTIONS
   ============================================================ */

@media (min-width: 769px) {
  .contact-grid {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
  }

  .contact-form,
  .contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* ULTRA-WIDE – centriranje i balans */
@media (min-width: 1440px) {
  .contact-grid {
    max-width: 1300px;
    gap: 60px;
  }

  .contact-form,
  .contact-info {
    padding: 32px;
  }
}

/* 1600px+ – još bolji balans */
@media (min-width: 1600px) {
  .contact-grid {
    max-width: 1400px;
    gap: 70px;
  }
}

/* 1920px+ – savršena simetrija */
@media (min-width: 1920px) {
  .contact-grid {
    max-width: 1500px;
    gap: 80px;
  }
}

/* MOBILE – savršeno centriranje */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto 60px auto;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    padding: 20px;
  }
}

/* ABOUT PAGE – footer spacing fix */
.about-page .about-section {
  margin-bottom: 40px;
}

.about-page .contact-cta {
  margin-bottom: 80px;
}
/* Centriranje kontakt informacija u footeru */
.site-footer .footer-right {
  text-align: center;
}
.site-footer .footer-right p {
  margin-bottom: 8px;
}
/* Ujednačavanje veličine fonta u footeru na svim stranicama */

.site-footer,
.site-footer p,
.site-footer a {
  font-size: 16px !important;
}
/* Gold gradient linija iznad footera – full width + slow luxury shine */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* deblja linija */
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.9) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  overflow: hidden;
}

/* Sporiji, luksuzniji shine */
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -25%;
  width: 20%;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(3px);
  animation: goldShineSlow 6s ease-in-out infinite; /* SPORI LUKSUZNI SHINE */
}

@keyframes goldShineSlow {
  0% {
    left: -25%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
.footer-logo {
  flex: 0 0 200px; /* više prostora za veći logo */
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  max-width: 170px; /* VEĆI LOGO */
  height: auto;

  /* GOLD GLOW */
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.55))
          drop-shadow(0 0 12px rgba(255, 215, 0, 0.35))
          drop-shadow(0 0 18px rgba(255, 215, 0, 0.25));

  /* Fade-in start */
  opacity: 0;
  transform: translateY(8px);

  /* Animacije */
  animation: logoFadeIn 1.4s ease-out forwards;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.footer-logo img:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.75))
          drop-shadow(0 0 20px rgba(255, 215, 0, 0.55))
          drop-shadow(0 0 30px rgba(255, 215, 0, 0.45));
}

/* Fade-in animacija */
@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .footer-logo {
    margin: 20px 0;
  }
}










