* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  background: #f6f7fb;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

/* ===== MODERN VARIABLES ===== */
:root {
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --muted-color: #475569;
  --primary-color: #2563eb;
  --secondary-bg: #f1f5f9;
  --border-color: rgba(15, 23, 42, 0.10);
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.10);
  --radius: 16px;
}

body.dark-mode {
  --bg-color: #1b1b1b;
  --text-color: #fff;
  --secondary-bg: #2b2b2b;
  --border-color: rgba(255, 255, 255, 0.10);
  --muted-color: #cbd5e1;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.logo {
  display: inline-block;
  text-indent: -9999px;
  width: 140px;
  height: 44px;
  background-image: url("sliki/innovative3dlogo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.logo:hover {
  opacity: 0.85;
}
.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.nav-links .nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-color);
  font-weight: 750;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.nav-links .nav-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--primary-color);
}
.nav-links .nav-btn[aria-current="page"] {
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--primary-color);
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
#theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-color);
  transition: color 0.3s;
}
#theme-toggle:hover {
  color: var(--primary-color);
}
#language-switcher {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: var(--secondary-bg);
  color: var(--text-color);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border 0.3s;
}
#language-switcher:hover,
#language-switcher:focus {
  border-color: var(--primary-color);
  outline: none;
}
body.dark-mode #language-switcher {
  background-color: var(--secondary-bg);
  border-color: #444;
  color: #fff;
}
body.dark-mode #theme-toggle {
  color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  filter: brightness(0.98);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary {
  background: #0f172a;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-buttons .btn {
  margin-right: 0;
}

/* ===== HERO SECTION ===== */
.hero {
  max-width: 1200px;
  margin: auto;
  padding: 80px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--muted-color);
}
.hero-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
  perspective: 1000px;
}
.hero-images img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 250px;
  height: 180px;
  object-fit: cover;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.hero-images img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== STATISTICS SECTION (ENHANCED) ===== */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px 0 20px 0;
  text-align: center;
}
.stat-item {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 28px 32px;
  min-width: 180px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border-color);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-icon {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 12px;
}
body.dark-mode .stat-item {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .stat-label {
  color: #cbd5e1;
}

/* ===== CARDS & GRIDS ===== */
.intro,
.skills {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}
.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.testimonials {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
  text-align: center;
}
.testimonials h2 {
  font-weight: 850;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--text-color);
}
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.testimonial-cards .card {
  max-width: 360px;
  margin: 0 auto;
}

/* ===== TIMELAPSE VIDEO ===== */
.timelapse {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
}
.timelapse-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.timelapse-text h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.timelapse-text p {
  font-size: 16px;
  margin-bottom: 14px;
}
.timelapse-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.timelapse-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.timelapse-card {
  background: var(--bg-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  padding: 14px;
}
.timelapse-video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  background: #000;
}
.timelapse-note {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
}

/* ===== BLOG ===== */
.blog {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}
.blog-post {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.blog-post h2 a {
  text-decoration: none;
  color: var(--text-color);
}
.blog-post h2 a:hover {
  color: var(--primary-color);
}
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  font-weight: bold;
}
.blog-hero {
  max-width: 1200px;
  margin: 60px auto 30px;
  padding: 0 30px;
}
.blog-back {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}
.blog-hero-content h1 {
  font-size: 42px;
  margin-bottom: 12px;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #777;
  margin-bottom: 12px;
  font-size: 14px;
}
.blog-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 900px;
  margin-bottom: 20px;
}
.blog-hero-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  margin-top: 20px;
}
.blog-layout {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.blog-article h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}
.blog-article p {
  color: #444;
  margin-bottom: 14px;
  line-height: 1.8;
}
.blog-highlight {
  background: var(--bg-color);
  border-left: 5px solid var(--primary-color);
  padding: 18px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}
.blog-highlight h3 {
  margin-bottom: 10px;
}
.blog-quote {
  background: #111;
  color: #fff;
  padding: 18px;
  border-radius: 14px;
  margin: 20px 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}
.blog-cta {
  margin-top: 40px;
  padding: 22px;
  border-radius: 16px;
  background: #f7f7f7;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.blog-cta-buttons {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-sidebar .sidebar-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}
.related-posts {
  padding-left: 18px;
}
.related-posts a {
  text-decoration: none;
  color: #333;
}
.related-posts a:hover {
  color: var(--primary-color);
}
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-hero-content h1 {
    font-size: 34px;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  text-align: center;
  padding: 100px 20px 60px;
}
.contact-hero h1 {
  font-size: 46px;
  margin-bottom: 12px;
}
.contact-hero p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: auto;
}
.contact-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px;
  background: #f6f6f6;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.strip-item i {
  color: var(--primary-color);
}
.contact-main {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
}
.contact-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.contact-features li {
  margin-bottom: 10px;
}
.contact-features i {
  color: var(--primary-color);
  margin-right: 8px;
}
.contact-form-wrapper {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
}
#contact-msg {
  margin-top: 10px;
  color: green;
}
.btn.whatsapp { background: #25D366; }
.btn.viber { background: #7360f2; }
@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 34px;
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  background: #1b1b1b;
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
}
.cookie-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #ddd;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-buttons .btn {
  padding: 8px 14px;
  font-size: 14px;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  z-index: 9999;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  background-color: #005fd1;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  line-height: 55px;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  z-index: 1000;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}
.faq-question {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question i {
  transition: transform 0.3s;
}
.faq-answer {
  display: none;
  padding-top: 10px;
  color: var(--muted-color);
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ===== FOOTER ===== */
.footer {
  background: #0b1220;
  color: #e5e7eb;
  padding: 40px 30px;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  align-items: start;
}
.footer h3 {
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.footer p {
  color: rgba(229, 231, 235, 0.80);
}
.footer a {
  color: rgba(229, 231, 235, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: #ffffff;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social a {
  font-size: 22px;
}
.footer-social a:hover {
  transform: translateY(-3px);
}
.footer-map iframe {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 15px;
  font-size: 13px;
  color: rgba(229,231,235,0.65);
}
.footer-newsletter {
  margin-top: 20px;
}
.footer-newsletter h3 {
  margin-bottom: 8px;
}
.footer-newsletter form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-newsletter input[type="email"] {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  flex: 1;
}
.footer-newsletter input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}
.footer-newsletter button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.footer-newsletter button:hover {
  background-color: #005fd1;
}
.footer-brand {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.footer-brand:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-images {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }
  .nav-links {
    justify-content: center;
    gap: 15px;
  }
  .header-controls {
    justify-content: center;
    gap: 8px;
  }
  .timelapse-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .footer-about p,
  .footer-links a {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-map iframe {
    height: 200px;
  }
}