/*
 *  Tattoo Studio IMP – Glavni Stilovi
 *  Verzija: 3.0 – Mobile-first, SEO & UX poboljšanja, Resolvio Booking
 *  Datum: 2026-03-12
 */

/* =================================================================== */
/*  1. CSS VARIJABLE                                                    */
/* =================================================================== */
:root {
  --accent-purple: #b537f2;
  --accent-pink:   #ff007f;
  --accent-light:  #e0b0ff;
  --success:  #10b981;
  --error:    #ef4444;

  /* Tamna tema (default) */
  --bg:        #0f0f10;
  --bg-light:  #1a1a1d;
  --card:      #1a1a1d;
  --text:      #ffffff;
  --text-on-accent: #ffffff;
  --text-muted: #b0b0b0;
  --border:    #2d2d30;

  --shadow-glow:    0 0 15px rgba(255,0,127,.3), 0 0 30px rgba(181,55,242,.2);
  --shadow-glow-lg: 0 0 25px rgba(255,0,127,.5), 0 0 45px rgba(181,55,242,.3);

  --maxw:      1200px;
  --radius:    12px;
  --font-main: 'Poppins', sans-serif;
  --transition: all 0.4s cubic-bezier(.175,.885,.32,1.275);
  --gradient-text: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

/* Svetla tema */
body.light-theme {
  --bg:        #f4f4f5;
  --bg-light:  #ffffff;
  --card:      #ffffff;
  --text:      #18181b;
  --text-on-accent: #ffffff;
  --text-muted: #52525b;
  --border:    #e4e4e7;
  --shadow-glow:    0 5px 15px rgba(95,92,92,.08);
  --shadow-glow-lg: 0 8px 25px rgba(107,43,73,.12);
}

/* =================================================================== */
/*  2. RESET & BAZA                                                     */
/* =================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeInBody 1s ease;
  transition: background .3s, color .3s;
}
a, button, select, .portfolio-item, .faq-question { cursor: pointer; }
@keyframes fadeInBody { from { opacity: 0; } to { opacity: 1; } }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
h1 { font-size: clamp(2rem, 5vw + .5rem, 3.8rem); }
h2 {
  font-size: clamp(1.7rem, 4vw + .5rem, 2.8rem);
  position: relative; padding-bottom: 15px;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  border-radius: 3px;
}
.section-title h2::after { left: 50%; transform: translateX(-50%); }

p { margin-bottom: 15px; color: var(--text-muted); font-size: clamp(.875rem, 1.5vw, 1rem); }
a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-pink); }
body.light-theme a:hover { color: var(--accent-purple); }
img { max-width: 100%; display: block; height: auto; }

/* =================================================================== */
/*  3. DUGMAD                                                           */
/* =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: var(--text-on-accent);
  border: none; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; font-family: var(--font-main);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(138,43,226,.4);
  position: relative; overflow: hidden; text-transform: uppercase; letter-spacing: .05em;
  text-align: center;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: .5s;
}
.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(138,43,226,.6); color: #fff; }
.btn:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-purple);
  box-shadow: none; color: var(--accent-purple);
}
.btn-outline:hover { background: var(--accent-purple); color: #fff; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 15px rgba(37,211,102,.4);
  color: var(--text-on-accent);
}
.btn-whatsapp:hover { box-shadow: 0 8px 25px rgba(37,211,102,.6); color: #fff; }

/* =================================================================== */
/*  4. KARTICE & SEKCIJE                                                */
/* =================================================================== */
.section {
  padding: clamp(60px, 10vw, 100px) 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }
.section-title { text-align: center; margin-bottom: clamp(32px, 6vw, 60px); }
.section-title p { font-size: clamp(.9rem, 2vw, 1.1rem); }

.card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-glow); transition: var(--transition);
  opacity: 0; transform: translateY(30px);
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow-lg); }

/* =================================================================== */
/*  5. HEADER & NAVIGACIJA                                              */
/* =================================================================== */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(15,15,16,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 1000; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: padding .3s, background .3s, border-color .3s;
}
header.scrolled { padding: 9px 0; background: rgba(10,10,11,.97); }
body.light-theme header { background: rgba(255,255,255,.85); }
body.light-theme header.scrolled { background: rgba(244,244,245,.95); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 46px; width: auto; transition: var(--transition); }
.logo:hover .logo-img { transform: rotate(5deg) scale(1.05); }
.logo-text h1 { font-size: 1.3rem; margin: 0 0 2px; }
.logo-text p { font-size: .75rem; color: var(--text-muted); margin: 0; }

