/* =============================================
   FARBANJE MEDIJAPANA BEOGRAD - Custom Styles
   Premium lakiranje MDF sajt
   ============================================= */

/* --- Custom Properties --- */
:root {
  --color-primary: #1a1a2e;
  --color-accent: #e94560;
  --color-accent-light: #ff6b81;
  --color-gold: #d4a853;
  --color-gold-light: #f0d48a;
  --color-cream: #faf7f2;
  --color-dark: #0f0f1a;
  --color-gray: #6b7280;
  --color-light-gray: #f3f4f6;

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

  --brush-red: #e94560;
  --brush-blue: #3b82f6;
  --brush-gold: #d4a853;
  --brush-teal: #14b8a6;
  --brush-purple: #8b5cf6;
  --brush-orange: #f97316;
}

/* --- Base Styles --- */
@layer base {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    font-family: var(--font-body);
    color: var(--color-primary);
    background-color: var(--color-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }

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

/* --- Utility Animations --- */
@layer utilities {
  .text-gradient {
    background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .text-gradient-light {
    background: linear-gradient(135deg, var(--color-gold-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* --- Paint Brush Stroke SVG Decoration --- */
.brush-stroke {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.brush-stroke-accent {
  opacity: 0.12;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, #16213e 50%, var(--color-primary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 83, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Animated paint drip effect */
.paint-drip {
  position: absolute;
  width: 4px;
  border-radius: 0 0 4px 4px;
  animation: drip 4s ease-in infinite;
  opacity: 0;
  z-index: 2;
}

@keyframes drip {
  0% { height: 0; opacity: 0; top: 0; }
  10% { opacity: 0.6; }
  60% { height: 120px; opacity: 0.4; }
  100% { height: 180px; opacity: 0; top: 20px; }
}

/* Floating paint particles */
.paint-particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
  opacity: 0;
  z-index: 2;
}

@keyframes float-particle {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { opacity: 0.4; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.2; }
  100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}

/* Brush stroke underline for headings */
.brush-underline {
  position: relative;
  display: inline-block;
}

.brush-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -5%;
  width: 110%;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M0,10 Q50,0 100,10 T200,10 T300,10 T400,10' fill='none' stroke='%23e94560' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  opacity: 0.7;
}

.brush-underline-gold::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20'%3E%3Cpath d='M0,10 Q50,0 100,10 T200,10 T300,10 T400,10' fill='none' stroke='%23d4a853' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

/* --- Section Divider Paint Stroke --- */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.section-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* --- Color Swatch Animation --- */
.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.color-swatch:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* --- Navigation --- */
.nav-glass {
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  transition: all 0.3s ease;
}

.nav-glass.scrolled {
  background: rgba(15, 15, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #fff;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-accent), #c13650);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c13650, var(--color-accent));
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid rgba(212, 168, 83, 0.6);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-dark:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(15, 15, 26, 0.4);
}

/* --- Cards --- */
.service-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* --- Gallery --- */
.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  box-shadow: 0 18px 45px rgba(15, 15, 26, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.9) 0%, rgba(15, 15, 26, 0.22) 48%, transparent 72%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.gallery-decor {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-section.gallery-filtered .gallery-decor {
  opacity: 0 !important;
  transform: translate3d(24px, 0, 0) !important;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--color-accent);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-item:hover {
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.1);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* --- Contact Form --- */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: var(--color-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 1rem;
  color: var(--color-gray);
  pointer-events: none;
  transition: all 0.3s ease;
  background: #fff;
  padding: 0 0.25rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.5rem;
  left: 1rem;
  font-size: 0.8rem;
  color: var(--color-accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* --- Stats Counter --- */
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-phone {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-btn-phone:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.floating-btn-top {
  background: var(--color-dark);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.floating-btn-top.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Paint Splash Background --- */
.paint-splash-bg {
  position: relative;
  overflow: hidden;
}

.paint-splash-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.06;
  z-index: 0;
}

.paint-splash-red::before {
  background: var(--brush-red);
  top: -200px;
  right: -200px;
}

.paint-splash-blue::before {
  background: var(--brush-blue);
  bottom: -200px;
  left: -200px;
}

.paint-splash-gold::before {
  background: var(--brush-gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  opacity: 1;
  color: var(--color-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 9999;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Process Steps --- */
.process-step {
  position: relative;
  padding-left: 3rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
}

/* --- Instagram Feed --- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(233, 69, 96, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover::after {
  opacity: 1;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold), var(--brush-blue), var(--brush-teal), var(--color-accent));
  background-size: 200% 100%;
  animation: gradient-move 4s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

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

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary, .btn-dark {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }
}

/* --- Smooth page transitions --- */
.page-transition {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color-accent), var(--color-gold));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--color-gold), var(--color-accent));
}

/* --- Selection Color --- */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* --- Loading Screen --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-brush {
  width: 60px;
  height: 60px;
  animation: loader-spin 1s ease-in-out infinite;
}

@keyframes loader-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* --- Map Container --- */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Parallax text --- */
.parallax-text {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 168, 83, 0.15);
  white-space: nowrap;
  position: absolute;
  z-index: 0;
  user-select: none;
}

.service-parallax {
  pointer-events: none;
  font-size: clamp(2rem, 4.5vw, 4.75rem);
  letter-spacing: 0.04em;
  -webkit-text-stroke: 1px rgba(26, 26, 46, 0.05);
}

.service-parallax-right {
  top: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1rem, 4vw, 3rem);
  left: auto !important;
  text-align: right;
}

.service-parallax-left {
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1rem, 4vw, 3rem);
  right: auto !important;
}

@media (max-width: 1599px) {
  .service-parallax {
    display: none;
  }
}

/* --- Gradient border card --- */
.gradient-border {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: none;
}

.gradient-border:hover {
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.15);
}

/* --- Toast notification for form --- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-dark);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  border-left: 4px solid #25d366;
}

.toast-error {
  border-left: 4px solid var(--color-accent);
}
