/**
 * Foto Mile Studio - Moderni CSS za 2026
 * 
 * @author Claude Code
 * @version 2.0
 * 
 * Sadržaj:
 * 1. CSS Custom Properties (varijable)
 * 2. Reset i osnovni stilovi
 * 3. Tipografija
 * 4. Layout komponente
 * 5. Header i navigacija
 * 6. Hero sekcija
 * 7. Komponente (dugmad, kartice, forme)
 * 8. Sekcije
 * 9. Footer
 * 10. Animacije
 * 11. Responsive dizajn
 * 12. Dark mode
 * 13. Accessibility
 */

/* ========================================
   1. CSS CUSTOM PROPERTIES
======================================== */

:root {
  /* Paleta boja */
  --color-primary: #1A2035;
  --color-secondary: #D4AF37;
  --color-accent: #C4A69F;
  --color-text: #2C2C2C;
  --color-text-light: #6B7280;
  --color-text-lighter: #9CA3AF;
  --color-white: #FFFFFF;
  --color-background: #F5F5F5;
  --color-background-alt: #E8E8E8;
  
  /* Gradijenti */
  --gradient-hero: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #2A3548 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, #E8C547 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, #D4B5AE 100%);
  
  /* Shadow sistema */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  
  /* Spacing sistem */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Font sizes sa fluid typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3.5rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transition */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Z-index skala */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-preloader: 9999;
}

/* Dark mode varijable */
[data-theme="dark"] {
  --color-text: #F3F4F6;
  --color-text-light: #D1D5DB;
  --color-text-lighter: #9CA3AF;
  --color-background: #111827;
  --color-background-alt: #1F2937;
  --color-white: #1F2937;
  --gradient-hero: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}

/* ========================================
   2. RESET I OSNOVNI STILOVI
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

/* ========================================
   3. TIPOGRAFIJA
======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin: 0 0 var(--space-md) 0;
  line-height: 1.7;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   4. LAYOUT KOMPONENTE
======================================== */

.container {
  max-width: min(90rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

/* Grid sistem */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

/* Visibility utilities */
.desktop-only { display: none; }
.mobile-only { display: block; }

@media (min-width: 768px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
}

/* ========================================
   5. HEADER I NAVIGACIJA
======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition-base);
}

[data-theme="dark"] .header {
  background: rgba(31, 41, 55, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: var(--space-md) 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  z-index: var(--z-modal);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover,
.logo:focus {
  color: var(--color-secondary);
  text-decoration: none;
}

.logo-icon {
  color: var(--color-secondary);
  transition: transform var(--transition-spring);
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.1);
}

.accent {
  color: var(--color-secondary);
}

/* Desktop navigacija */
.navbar-menu {
  display: none;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: block;
  }
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-secondary);
  background: rgba(212, 175, 55, 0.1);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

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

/* Navbar akcije */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  overflow: hidden;
}

.theme-toggle:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-base);
}

.sun-icon {
  opacity: 1;
}

.moon-icon {
  opacity: 0;
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-line {
  width: 1.5rem;
  height: 0.125rem;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.mobile-menu-toggle.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:last-child {
  transform: rotate(-45deg) translate(0.3rem, -0.3rem);
}

/* Mobile navigacija */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: var(--z-fixed);
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

[data-theme="dark"] .mobile-nav {
  background: var(--color-background);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav-content {
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0 0 var(--space-2xl) 0;
  padding: 0;
}

.mobile-nav-menu li {
  margin-bottom: var(--space-md);
}

.mobile-nav-menu a {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  color: var(--color-secondary);
  background: rgba(212, 175, 55, 0.1);
}

.mobile-nav-cta {
  margin-bottom: var(--space-2xl);
}

.mobile-nav-social {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.mobile-nav-social a {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-nav-social a:hover {
  color: var(--color-secondary);
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.1);
}

/* ========================================
   6. PROGRESS BAR
======================================== */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 0.25rem;
  background: var(--gradient-secondary);
  z-index: var(--z-tooltip);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

/* ========================================
   7. PRELOADER
======================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  opacity: 1;
  visibility: visible;
  transition: all var(--transition-slow);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  margin-bottom: var(--space-lg);
}

.preloader-text {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

/* ========================================
   8. SKIP LINK (ACCESSIBILITY)
======================================== */

.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: var(--z-tooltip);
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: var(--space-md);
  text-decoration: none;
}

/* ========================================
   9. DUGMAD
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-spring);
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 120%;
  height: 120%;
}

/* Primary dugme */
.btn-primary {
  background: var(--gradient-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: var(--color-white);
  text-decoration: none;
}

/* Secondary dugme */
.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  text-decoration: none;
}

/* Outline dugme */
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text-lighter);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-text);
  color: var(--color-white);
  text-decoration: none;
}