/* Nav desktop */
nav { display: flex; align-items: center; gap: 10px; }
nav ul { display: flex; list-style: none; gap: 22px; align-items: center; }
nav a {
  font-weight: 500; position: relative;
  text-transform: uppercase; font-size: .82rem; letter-spacing: .05em;
  padding-bottom: 4px; white-space: nowrap;
}
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  transition: width .3s;
}
nav a:hover::after, nav a.active::after { width: 100%; }

/* Theme toggle */
.theme-toggle-btn {
  background: none; border: none; color: var(--text);
  font-size: 1.2rem; padding: 6px; margin-left: 8px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,.1); }
.theme-toggle-btn .fa-sun { display: none; }
body.light-theme .theme-toggle-btn .fa-moon { display: none; }
body.light-theme .theme-toggle-btn .fa-sun { display: block; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.4rem; z-index: 1002;
  padding: 6px; line-height: 1;
  transition: color .2s;
}
.mobile-menu-btn:hover { color: var(--accent-light); }

/* =================================================================== */
/*  6. HERO                                                             */
/* =================================================================== */
.hero {
  padding: clamp(130px, 18vh, 220px) 0 clamp(80px, 12vh, 160px);
  background:
    linear-gradient(135deg, rgba(15,15,16,.82), rgba(26,26,29,.87)),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  text-align: center; position: relative;
}
.hero-gallery {
  background-image:
    linear-gradient(135deg, rgba(15,15,16,.82), rgba(26,26,29,.87)),
    url('../images/hero-bg-2.jpg');
}
body.light-theme .hero {
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(244,244,245,.68)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero-content { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; padding: 0 16px; }

.main-logo {
  width: clamp(120px, 18vw, 190px); height: clamp(120px, 18vw, 190px);
  margin: 0 auto 28px;
  background: var(--gradient-text); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(138,43,226,.5);
  animation: pulse 4s infinite ease-in-out;
}
.main-logo-img { width: 83%; height: auto; filter: brightness(0) invert(1); }

.hero h1 {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--accent-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  text-shadow: none; margin-bottom: 18px;
}
.hero p {
  font-size: clamp(.95rem, 2.3vw, 1.25rem);
  margin: 0 auto 36px; max-width: 680px;
  color: var(--text-muted);
  text-shadow: 1px 1px 8px rgba(0,0,0,.7);
}
body.light-theme .hero p { text-shadow: none; }

.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 52px; flex-wrap: wrap; }

.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.stat { text-align: center; position: relative; animation: fadeInUp 1s ease forwards; opacity: 0; }
.stat::before {
  content: ''; position: absolute; top: 0; left: -20px;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-purple), transparent);
}
.stat:first-child::before { display: none; }
.stat-number {
  font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 700;
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; line-height: 1;
}
.stat-text { font-size: .9rem; color: var(--text-muted); margin-top: 8px; }

/* =================================================================== */
/*  7. O NAMA                                                           */
/* =================================================================== */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-glow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.feature { display: flex; align-items: flex-start; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.feature.visible { opacity: 1; transform: translateY(0); }
.feature-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--text-on-accent); transition: var(--transition);
}
.feature:hover .feature-icon { transform: rotate(15deg) scale(1.1); }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }

/* =================================================================== */
/*  8. PORTFOLIO                                                        */
/* =================================================================== */
.portfolio { background: var(--bg-light); }
body.light-theme .portfolio { background: var(--bg); }
.portfolio-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 22px; background: transparent;
  border: 1px solid var(--accent-purple); color: var(--text);
  border-radius: 30px; transition: var(--transition); font-size: .88rem;
  font-family: var(--font-main);
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: var(--text-on-accent); transform: translateY(-2px); border-color: transparent;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.portfolio-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; height: 290px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s, box-shadow .3s;
}
.portfolio-item.visible { opacity: 1; transform: translateY(0); }
.portfolio-item:hover { box-shadow: var(--shadow-glow-lg); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  padding: 22px; transform: translateY(100%); transition: var(--transition); color: #fff;
}
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-overlay h3 { font-size: 1rem; margin-bottom: 2px; color: #fff; }
.portfolio-overlay p { margin: 0; font-size: .82rem; color: var(--accent-light); }

/* =================================================================== */
/*  9. UMETNIK                                                          */
/* =================================================================== */
.artist-section { text-align: center; }
.artist-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.artist-image { border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.artist-image:hover { transform: scale(1.02); box-shadow: var(--shadow-glow-lg); }
.artist-image img { width: 100%; height: auto; display: block; }
.artist-info { text-align: left; }
.artist-specialty { font-size: 1.1rem; color: var(--accent-light); margin-bottom: 18px; display: block; }
body.light-theme .artist-specialty { color: var(--accent-purple); }
.artist-bio p { text-align: left; }
.artist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.artist-stat { text-align: center; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.artist-stat.visible { opacity: 1; transform: translateY(0); }
.artist-stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700;
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.artist-stat-text { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.artist-social { display: flex; gap: 12px; margin-top: 24px; }
.artist-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-light); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
}
.artist-social a:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  transform: translateY(-5px); color: var(--text-on-accent);
}

/* =================================================================== */
/*  10. USLUGE                                                          */
/* =================================================================== */
.services { background: var(--bg-light); }
body.light-theme .services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.service-card { text-align: center; padding: 36px 22px; position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  transform: scaleX(0); transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 76px; height: 76px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: var(--text-on-accent); transition: var(--transition);
}
.service-card:hover .service-icon { transform: rotate(15deg) scale(1.1); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* =================================================================== */
/*  11. BOOKING – TABS + IFRAME + FORMA                                 */
/* =================================================================== */

/* Tab switcher */
.booking-tabs {
  display: flex; gap: 0; margin-bottom: 32px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.booking-tab-btn {
  flex: 1; padding: 16px 20px;
  background: var(--card); color: var(--text-muted);
  border: none; cursor: pointer; font-size: .95rem; font-weight: 600;
  font-family: var(--font-main); transition: background .25s, color .25s;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.booking-tab-btn.active { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); color: #fff; }
.booking-tab-btn:hover:not(.active) { background: rgba(181,55,242,.1); color: var(--accent-light); }

/* Tab panels */
.booking-panel { display: none; }
.booking-panel.active { display: block; }

/* Resolvio iframe wrapper */
.resolvio-booking-wrap {
  width: 100%; min-height: 700px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.resolvio-booking-wrap iframe {
  width: 100%; min-height: 700px;
  border: none; display: block;
}

/* Email forma */
.booking-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 0; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 500; font-size: .9rem; }
.form-control {
  width: 100%; padding: 14px 16px;
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-main); font-size: .95rem; transition: border .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--accent-purple); box-shadow: 0 0 0 3px rgba(138,43,226,.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
.booking-buttons { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
.booking-buttons .btn { flex: 1; min-width: 180px; }

.booking-info { display: flex; flex-direction: column; gap: 22px; }
.info-card {
  padding: 20px; border-left: 3px solid var(--accent-purple);
  opacity: 0; transform: translateX(-20px);
  transition: opacity .6s, transform .6s;
}
.info-card.visible { opacity: 1; transform: translateX(0); }
.info-card h3 { font-size: 1rem; margin-bottom: 8px; }

/* =================================================================== */
/*  12. TESTIMONIJALI                                                   */
/* =================================================================== */
.testimonials { background: var(--bg-light); }
body.light-theme .testimonials { background: var(--bg); }
.testimonials-slider { max-width: 760px; margin: 0 auto; position: relative; }
.testimonial { text-align: center; padding: 0 16px; display: none; animation: fadeIn .8s ease; }
.testimonial.active { display: block; }
.testimonial-text { font-style: italic; margin-bottom: 22px; position: relative; font-size: 1.05rem; line-height: 1.7; }
.testimonial-text::before, .testimonial-text::after { content: '"'; font-size: 3rem; color: var(--accent-purple); position: absolute; opacity: .3; }
.testimonial-text::before { top: -22px; left: -8px; }
.testimonial-text::after  { bottom: -44px; right: -8px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.author-avatar { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: .95rem; margin-bottom: 2px; text-align: left; }
.author-info p { font-size: .82rem; margin: 0; text-align: left; }
.slider-controls { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  transition: var(--transition); font-size: 1rem;
}
.slider-btn:hover { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); transform: scale(1.1); color: #fff; border-color: transparent; }

/* =================================================================== */
/*  13. FAQ                                                             */
/* =================================================================== */
.faq-container { max-width: 780px; margin: 0 auto; }
.faq-item {
  margin-bottom: 13px; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s;
  background: var(--card);
}
.faq-item.visible { opacity: 1; transform: translateY(0); }
.faq-question {
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; transition: background .2s; font-size: .95rem;
}
.faq-question:hover { background: var(--bg-light); }
body.light-theme .faq-question:hover { background: var(--bg); }
.faq-answer {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height .5s ease, padding .5s ease;
  background: rgba(0,0,0,.1);
}
body.light-theme .faq-answer { background: var(--bg); }
.faq-item.active .faq-answer { padding: 18px 20px; max-height: 500px; }
.faq-toggle { transition: transform .3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); color: var(--accent-pink); }

/* =================================================================== */
/*  14. KONTAKT & MAPA                                                  */
/* =================================================================== */
.contact { background: var(--bg-light); }
body.light-theme .contact { background: var(--bg); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .6s, transform .6s;
}
.contact-item.visible { opacity: 1; transform: translateX(0); }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-on-accent); transition: var(--transition);
}
.contact-item:hover .contact-icon { transform: rotate(15deg) scale(1.1); }
.contact-item h3 { font-size: .95rem; margin-bottom: 4px; }
.contact-item a { color: var(--text-muted); }
.contact-item a:hover { color: var(--accent-pink); }
.map-container {
  border-radius: var(--radius); overflow: hidden;
  height: 100%; min-height: 320px;
  opacity: 0; transform: translateX(20px);
  transition: opacity .6s, transform .6s;
}
.map-container.visible { opacity: 1; transform: translateX(0); }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 320px; }
body.light-theme .map-container iframe { filter: grayscale(.8) contrast(1.1); }

/* =================================================================== */
/*  15. FOOTER                                                          */
/* =================================================================== */
footer { background: #0a0a0b; padding: 70px 0 30px; }
body.light-theme footer { background: #e4e4e7; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-about > p { margin-top: 14px; font-size: .88rem; }
.footer-links h3 { margin-bottom: 18px; font-size: 1.05rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: var(--text-muted); font-size: .88rem; }
.footer-links a:hover { color: var(--accent-pink); }
.social-links { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-light); display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: var(--transition);
}
.social-links a:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  transform: translateY(-3px); color: #fff;
}
.footer-bottom {
  text-align: center; padding-top: 28px;
  border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem;
}

/* =================================================================== */
/*  16. MODALI                                                          */
/* =================================================================== */
.modal, .thank-you-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.modal.active, .thank-you-modal.active { opacity: 1; visibility: visible; }

.modal-content {
  max-width: 90vw; max-height: 90vh; width: 100%; height: 100%;
  position: relative; transform: scale(.85); transition: transform .4s;
  display: flex; align-items: center; justify-content: center;
}
.modal.active .modal-content { transform: scale(1); }
.modal-image {
  max-width: 100%; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
  transition: transform .3s; transform-origin: center;
  touch-action: none;
}
.modal-image.zoomed { cursor: grab; }
.modal-image.zoomed:active { cursor: grabbing; }
.modal-close {
  position: absolute; top: -48px; right: 0;
  background: none; border: none; color: #fff; font-size: 1.8rem; z-index: 2001;
  transition: color .2s, transform .2s; padding: 6px;
}
.modal-close:hover { color: var(--accent-pink); transform: rotate(90deg); }

.thank-you-content {
  background: var(--card); border-radius: var(--radius);
  padding: 54px 40px; text-align: center;
  max-width: 560px; width: 90%;
  box-shadow: var(--shadow-glow);
  transform: scale(.85); transition: transform .4s;
}
.thank-you-modal.active .thank-you-content { transform: scale(1); }
.thank-you-icon {
  width: 90px; height: 90px; margin: 0 auto 26px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem; color: #fff; animation: pulse 2s infinite;
}
.thank-you-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* =================================================================== */
/*  17. RESOLVIO CHAT WIDGET – z-index override                        */
/* =================================================================== */
/* Osigurava da Resolvio widget bude iznad svega */
#resolvio-chat-root,
[id*="resolvio"],
[class*="resolvio-widget"],
[class*="resolvio-chat"],
[id*="beocart-chat"] {
  z-index: 1050 !important;
}

/* =================================================================== */
/*  18. PLUTAJUĆE DUGMAD – WhatsApp + Back-to-top                      */
/* =================================================================== */
.whatsapp-fab {
  position: fixed; bottom: 96px; right: 24px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  z-index: 900; transition: transform .2s, box-shadow .2s;
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-fab:hover { transform: scale(1.12); color: #fff; }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,.8); }
}

.back-to-top {
  position: fixed; bottom: 28px; left: 96px;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff; display: flex; align-items: center; justify-content: center;
  z-index: 900; opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: 0 5px 15px rgba(138,43,226,.4);
  font-size: 1rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); color: #fff; box-shadow: 0 8px 25px rgba(138,43,226,.6); }

/* =================================================================== */
/*  19. PLUTAJUĆI ELEMENTI (pozadina)                                   */
/* =================================================================== */
.floating-elements { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.floating-element { position: absolute; border-radius: 50%; opacity: .08; animation: float 20s infinite linear; filter: blur(40px); }
body.light-theme .floating-element { opacity: .15; }

/* =================================================================== */
/*  20. ANIMACIJE                                                       */
/* =================================================================== */
@keyframes pulse        { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
@keyframes fadeInUp     { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn       { from{opacity:0} to{opacity:1} }
@keyframes gradientShift{ 0%{background-position:0 50%} 50%{background-position:100% 50%} 100%{background-position:0 50%} }
@keyframes float        { 0%{transform:translate(0,0) rotate(0deg)} 50%{transform:translate(80px,80px) rotate(180deg)} 100%{transform:translate(0,0) rotate(360deg)} }

/* =================================================================== */
/*  21. RESPONSIVE – TABLET (≤992px)                                   */
/* =================================================================== */
@media (max-width: 992px) {
  .about-content, .artist-content, .contact-content { grid-template-columns: 1fr; gap: 32px; }
  .booking-content { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .artist-content { text-align: left; }
  .artist-social { justify-content: flex-start; }
}

/* =================================================================== */
/*  22. RESPONSIVE – MOBIL (≤768px)                                    */
/* =================================================================== */
@media (max-width: 768px) {
  /* Header */
  .logo-text h1 { font-size: 1.1rem; }
  .logo-text p  { display: none; }
  .logo-img { height: 38px; }
  .mobile-menu-btn { display: flex; }
  .theme-toggle-btn { margin-left: 0; }

  /* Mobilni meni – full-screen overlay */
  nav ul {
    display: none; position: fixed;
    inset: 0; width: 100%; height: 100vh;
    background: var(--bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    flex-direction: column; align-items: center; justify-content: center;
    padding-top: 70px; z-index: 999; gap: 0;
  }
  nav ul.active { display: flex; animation: slideDown .35s ease forwards; }
  @keyframes slideDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
  nav ul li { text-align: center; width: 100%; }
  nav ul li a { display: block; padding: 15px 20px; width: 100%; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
  body.menu-open { overflow: hidden; }

  /* Hero */
  .hero { padding: 110px 0 70px; }
  .hero-buttons { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 12px; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .stat::before { display: none; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .portfolio-item { height: 200px; }
  .filter-btn { padding: 8px 16px; font-size: .82rem; }

  /* About */
  .about-features { grid-template-columns: 1fr; }
  .about-image img { max-height: 280px; object-fit: cover; width: 100%; }

  /* Artist */
  .artist-stats { grid-template-columns: repeat(3, 1fr); }
  .artist-social { justify-content: center; }
  .artist-info { text-align: center; }
  .artist-bio p { text-align: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Booking */
  .booking-tabs { flex-direction: column; }
  .booking-form { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .booking-buttons { flex-direction: column; }
  .booking-buttons .btn { width: 100%; min-width: unset; }
  .booking-info { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .booking-info .info-card { flex: 1 1 calc(50% - 6px); min-width: 130px; }
  .resolvio-booking-wrap { min-height: 580px; }
  .resolvio-booking-wrap iframe { min-height: 580px; }

  /* Testimonials */
  .testimonial { padding: 0; }
  .testimonial-text { font-size: .95rem; }

  /* Contact */
  .map-container { min-height: 240px; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 28px; }

  /* Floating buttons */
  .whatsapp-fab { bottom: 90px; right: 16px; width: 48px; height: 48px; font-size: 1.4rem; }
  .back-to-top  { bottom: 24px; left: 80px; width: 42px; height: 42px; }

  /* Modal */
  .modal-close { top: 12px; right: 12px; font-size: 1.6rem; }
  .thank-you-content { padding: 36px 22px; }
  .thank-you-icon { width: 74px; height: 74px; font-size: 2rem; }
}

/* =================================================================== */
/*  23. RESPONSIVE – MALI EKRANI (≤480px)                              */
/* =================================================================== */
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { height: 240px; }
  .artist-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .artist-stat-number { font-size: 1.5rem; }
  .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
  .booking-info .info-card { flex: 1 1 100%; }
}

/* =================================================================== */
/*  24. REDUCED MOTION                                                  */
/* =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
