/* ===================== VARIJABLE ===================== */
:root {
  --color-blue: #0b3d91;
  --color-blue-dark: #072a66;
  --color-red: #e2231a;
  --color-red-dark: #b81a12;
  --color-black: #14161a;
  --color-gray-dark: #2b2e35;
  --color-gray: #6b7280;
  --color-gray-light: #f3f4f6;
  --color-white: #ffffff;

  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --transition: 0.3s ease;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-dark);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-black);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn--outline {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-blue-dark);
  transform: translateY(-3px);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1.1rem;
}

.btn--nav {
  background: var(--color-red);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn--nav:hover {
  background: var(--color-red-dark);
}

/* ===================== LOGO & SLIKE ===================== */
.logo__img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  display: block;
}

.logo__img--footer {
  margin-bottom: 16px;
}

.about__image,
.gallery__item {
  overflow: hidden;
}

.about__image img,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  gap: 26px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-black);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--color-red);
}

.nav__link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 42, 102, 0.75) 0%, rgba(20, 22, 26, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 780px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #e6e9f0;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero__badge i {
  color: var(--color-red);
}

/* ===================== SECTION HEADERS ===================== */
.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section__eyebrow {
  display: inline-block;
  color: var(--color-red);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section__title {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--color-gray);
  font-size: 1.05rem;
}

section {
  padding: 90px 0;
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--color-gray-light);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  min-height: 420px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  padding: 20px;
  box-shadow: var(--shadow);
}

.about__text .section__title {
  text-align: left;
  margin-bottom: 20px;
}

.about__text p {
  margin-bottom: 16px;
  color: var(--color-gray-dark);
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-red);
}

.stat__label {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===================== RADNO VREME ===================== */
.hours {
  background: var(--color-blue);
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
  color: var(--color-white);
}

.hours__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hours__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 40px 25px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}

.hours__card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.14);
}

.hours__icon {
  font-size: 2.4rem;
  color: var(--color-red);
  margin-bottom: 16px;
}

.hours__card h3 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.hours__time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-white);
}

.hours__desc {
  color: #d5dcef;
  font-size: 0.95rem;
}

/* ===================== USLUGE ===================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--color-red);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--color-white);
  transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-6deg);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--color-gray);
  font-size: 0.98rem;
}

/* ===================== GALERIJA ===================== */
.gallery {
  background: var(--color-gray-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  min-height: 220px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.gallery__item:hover {
  transform: scale(1.03);
}

.gallery__item img {
  cursor: pointer;
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(20, 22, 26, 0.92);
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: var(--color-red);
}

/* ===================== KONTAKT ===================== */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 35px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--color-blue);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.map-embed {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.map-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.map-embed-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}

.map-embed-link:hover {
  color: var(--color-red);
}

/* ===================== FAQ ===================== */
.faq {
  background: var(--color-gray-light);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: var(--color-white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq__item[open] {
  border-color: var(--color-red);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-black);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-red);
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding-bottom: 20px;
  margin: 0;
  color: var(--color-gray);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-black);
  color: #cfd2d8;
  padding-top: 70px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col h4 {
  color: var(--color-white);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer__col p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__col ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer__col ul li a {
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__col ul li a:hover {
  color: var(--color-red);
}

.logo__placeholder--footer {
  margin-bottom: 16px;
}

.footer__bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.9rem;
  color: #8a8d94;
}

/* ===================== FLOATING CALL BUTTON ===================== */
.floating-call {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(226, 35, 26, 0.5);
  z-index: 999;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 35, 26, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(226, 35, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 35, 26, 0); }
}

/* ===================== SCROLL ANIMATIONS ===================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__image {
    min-height: 300px;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 30px;
    gap: 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 22px;
  }

  .hamburger {
    display: flex;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 1.9rem;
  }

  .services__grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }
}