/* Veličine dugmadi */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn-block {
  width: 100%;
}

/* ========================================
   10. KARTICE
======================================== */

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

[data-theme="dark"] .card {
  background: var(--color-white);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-lg);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

/* ========================================
   11. HERO SEKCIJA
======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 32, 53, 0.6);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-white);
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeIn 1s var(--transition-spring) 0.5s forwards;
}

.hero-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeIn 1s var(--transition-spring) 0.8s forwards;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  opacity: 0;
  transform: translateY(2rem);
  animation: heroFadeIn 1s var(--transition-spring) 1.1s forwards;
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Hero animacije */
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   12. SEKCIJE
======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--color-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  color: var(--color-text-light);
  font-size: var(--text-lg);
}

/* ========================================
   13. GALERIJA
======================================== */

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--color-text-lighter);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(212, 175, 55, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}

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

.gallery-info h4 {
  color: var(--color-white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin: 0;
}

/* ========================================
   14. TESTIMONIALS
======================================== */

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: var(--space-xl);
}

.testimonial-text {
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-secondary);
}

.testimonial-info h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.testimonial-rating {
  color: var(--color-secondary);
  font-size: var(--text-sm);
}

/* ========================================
   15. FORME
======================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-text-lighter);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-error {
  color: #EF4444;
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

/* ========================================
   16. FOOTER
======================================== */

.newsletter-section {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: var(--space-4xl) 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.newsletter-content p {
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

@media (max-width: 767px) {
  .newsletter-input-group {
    flex-direction: column;
  }
}

.newsletter-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: var(--text-base);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
  flex-shrink: 0;
}

.footer-main {
  background: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

[data-theme="dark"] .footer-main {
  background: var(--color-white);
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  margin-bottom: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: var(--color-text-light);
  transition: color var(--transition-base);
}

.footer-link:hover,
.footer-link:focus {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer-social h4 {
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
  transition: all var(--transition-spring);
}

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  color: var(--color-white);
  text-decoration: none;
}

.social-link.facebook:hover { background: #1877F2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #F56040, #E1306C, #833AB4); }
.social-link.youtube:hover { background: #FF0000; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  margin-top: 0.125rem;
}

.contact-text {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-text a {
  color: var(--color-secondary);
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-base);
  margin-top: var(--space-lg);
}

.whatsapp-contact:hover {
  background: #128C7E;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--color-white);
}

.footer-bottom {
  background: var(--color-background);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-text-lighter);
}

[data-theme="dark"] .footer-bottom {
  background: var(--color-background);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.made-with {
  margin-top: var(--space-xs);
  margin-bottom: 0;
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.legal-link {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.legal-link:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

/* ========================================
   17. BACK TO TOP
======================================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient-secondary);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.progress-ring {
  position: absolute;
  top: -2px;
  left: -2px;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset var(--transition-fast);
}

/* ========================================
   18. WHATSAPP FLOAT
======================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  transition: all var(--transition-spring);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  color: var(--color-white);
  text-decoration: none;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   19. COOKIE CONSENT
======================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-modal);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  border-top: 1px solid var(--color-text-lighter);
}

[data-theme="dark"] .cookie-consent {
  background: var(--color-white);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.cookie-text p {
  margin: 0;
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

.cookie-link {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ========================================
   20. LOADING SKELETONS
======================================== */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-md);
}

[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #374151 25%, #4B5563 50%, #374151 75%);
  background-size: 200% 100%;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: var(--space-sm);
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: var(--space-md);
}

.skeleton-image {
  height: 12rem;
  margin-bottom: var(--space-md);
}

/* ========================================
   21. ANIMATIONS
======================================== */

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: all 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(2rem);
  transition: all 0.6s ease;
}

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

/* Stagger animacija */
.stagger-item {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   22. RESPONSIVE DESIGN
======================================== */

@media (max-width: 767px) {
  :root {
    --space-4xl: 3rem;
    --space-5xl: 4rem;
  }
  
  .hero {
    min-height: 100vh;
    padding: var(--space-2xl) 0;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }
  
  .whatsapp-float {
    bottom: calc(var(--space-lg) + 4rem);
    left: var(--space-lg);
  }
}

@media (min-width: 1440px) {
  .hero-content {
    max-width: 1000px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

/* ========================================
   23. ACCESSIBILITY POBOLJŠANJA
======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
}

/* Focus visible */
.focus-visible:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ========================================
   24. PRINT STILOVI
======================================== */

@media print {
  .header,
  .mobile-nav,
  .whatsapp-float,
  .back-to-top,
  .cookie-consent,
  .preloader {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    min-height: auto;
    background: white;
  }
  
  .hero::before {
    display: none;
  }
  
  .hero-content {
    color: black;
  }
}