:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: #f7f5f2;
  --color-bg-2: #f6f6f6;  /* changed: neutral light gray */
  --color-bg-3: #f6f6f6;
  --color-bg-4: #f3f3f3;
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: #fff;
  --color-surface: var(--color-cream-100);
  --color-text: #000;
  --color-text-secondary: #000;
  --color-primary: #C9A077;
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-btn-primary-hover: #6F5338;
  --color-btn-primary-active: #5E462F;
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: #000;
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "Cormorant Garamond", Georgia, serif;
  --font-family-heading: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 12px;
--font-size-sm: 14px;
--font-size-base: 16px;  /* ← this is the “regular text” size */
--font-size-md: 16px;
--font-size-lg: 18px;
--font-size-xl: 20px;
--font-size-2xl: 22px;
--font-size-3xl: 26px;
--font-size-4xl: 32px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.nav__link,
.navdropdown-link,
.btn{
  font-family: var(--font-family-heading);
}




.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card__list li {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  padding: 4px 0;
  position: relative;
  padding-left: 18px;
}

.service-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
}


.hero__text-box {
  display: inline-block;
  margin: 0 auto;
  padding: 24px 32px;
  background: rgba(0, 0, 0, 0.45); /* transparent dark layer behind text */
  border-radius: 12px;
  backdrop-filter: blur(2px);      /* optional, gives a glass effect */
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

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

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
  border: 1px solid transparent; /* prevents “jump” when border appears on hover */
}

.btn--primary:hover {
  background: #fff;                /* white background */
  color: #000;                     /* black text */
  border-color: var(--color-primary); /* nice outline using your primary color */
}

.btn--primary:active {
  background: #fff;
  color: #000;
  border-color: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

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

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .featured-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Custom styles for the luxury interior design website */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-standard);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) var(--space-24);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.nav__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;          /* space between logo and text */
}

.nav-logo {
  height: 52px;       /* adjust until it feels right */
  width: auto;
  display: block;
}

.nav__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: var(--letter-spacing-tight);
}

.nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-32);
}

.nav__link {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--duration-normal) var(--ease-standard);
}

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

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

.nav__link--active {
  color: var(--color-primary);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
  z-index: 1001;
  position: relative;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--duration-normal) var(--ease-standard);
}

/* Mobile Navigation Styles */
.nav__menu--open {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-32);
  z-index: 999;
}

.nav__menu--open .nav__link {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  color: var(--color-white);
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-24);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-tight);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--color-white); /* or color: #ffffff; */
}

.hero__subtitle {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-family: var(--font-family-base);
  font-weight: 300;
  margin-bottom: var(--space-32);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  font-size: var(--font-size-lg);
  padding: var(--space-12) var(--space-32);
  cursor: pointer;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-32);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Awards Section */
.awards {
  padding: 120px 0;
  background: var(--color-bg-1);
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.award-card {
  background: var(--color-surface);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
}

.award-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.award-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-16);
  color: var(--color-primary);
}

.award-card__description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* Masterclass Section */
.masterclass {
  padding: 0px 0 60px 0;
  background: var(--color-surface);
}

.masterclass__content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-32);
  align-items: center;
}

.masterclass__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-24);
  color: var(--color-text);
}

.masterclass__description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-24);
  line-height: var(--line-height-normal);
}

.masterclass__topics {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-32) 0;
}

.masterclass__topics li {
  font-size: var(--font-size-base);
  color: var(--color-text);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: var(--space-20);
}

.masterclass__topics li::before {
  content: '•';
  color: var(--color-black);
  position: absolute;
  left: 0;
  font-weight: var(--font-weight-bold);
}

.masterclass__image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.masterclass__photo {
  width: 100%;
  object-fit: contain;      /* was: cover */
  object-position: center;
  height: 500px;
}

/* Statistics Section */
.statistics {
  padding: 80px 0;
  background: var(--color-bg-1);
  background-image: url('images/NP5 Image_max.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

/* ADD THIS - The dimming overlay */
.statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(247, 245, 242, 0.7);  /* ← ADJUST THE 0.7 NUMBER */
  z-index: 1;
  pointer-events: none;
}

/* Make sure grid stays above overlay */
.statistics__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
  text-align: center;
}

.stat-item__number {
  font-size: 48px;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  color: #462300;
  margin-bottom: var(--space-8);
}

.stat-item__label {
  font-size: var(--font-size-lg);
  font-family: var(--font-family-base);
  color: #462300;
  font-weight: var(--font-weight-bold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Portfolio Section */
.portfolio {
  padding: 60px 0 120px;
  background: var(--color-background);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  cursor: pointer;
  height: 350px;
}

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

.project-card__image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

.project-card__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: flex-end;
	padding: var(--space-24);
	opacity: 1; ← STARTS VISIBLE (DARK SHADOW)
	transition: opacity var(--duration-normal) var(--ease-standard);
	z-index: 2;

}

.project-card:hover .project-card__overlay {
  opacity: 0;
}

.project-card__content {
  color: var(--color-white);
}

.project-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-8);
}

.project-card__category {
  font-size: var(--font-size-sm);
  color: var(--color-teal-300);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-12);
}

.project-card__description {
  font-size: var(--font-size-base);
  opacity: 0.9;
  line-height: var(--line-height-normal);
  margin: 0;
}

/* Services Section */
.services {
  padding: 60px 0 120px;   /* less space above, same below */
  background: var(--color-bg-3);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.service-card {
  background: var(--color-surface);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.service-card__description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* About Section */
.about {
  padding: 60px 0 60px;
  background: #fff;
}

.about__content {
  display: grid;
  font-family: var(--font-family-base);
  grid-template-columns: 1fr 500px;
  gap: var(--space-32);
  align-items: center;
}

.about__title {
  font-size: var(--font-size-3xl);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-24);
  color: var(--color-text);
}

.about__description,
.about__philosophy,
.about__approach {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-20);
}

.about__image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__photo {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* Contact Section */
.contact {
  padding: 60px 0 80px;
  background: #fff;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.contact__form {
  background: var(--color-surface);
  padding: var(--space-32);
  border-radius: 0;
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.contact-item__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.contact-item__text {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}

.contact-item__social {
  display: flex;
  gap: var(--space-16);
  color: #834F1C;
}

.social-link {
  font-size: var(--font-size-base);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--duration-fast) var(--ease-standard);
}

.social-link:hover {
  color: #834F1C;
}

/* Form Messages */
.form-message {
  padding: var(--space-12) var(--space-16);
  margin-bottom: var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-sm);
}

.form-message--success {
  background: rgba(var(--color-success-rgb), 0.1);
  color: var(--color-success);
  border: 1px solid rgba(var(--color-success-rgb), 0.2);
}

.form-message--error {
  background: rgba(var(--color-error-rgb), 0.1);
  color: var(--color-error);
  border: 1px solid rgba(var(--color-error-rgb), 0.2);
}

.form-group--focused .form-label {
  color: var(--color-primary);
}

/* Footer */
.footer {
  padding: var(--space-32) 0;
  background: #834F1C;
  color: #fff;
}

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

.footer__text {
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer__social {
  display: flex;
  gap: var(--space-16);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: #fff;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer__link:hover {
  color: #fff;
  opacity: 0.85; /* optional */
}

.nav__flag {
  width: 30px;          /* adjust size as needed */
  height: 20px;
  object-fit: cover;
  border-radius: 0px;   /* optional */
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav__menu {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .masterclass__content,
  .about__content,
  .contact__content {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .masterclass__image,
  .about__image {
    order: -1;
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
  }
  
  .hero__subtitle {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--space-16);
  }
  
  .awards__grid,
  .portfolio__grid,
  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .statistics__grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  
  .hero__title {
    font-size: var(--font-size-2xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .footer__content {
    flex-direction: column;
    gap: var(--space-16);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero__title {
    font-size: var(--font-size-xl);
  }
  
  .hero__subtitle {
    font-size: var(--font-size-base);
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .award-card,
  .service-card,
  .contact__form {
    padding: var(--space-24);
  }
  
  .masterclass__photo,
  .about__photo {
    height: 300px;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  
  .project-card {
    height: 280px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.hero__image,
.project-image,
.masterclass__photo,
.about__photo {
  transition: opacity var(--duration-normal) var(--ease-standard);
}

.hero__image:not([src]),
.project-image:not([src]),
.masterclass__photo:not([src]),
.about__photo:not([src]) {
  opacity: 0;
}

/* Focus states for accessibility */
.btn:focus-visible,
.nav__link:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Active states */
.project-card:active {
  transform: translateY(-2px);
}

.service-card:active,
.award-card:active {
  transform: translateY(-1px);
}
.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 32px);
    margin-bottom: var(--space-40);
}

@media (min-width: 1024px) {
    .featured-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.featured-project-card {
    background: var(--color-surface);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-standard);
    cursor: pointer;
}

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

.featured-project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
	opacity: 0.55;
	transition: opacity 250ms var(--ease-standard), transform 250ms var(--ease-standard);
}

.featured-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-standard);
}

.featured-project-card:hover .featured-project-card__image {
    opacity: 1;
}

.featured-project-card:hover .featured-project-card__image img {
    transform: scale(1.1);
}

.featured-project-card__content {
    padding: var(--space-24);
}

.featured-project-card__content h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-8);
}

.featured-project-card__content p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin: 0;
}

.projects__cta {
    text-align: center;
    margin-top: 40px;
	margin-bottom: 80px;
}

.projects {
  padding-top: 20px; /* increase/decrease until it looks right */
}

.projects .container {
  max-width: none;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}

@media (max-width: 768px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== HERO CAROUSEL STYLES ===== */

/* Carousel Container */
.hero__carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  touch-action: pan-y;
}

/* Carousel Slides */
.hero__carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.hero__carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background: white;
  width: 32px;
  border-radius: 6px;
}

/* Navigation Arrows (Optional) */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
}

.carousel-nav button {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive - Hide Navigation Arrows on Mobile */
@media (max-width: 768px) {
  .carousel-nav {
    display: flex;          /* undo the display:none */
    padding: 0 12px;        /* smaller padding for phones */
  }

  .carousel-indicators {
    bottom: 1.5rem;
    gap: 0.75rem;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

  .carousel-indicator.active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .carousel-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }
}


/* Services Split (white background) */
.services-split {
  background: #ffffff;
  padding: 60px 0;
}

.services-split__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-32);
  align-items: center;
}

.services-split__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--space-24) 0;
  color: var(--color-text);
}

.services-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
}

.services-split__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.services-split__icon {
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

.services-split__icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.services-split__item-title {
  margin: 0 0 var(--space-8) 0;
  font-size: var(--font-size-xl);
  color: var(--color-text);
}

.services-split__item-text {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.services-split__media {
  background: #ffffff;
}

.services-split__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-split__inner {
    grid-template-columns: 1fr;
  }

  .services-split__grid {
    grid-template-columns: 1fr;
  }

  .services-split__media img {
    height: 380px;
  }
}


.service-packages{
  /* Full width background image you control */
  background-image: linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)), var(--packages-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.service-packages__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  align-items: stretch;
}

.service-packages__card{
  background: var(--color-surface);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-standard);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;   /* keeps content centered */
  height: 100%;          /* makes all cards equal height inside the grid */
}

.service-packages__card:hover{
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}



.service-packages__title{
  margin: 0 0 var(--space-20) 0;
  font-size: var(--font-size-2xl);
  color: var(--color-text);
  text-align: center;
}

.service-packages__list{
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.service-packages__list li{
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-packages__list li:last-child{
  border-bottom: none;
}

.service-packages__cta{
  background: filled;  /* ← CHANGED: transparent instead of filled */
  color: white; /* ← CHANGED: text color instead of white */
  border: 1px solid var(--color-border);  /* ← ADD: border outline */
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.service-packages__card--featured .service-packages__cta{
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

@media (max-width: 1024px){
  .service-packages__grid{ grid-template-columns: 1fr; }
  .service-packages__card{ min-height: auto; }
}

/* Idejno rješenje – nova sekcija sa svijetlom pozadinskom slikom */
/* FULL-WIDTH (full-bleed) background + centered white card */
.idejno-section{
  /* break out of any parent container width */
  width: 100%
  margin-left: 0;
  margin-right: 0;
  padding: 90px 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    var(--packages-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* center the white box horizontally */
.idejno-section .container{
  display: flex;
  justify-content: center;
}

/* optional: keep it nicely centered and not too wide */
.idejno-box{
  width: min(920px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 28px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Narrower rectangle */
.idejno-box{
  max-width: 680px;   /* try 640–720px until it feels perfect */
  width: 100%;
}

/* Make the "Za koga je ovo najbolje?" card feel more spacious */
.idejno-box{
  font-family: var(--font-family-base);
  padding: 42px 44px;          /* more inner whitespace */
  max-width: 640px;            /* keep it narrow (adjust 600–680px) */
}

/* Title */
.idejno-box .idejno-subtitle{
  font-family: var(--font-family-base);
  font-size: var(--font-size-2xl);
  line-height: 1.25;
  margin: 0 0 14px 0;
}

/* Paragraph text */
.idejno-box .idejno-text{
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.85;           /* more airy */
  margin: 0 0 22px 0;          /* more space under paragraph */
  color: var(--color-text-secondary);
}

/* List spacing */
.idejno-box .service-cardlist{
  margin: 0;
  padding-left: 18px;          /* keeps bullets nicely aligned */
}

.idejno-box .service-cardlist li{
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.85;           /* airy list lines */
  padding: 10px 0;             /* space between items */
}





/*idejno rješenje - process section*/
/* Process section */
.process-section{
  padding: 90px 0;
  background: #fff;
}

.process-header{
  max-width: 820px;
  margin: 0 auto 34px auto;
  text-align: center;
}

.process-title{
  font-family: var(--font-family-base);
  font-size: var(--font-size-3xl);
  color: var(--color-text);
  margin: 0 0 10px 0;
}

.process-subtitle{
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Stepper layout */
.process-steps{
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 0; /* room for the line + badges */
}

/* each row */
.process-step{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

/* number badge */
.process-step__badge{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: none;
  place-items: center;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  color: var(--color-text);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-xs);
  position: relative;
  z-index: 1;
}

/* card */
.process-step__card{
  background: #fff;
  backdrop-filter: none;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical centering */
  align-items: center;      /* horizontal centering */
  text-align: center;       /* centers the text lines */
  min-height: 110px;        /* tweak */         /* adjust until it looks right */
}

.process-step__title{
  margin: 0 0 8px 0;
  font-size: var(--font-size-xl);
  color: var(--color-text);
}

.process-step__text{
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.85;
  font-size: var(--font-size-base);
}

/* Mobile */
@media (max-width: 640px){
  .process-steps{
    padding-left: 0;
  }
  .process-steps::before{
    display: none;
  }
  .process-step{
    grid-template-columns: 1fr;
  }
  .process-step__badge{
    margin-left: 0;
  }
}



/*adding the shadow boxes to the text and image part */

/* Reusable big white rectangle (panel) for sections */
.panel{
  background: #fff;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 56px);

  /* Remove the hard separation line */
  border: none;

  /* Soft “halo” edge + shadow around all sides */
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.04),     /* soft edge, not a harsh line */
    0 10px 35px rgba(0,0,0,0.08),   /* depth */
    0 0 30px rgba(0,0,0,0.06);      /* even glow on all sides */
}





/* =========================
   Što dobivate? (Deliver)
   ========================= */

.deliver-section{
  padding: 60px 0 20px;
  background: transparent; /* keeps your page styling */
}

.deliver-panel{
  padding: clamp(28px, 4vw, 56px);
}

.deliver-title{
  margin: 0 0 22px 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.deliver-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.deliver-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(10px);
  opacity: 0;
  animation: deliverIn 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  
}

.deliver-card:nth-child(2){ animation-delay: 120ms; }
.deliver-card:nth-child(3){ animation-delay: 240ms; }

.deliver-label{
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.deliver-value{
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}

.deliver-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.12);
}

@keyframes deliverIn{
  to { transform: translateY(0); opacity: 1; }
}

/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce){
  .deliver-card{
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px){
  .deliver-grid{ grid-template-columns: 1fr; }
  .deliver-card{ text-align: left; }
}




/*hero services-idejno zoom out */


.hero-zoomout{
  width: 100%;
  height: 70vh;
  padding: 0;              /* IMPORTANT: no clamp(...) here */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.hero-zoomout .project-heroimage{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-zoomout .project-heroimage img{
  width: auto;
  height: auto;
  max-width: min(1100px, 92vw);  /* smaller */
  max-height: 70vh;              /* fits hero height */
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Project Hero */
.project-hero {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: var(--color-secondary);
}

/* Dark overlay */
.project-hero.hero-zoomout .hero-dim{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20); /* make darker: 0.55, lighter: 0.35 */
  pointer-events: none;
}

@media (max-width: 768px) {
  .project-hero {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .project-hero {
    height: 300px;
  }
}

.project-hero__image {
  width: 100%;
  height: 100%;
}

.project-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* SERVICES - IZVEDBENO: full-bleed hero (no zoom-out/contain) */
.project-hero.project-hero--izvedbeno{
  position: relative;
  width: 100%;
  height: 600px; /* keep your current desktop height */
  margin: 0;
  overflow: hidden;
  background: #000; /* fallback while image loads */
}

.project-hero.project-hero--izvedbeno .project-heroimage{
  position: relative;
  width: 100%;
  height: 100%;
}

.project-hero.project-hero--izvedbeno .project-heroimage img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* key: span full width, no "zoomed out" contain */
  object-position: center;
  display: block;
}

/* overlay + centered title for this page (since your current rules are under .hero-zoomout) */
.project-hero.project-hero--izvedbeno .hero-dim{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20);
  pointer-events: none;
}

.project-hero.project-hero--izvedbeno .hero-title{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(28px, 5vw, 64px);
  font-family: var(--font-family-base);
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  letter-spacing: 0.02em;
  pointer-events: none;
}

@media (max-width: 768px){
  .project-hero.project-hero--izvedbeno{ height: 400px; }
}
@media (max-width: 480px){
  .project-hero.project-hero--izvedbeno{ height: 300px; }
}



/* Full-width image section (put after .process-section in HTML) */
.fullwidth-image-section{
  background: #fff;        /* shows behind image if it doesn’t fill */
  padding: 24px 0;         /* optional: space above/below */
}

.fullwidth-image{
  width: 100%;
  height: clamp(360px, 45vw, 720px);  /* tweak if you want more “zoom out” */
  object-fit: contain;     /* key: shows more of the image (no cropping) */
  object-position: center;
  display: block;
}





/*FAQ section*/


/* FAQ section */
.faq-section{
  padding: 60px 0 30px 0px;
  background: #fff;
}

.faq-panel{
  max-width: 900px;
  margin: 0 auto;
}

.faq-header{
  text-align: center;
  margin-bottom: 36px;
}

.faq-title{
  font-size: var(--font-size-3xl);
  margin: 0 0 10px 0;
}

.faq-subtitle{
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  line-height: 1.7;
}

.faq-accordion{
  display: grid;
  gap: 12px;
}

/* Each accordion item */
.faq-item{
  background: var(--color-surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question{
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-question::-webkit-details-marker{
  display: none;
}

/* Plus/minus icon */
.faq-question::after{
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #C9A077;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.faq-item[open] .faq-question::after{
  content: "–";
  transform: rotate(180deg);
}

.faq-answer{
  padding: 0 20px 20px 20px;
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.faq-answer p{
  margin: 0 0 14px 0;
}

.faq-list{
  margin: 0 0 14px 0;
  padding-left: 18px;
}

.faq-list li{
  padding: 6px 0;
}

/* Focus styles for accessibility */
.faq-question:focus-visible{
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Slight hover polish */
.faq-item:hover{
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.12);
}



/* Process panel: light background image only under this panel */
.panel--process-bg{
  --process-bg: url("images/doka_logo_2.png"); /* <-- set your image path here */

  background-image:
    linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
    var(--process-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/*new smaller carousel*/


/* ===== MINI CLICKABLE CAROUSEL (for services-idejno.html) ===== */
.mini-project-carousel {
  padding: 20px 0 0 0;
  background: var(--color-background);
}

.mini-carousel {
  position: relative;
  max-width: 1200px;   /* was 980px */
  width: 100%;         /* keep */
  margin: 0 auto;
  border-radius: 0;     /* was 14px */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}

.mini-carousel-container {
  position: relative;
  height: clamp(320px, 32vw, 520px);  /* was clamp(240px, 26vw, 360px) */
}

/* Slides */
.mini-carousel-slide {
  position: absolute;
  inset: 0;
  display: block; /* anchor fills the area */
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.mini-carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.mini-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Bottom gradient for readability */
.mini-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

/* Make the gallery carousel background MUCH lighter */
.mini-carousel[data-carousel="gallery"] .mini-carousel-slide::after{
  background: rgba(0,0,0,0.09); /* try 0.05–0.15 */
}

/* Centered white text (hero-like) */
.mini-carousel-caption {
  position: absolute;
  inset: 0;                 /* fill the slide */
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
  text-align: center;

  color: #fff;
  padding: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms var(--ease-standard), transform 450ms var(--ease-standard);
  pointer-events: none;     /* keep whole slide clickable */
}

.mini-carousel-slide.active .mini-carousel-caption {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 650ms ease both; /* reuse your existing animation */
}

.mini-carousel-caption h3 {
  margin: 0 0 10px 0;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.mini-carousel-caption p {
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.6vw, 20px);
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.mini-carousel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
}

/* Dots */
.mini-carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mini-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 250ms ease;
}

.mini-carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.85);
}

.mini-carousel-indicator.active {
  background: #fff;
  width: 28px;
  border-radius: 6px;
}

/* Arrows */
.mini-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.mini-carousel-nav button {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.30);
  border: 2px solid #fff;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 250ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-carousel-nav button:hover {
  background: rgba(255, 255, 255, 0.50);
  transform: scale(1.07);
}

@media (max-width: 768px) {
  .mini-carousel-nav {     display: flex;          /* undo the display:none */
    padding: 0 12px;        /* smaller padding for phones */ }
  .mini-carousel { border-radius: 12px; }
}

.statistics.statistics--idejno {
  background-image: url("images/NP 8 - Scene 15_max.webp");
   margin-top: 48px;   /* <-- space between picture section and statistics section */
  padding-top: 128px; /* <-- extra space inside stats (optional) */
  }


/* CONTACT: allow the panel watermark to show through */
.contact--logo-bg .contact__form{
  background: rgba(255,255,255,0);  /* try 0.60–0.80 */
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  backdrop-filter: blur(2px); /* optional polish */
}

/* Optional: keep inputs solid-ish so they stay clean */
.contact--logo-bg .contact__form .form-control{
  background: rgba(255,255,255,0.90);
}

.panel--process-bg-index{
  --process-bg: url("images/NP4 Image9.webp"); /* <-- set your image path here */

  background-image:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    var(--process-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Make right-side contact info more visible */
.contact--logo-bg .contact-itemtitle{
  font-weight: 700; /* was 600 */
}

.contact--logo-bg .contact-itemtext{
  font-weight: 600; /* make the phone/email/location bolder */
  color: var(--color-text); /* optional: darker than secondary */
}


/* Make Services background behave like Statistics (parallax feel) */
.service-packages{
  background-attachment: fixed;
}

/* Optional: iOS Safari fallback (fixed is often ignored) */
@media (max-width: 768px){
  .service-packages{ background-attachment: scroll; }
}


/* Dropdown (USLUGE) */
.navitem--dropdown {
  position: relative;
}

.navdropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0 10px; 
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 2000;
}



/* Desktop hover only (JS can temporarily suppress hover after click-close) */
@media (hover: hover) and (pointer: fine) {
  .navitem--dropdown:not(.hover-suppressed):hover > .navdropdown {
    display: block;
  }
}

/* JS click toggle */
.navitem--dropdown.is-open > .navdropdown {
  display: block;
}


/* Mobile menu dropdown should stack nicely not absolute floating */
@media (max-width: 1024px) {
  .nav-menu--open .nav-item--dropdown {
    position: static;
  }
  
  .nav-menu--open .nav-dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 8px 0;
    text-align: center;
  }
  
  .nav-menu--open .nav-dropdown-link {
    padding: 10px 0;
  }
}


/* Rotate caret when open */
.navitem--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}



/* Make dropdown links match top nav links */
.navdropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text);
  text-decoration: none;
}

/* Prevent the nav underline effect inside the dropdown */
.navdropdown-link::after{
  content: none;
}

/* Keep hover behavior consistent */
.navdropdown-link:hover{
  color: var(--color-primary);
}



/* Caret arrow for dropdown items */
.nav__link--dropdown{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__caret{
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(0); /* was 1px */
  transition: transform var(--duration-normal) var(--ease-standard);
}



@media (hover: hover) and (pointer: fine) {
  .navitem--dropdown:not(.hover-suppressed):hover .nav__caret {
    transform: rotate(180deg);
  }
}

.navitem--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}



/* Brand text ("DOKA Design") should be black, not teal */
.nav__title-link,
.nav__title-link:visited {
  color: var(--color-text);
  text-decoration: none;
}

.nav__title-link:hover,
.nav__title-link:focus {
  color: var(--color-text);
}

/* Full-width hero area */
.project-hero{
  width: 100%;
  margin: 0;
}

/* Make sure the overlay can sit on top of the image */
.hero-zoomout .project-heroimage{
  position: relative;
}

/* Dark overlay */
.hero-zoomout .hero-dim{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* adjust 0.35–0.60 */
  pointer-events: none;
}

/* Centered title */
.hero-zoomout .hero-title{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(28px, 5vw, 64px);
  font-family: var(--font-family-base);
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  letter-spacing: 0.02em;
  pointer-events: none;
}


/* Wider container only on services-izvedbeno */
.page-izvedbeno .about .container {
  max-width: 1400px;
}

/* Give the image column more space on desktop */
@media (min-width: 1024px) {
  .page-izvedbeno .about__content {
    grid-template-columns: 1fr minmax(520px, 800px);
  }
}

/* Izvedbeno page: show full image (no crop) */
.page-izvedbeno .about__image{
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-izvedbeno .about__photo{
  width: 100%;
  height: auto;        /* remove fixed height so it can scale naturally */
  max-height: 820px;   /* optional: prevents it from getting too tall */
  object-fit: contain; /* IMPORTANT: shows the whole image */
  background: #fff;    /* optional: looks nicer if image has transparent/white areas */
}

/* Center content inside a big white panel (both axis) */
.panel--center{
  display: grid;
  place-items: center;   /* vertical + horizontal */
  text-align: center;
  min-height: 320px;     /* optional */
}

/* Correct class names (match your HTML) */
.panel--center .about__content{
  grid-template-columns: 1fr; /* collapse to one column */
  justify-items: center;
  width: 100%;
}

.panel--center .about__text{
  max-width: 820px;      /* keep text readable */
  margin: 0 auto;
}


/* Button-like title/subtitle under each featured project image */
.featured-project-cardbtn{
  flex-direction: column;
  align-items: flex-start; /* change to center if you prefer */
  gap: 6px;
  text-align: left;
  padding: var(--space-12) var(--space-16);
}

/* Typography inside the button */
.featured-project-cardbtn .fp-title{
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
}

.featured-project-cardbtn .fp-subtitle{
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

/* IMPORTANT: when hovering the image/card, apply the same hover look to the button */
.featured-project-card:hover .featured-project-cardbtn{
  background: #fff;
  color: #000;
  border-color: var(--color-primary);
}


.project-gallery {
  padding: 60px 0;
}

.project-gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: 1100px;  /* try 1000–1200px */
  margin: 0 auto;
}

/* “Card” wrapper */
.gallery-item{
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Make images fill the box nicely */
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layout sizes */
.gallery-item--large{
  grid-column: 1 / -1;     /* spans both columns */
  aspect-ratio: 16 / 9;
}

.gallery-item--small{
  aspect-ratio: 16 / 10;   /* tweak if you want taller/shorter */
}

/* Mobile: stack everything */
@media (max-width: 768px){
  .project-gallery-grid{
    grid-template-columns: 1fr;
  }
  .gallery-item--large{
    grid-column: auto;
  }
}



/* Panels after gallery */
.project-panels{
  padding: 10px 0 80px;
}

.project-panel{
  max-width: 1100px;
  margin: 0 auto 28px;
}

/* Centered “intro/outro” panels */
.project-panel--intro,
.project-panel--outro{
  text-align: center;
}

/* Two-column panel like on your screenshot */
.project-panel--two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

/* Typography */
.project-panel-title{
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 14px;
}

.project-panel-subtitle{
  font-size: clamp(16px, 1.6vw, 20px);
  margin-bottom: 10px;
}

.project-panel-text{
  max-width: 900px; /* keeps centered text readable */
  margin: 0 auto;
  color: var(--color-text-secondary);
  line-height: 1.8;
}


@media (max-width: 480px) {
  .project-hero.project-hero--izvedbeno .hero-title {
    width: 100%;
    text-align: center;
    padding: 70px 16px 0;  /* 70px ≈ header height; adjust to match your header */
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 80px;         /* adjust to your header height */
    box-sizing: border-box;
  }
}


/* Make only the first hero title ("Tvoj Prostor...") bigger + bolder on mobile */
@media (max-width: 768px) {
  .hero__content .hero__title:first-of-type {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    font-weight: 550;
    line-height: 1.08;
  }

  .hero__subtitle {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .hero__content .hero__title:first-of-type {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    font-weight: 550; /* if font supports it; otherwise it will behave like 700 */
	line-height: 1.08;
  }
}

@media (max-width: 768px) {
  .project-hero.project-hero--izvedbeno .hero-title {
    width: 100%;
    text-align: center;
    padding: 70px 16px 0;  /* offset od fixed headera */
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .project-hero.hero-zoomout .project-heroimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* override the zoom-out constraints */
    max-width: none;
    max-height: none;
  }
}



/* Mobile: stack columns */
@media (max-width: 900px){
  .project-panel--two-col{
    grid-template-columns: 1fr;
  }
}

.stat-item__number { font-size: 32px; }
.stat-item__label  { font-size: 16px; }


.services-splitmedia img{
  width: 100%;
  height: 520px;        /* može ostati fiksno */
  object-fit: contain;  /* ključ: prikaže cijelu sliku */
  object-position: center;
  background: #fff;     /* da “prazni” prostor izgleda čisto */
}



/* Services Split: same layout logic as Izvedbeno "about" (panel contains both columns) */
#services-split .services-split__panel{
  display: grid;
  grid-template-columns: 1.1fr minmax(520px, 820px);
  gap: var(--space-32);
  align-items: center;
}

/* Show whole image (no crop) */
#services-split .services-split__media{
  display: flex;
  align-items: center;
  justify-content: center;
}

#services-split .services-split__media img{
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}


/* 1) Ensure left side actually stretches */
#services-split .services-split__content{
  width: 100%;
  max-width: none;
}
/* Services Split: narrower text, bigger image */
#services-split .services-split__panel{
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(0, 1fr); /* text capped, image takes the rest */
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}




/* Prevent the text grid from overflowing into the image column */
#services-split .services-split__panel > *{
  min-width: 0; /* IMPORTANT for CSS grid */
}

#services-split .services-split__grid{
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* <-- key change */
  column-gap: clamp(24px, 3vw, 64px);
  row-gap: var(--space-24);
}

@media (max-width: 1100px){
  #services-split .services-split__grid{
    grid-template-columns: 1fr;
  }
}


/* Clickable image */
.lightbox-trigger{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.lightbox-trigger img{
  display: block;
  width: 100%;
}

/* Fullscreen lightbox */
body.lightbox-open{ overflow: hidden; }

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.is-open{ display: block; }

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  touch-action: none;
}

.lightbox__img{
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.lightbox__close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Mobile: keep gestures inside the lightbox (don’t scroll/zoom the page) */
.lightbox{
  width: 100vw;
  height: 100dvh;            /* modern mobile viewport */
  overscroll-behavior: contain;
  touch-action: none;
}

.lightbox__img{
  touch-action: none;
  transform-origin: center center;
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
}

/* SERVICES: show image on mobile (stack columns) */
@media (max-width: 900px){
  #services-split .services-split__panel{
    grid-template-columns: 1fr;   /* 1 column on mobile */
    gap: 24px;
  }

  #services-split .services-splitmedia img{
    height: auto;                 /* don’t force 520px on small screens */
    max-height: 420px;
  }
}






/* Make gallery images look clickable */
.project-gallery-grid img{
  cursor: zoom-in;
}

/* Ensure proper stacking (close/arrows above image) */
.lightbox__backdrop{ z-index: 1; }
.lightbox__img{ z-index: 2; }
.lightbox__close,
.lightbox__nav{ z-index: 3; }

/* Lightbox arrows */
.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__prev{ left: 16px; }
.lightbox__next{ right: 16px; }

@media (max-width: 600px){
  .lightbox__nav{
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
}

@media (max-width: 768px){
  .projectscta{
    margin-top: 24px;
    margin-bottom: 40px; /* was 80px */
  }
}


@media (max-width: 768px){
  .masterclassphoto{
    height: auto;
    max-height: 220px;
    width: min(260px, 70vw);
    margin: 0 auto;
    display: block;
  }
}


@media (max-width: 768px){
  :root{
    --section-pad-y: 40px; /* mobile */
  }
}









/* Instagram preview cards */
.ig-preview {
  padding: 60px 0;
  background: #fff;
}

/* Instagram preview cards */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 320px)); /* smaller cards */
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: var(--space-24);
}

@media (max-width: 1100px) {
  .ig-grid {
    grid-template-columns: repeat(2, minmax(220px, 300px)); /* smaller on tablets */
  }
}

@media (max-width: 640px) {
  .ig-grid {
    grid-template-columns: 1fr;
  }

  /* IMPORTANT: don’t let the single card stretch full width on phones */
  .ig-card {
    max-width: 320px;      /* make this 280–340px as you like */
    margin-inline: auto;   /* center it */
  }
}






.ig-card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ig-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain; /* change to 'cover' if you want it to always fill the frame */
  background: #000;
  display: block;
}

.ig-card__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 10vw, 96px);
  height: clamp(56px, 10vw, 96px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
}

.ig-card__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



/* Hover effect same as .btn--primary:hover */
.ig-card:hover .ig-card__caption,
.ig-card:focus-visible .ig-card__caption{
  background: #fff;
  color: #000;
  border-color: var(--color-primary);
  text-decoration: none;
}




/* IG play icon with NO background disk */
.ig-card__badge{
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;     /* removes drop-shadow if you don't want it */
}

.ig-card__icon{
  border-radius: 0 !important; /* remove any rounding/box look */
  background: transparent !important;
  object-fit: contain;
  object-position: center;
  display: block;
}







/* .ig-card__badge { border-radius: 999px; overflow: hidden; } */




/* Only O MENI: push the logo lower so the bottom "O" sits closer */
.hero-zoomout--omeni .project-heroimage{
  align-items: flex-end;     /* was centered via .hero-zoomout */
  padding-bottom: 13px;         /* tweak: try 0–24px */
}

/* Optional: if you also want to nudge the title a bit lower */
.hero-zoomout--omeni .hero-title{
  transform: translateY(10px);  /* tweak: try 0–60px */
}





/* IG hover highlight (icon + card) */
.ig-card__media{
  transition: box-shadow var(--duration-normal) var(--ease-standard),
              transform var(--duration-normal) var(--ease-standard);
}

/* subtle highlight layer over the preview image */
.ig-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0); /* no highlight by default */
  transition: background var(--duration-normal) var(--ease-standard);
  pointer-events: none;
}

/* icon animation */
.ig-card__badge{
  transition: transform var(--duration-normal) var(--ease-standard),
              filter var(--duration-normal) var(--ease-standard);
  transform: translate(-50%, -50%) scale(1); /* keep centered */
}

/* HOVER + keyboard focus */
.ig-card:hover .ig-card__media,
.ig-card:focus-visible .ig-card__media{
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ig-card:hover .ig-card__media::after,
.ig-card:focus-visible .ig-card__media::after{
  background: rgba(255,255,255,0.14); /* gentle “highlight” */
}

.ig-card:hover .ig-card__badge,
.ig-card:focus-visible .ig-card__badge{
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.35));
}

/* optional: make it a bit brighter on hover */
.ig-card:hover .ig-card__icon,
.ig-card:focus-visible .ig-card__icon{
  filter: brightness(1.05) saturate(1.05);
}



/* Responsive Design */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }

  /* ADD THIS (put it here) */
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav__brand {
    grid-column: 2;
    justify-self: center;
  }
  .nav__toggle {
    grid-column: 3;
    justify-self: end;
  }
}


@media (max-width: 768px){
  .hero-zoomout--omeni .project-heroimage img{
    width: auto;
    height: auto;
    max-width: 60vw;     /* smaller = more “zoomed out” */
    max-height: 100%;
    object-fit: contain; /* key: show whole image */
    object-position: center;
  }
}


@media (max-width: 480px){
  .hero-zoomout--omeni .project-heroimage img{
    width: auto;
    height: auto;
    max-width: 50vw;     /* smaller = more “zoomed out” */
    max-height: 100%;
    object-fit: contain; /* key: show whole image */
    object-position: center;
  }
}




/* O MENI: keep the title perfectly centered */
.hero-zoomout--omeni .hero-title{
  transform: translateY(30px);  /* tweak: try 0–60px */
}


/* Mobile: keep project hero title visually centered under the fixed header */
@media (max-width: 768px) {
  .project-hero.hero-zoomout-idejno .hero-title{
    width: 100%;
    text-align: center;
    padding-top: 70px;  /* match your header height on mobile */
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .project-hero.hero-zoomout-idejno .hero-title{
    padding-top: 80px;  /* if the header is a bit taller on small phones */
  }
}



/* ===== FINAL FIX: IG play icon perfectly centered (PC + mobile) ===== */
.ig-card__media{
  position: relative;
  display: block;
}

.ig-card__badge{
  position: absolute;
  inset: 0 !important;         /* fill the whole phone preview */
  top: 0 !important;
  left: 0 !important;

  width: auto !important;
  height: auto !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transform: none !important;  /* kill translate(-50%,-50%) from older rules */
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  pointer-events: none;
}

.ig-card__icon{
  width: clamp(56px, 7vw, 96px) !important;
  height: clamp(56px, 7vw, 96px) !important;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
  transition: transform var(--duration-normal) var(--ease-standard),
              filter var(--duration-normal) var(--ease-standard);
}

/* hover pop on the ICON (not on the badge overlay) */
.ig-card:hover .ig-card__icon,
.ig-card:focus-visible .ig-card__icon{
  transform: scale(1.08);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.35));
}

/* make sure older hover rules don't scale the badge */
.ig-card:hover .ig-card__badge,
.ig-card:focus-visible .ig-card__badge{
  transform: none !important;
  filter: none !important;
}








.navitem--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}

/* MOBILE MENU – nicer layout + keep JS functionality */
@media (max-width: 1024px) {

  /* Make the fullscreen menu feel “designed”, not floating */
  .nav__menu--open{
    background: #fff;              /* more solid than rgba() */
    justify-content: flex-start;   /* instead of vertical center */
    padding: 96px 24px 40px;       /* space for header + close button */
    gap: 22px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile main links */
  .nav__menu--open .nav__link{
    font-size: 22px;
    padding: 6px 0;
  }

  /* Optional: the underline animation looks odd in fullscreen menu */
  .nav__menu--open .nav__link::after{
    display: none;
  }

  /* Dropdown: make it behave like an accordion (stacked, no “box”) */
  .nav__menu--open .navitem--dropdown{
    position: static;
    width: 100%;
    text-align: center;
  }

  .nav__menu--open .navdropdown{
    position: static;
    background: transparent;  /* removes the white “card” look */
    border: 0;
    box-shadow: none;
    min-width: 0;
    margin: 8px 0 0;
    padding: 8px 0 0;
  }

  /* Keep your CURRENT functionality: JS toggles .is-open */
  .nav__menu--open .navitem--dropdown.is-open > .navdropdown{
    display: block;
  }

  .nav__menu--open .navdropdown-link{
    padding: 10px 0;
    font-size: 18px;
    color: var(--color-text-secondary);
  }

  /* Optional: highlight the open dropdown title */
  .nav__menu--open .navitem--dropdown.is-open > .nav__link--dropdown{
    color: var(--color-primary);
  }
}


/* Desktop hover only, but allow JS to suppress hover after a click-close */
@media (hover: hover) and (pointer: fine) {
  .navitem--dropdown:not(.hover-suppressed):hover > .navdropdown {
    display: block;
  }
}

/* JS click toggle */
.navitem--dropdown.is-open > .navdropdown {
  display: block;
}

/* Caret rotation */
@media (hover: hover) and (pointer: fine) {
  .navitem--dropdown:not(.hover-suppressed):hover .nav__caret {
    transform: rotate(180deg);
  }
}
.navitem--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}







/* Center the mobile menu items vertically */
@media (max-width: 1024px) {
  .nav__menu--open {
    justify-content: center; /* <-- puts the menu in the middle */
    padding: max(80px, env(safe-area-inset-top)) 24px
             max(40px, env(safe-area-inset-bottom));
    min-height: 100svh;      /* better on mobile because of browser address bar */
    overflow-y: auto;        /* if dropdown opens and becomes tall, allow scrolling */
  }
}




/* Only the NEW gallery carousel */
.mini-carousel[data-carousel="gallery"] .mini-carousel-slide img{
  object-fit: contain;
  background: #fff;
}

/* Optional: remove the dark overlay (so the plan is crisp) */
/* .mini-carousel[data-carousel="gallery"] .mini-carousel-slide::after{ */
  /* content: none; */
/* } */


.page-izvedbeno section.mini-project-carousel{
  padding-bottom: 60px;
  padding-top: 0px;
}

/* Only when a carousel comes right after the panels */
.project-panels + .mini-project-carousel{
  padding-top: 0;
}


/* Remove bottom padding only for this specific panels section */
.project-panels.project-panels--no-bottom{
  padding-bottom: 0 !important;
}


./* Add gap above this specific carousel section */
.mini-project-carousel_padding{
  margin-top: 48px;   /* desktop */
}

@media (max-width: 768px){
  .mini-project-carousel_padding{
    margin-top: 28px; /* mobile */
  }
}

/* Add gap above this specific carousel section */
.service-packages_padding{
  margin-bottom: 40px;
  margin-top: 40px;
}

@media (max-width: 768px){
  .service-packages_padding{
     margin-bottom: 40px;
	 margin-top: 40px;
  }
}

/* Add gap above this specific carousel section */
.o-nama-white{
  margin-bottom: 40px;
  margin-top: 20px;
}

@media (max-width: 768px){
  .o-nama-white{
     margin-bottom: 40px;
	 margin-top: 20px;
  }
}



/* Reduce the space between "Kliknite za uvećanje" and the gallery carousel */
.mini-project-carousel .section-header{
  margin-bottom: 12px; /* desktop */
}

@media (max-width: 768px){
  .mini-project-carousel .section-header{
    margin-bottom: 8px; /* mobile */
  }
}

@media (max-width: 480px){
  .mini-project-carousel .section-header{
    margin-bottom: 6px; /* smaller phones */
  }
}


/* Reduce the space between "Kliknite za uvećanje" and the gallery carousel */
.project-panels.project-panels-process{
  margin-bottom: 40px; /* desktop */
}

@media (max-width: 768px){
  .project-panels.project-panels-process{
    margin-bottom: 40px; /* mobile */
  }
}

@media (max-width: 480px){
  .project-panels.project-panels-process{
    margin-bottom: 40px; /* smaller phones */
  }
}



@media (max-width: 768px){
  .project-hero.hero-zoomout.hero-zoomout--omeni .project-heroimage img{
    width: auto;
    height: auto;
    max-width: 60vw;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 480px){
  .project-hero.hero-zoomout.hero-zoomout--omeni .project-heroimage img{
    max-width: 50vw;
  }
}


/* ===== MINI CAROUSEL: centered play icon (Instagram) ===== */
.mini-project-carousel--ig .mini-carousel-play{
  position: absolute;
  inset: 0;
  z-index: 4;                 /* above the dark overlay (::after) */
  display: grid;
  place-items: center;
  pointer-events: none;       /* keeps the whole slide clickable */
}

.mini-project-carousel--ig .mini-carousel-play__icon{
  width: clamp(56px, 10vw, 96px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
}

/* Optional hover “pop” */
.mini-project-carousel--ig .mini-carousel-slide:hover .mini-carousel-play__icon{
  transform: scale(1.06);
  transition: transform 180ms ease;
}

/* Optional: remove the bottom CTA pill text if you don't want it */
.mini-project-carousel--ig .mini-carousel-cta{
  display: none;
}


/* Show IG grid only on desktop, show IG carousel only on mobile */
.mini-project-carousel--ig{
  display: none; /* hidden on desktop by default */
}

@media (max-width: 768px){
  .ig-preview{
    display: none; /* hide the grid section on phones */
  }
  .mini-project-carousel--ig{
    display: block; /* show the carousel on phones */
  }
}








/* ===== Make the play icon more noticeable (white/gray disk behind it) ===== */

/* Desktop IG grid */
.ig-preview{
  --ig-play-size: clamp(56px, 7vw, 96px);
  --ig-play-disk: calc(var(--ig-play-size) + 22px);
}

.ig-card__badge{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ig-card__badge::before{
  content: "";
  width: var(--ig-play-disk);
  height: var(--ig-play-disk);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);      /* change to rgba(245,245,245,0.85) for more gray */
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.ig-card__icon{
  position: relative;
  z-index: 1;
  width: var(--ig-play-size) !important;
  height: var(--ig-play-size) !important;
  object-fit: contain;
}

/* Optional: slightly stronger on hover */
.ig-card:hover .ig-card__badge::before,
.ig-card:focus-visible .ig-card__badge::before{
  background: rgba(255, 255, 255, 0.88);
}

/* Mobile IG carousel (the one that shows on phones) */
.mini-project-carousel--ig{
  --ig-play-size: clamp(56px, 10vw, 96px);
  --ig-play-disk: calc(var(--ig-play-size) + 22px);
}

.mini-project-carousel--ig .mini-carousel-play::before{
  content: "";
  width: var(--ig-play-disk);
  height: var(--ig-play-disk);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.mini-project-carousel--ig .mini-carousel-play__icon{
  position: relative;
  z-index: 1;
  width: var(--ig-play-size);
}







/* FIX: keep disk + play icon on top of each other (centered), not side-by-side */
.ig-card__badge{
  display: grid !important;
  place-items: center !important;
  position: absolute;
  inset: 0 !important;
}

.ig-card__badge::before{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ig-card__icon{
  position: relative;
  z-index: 1;
}

/* Same fix for the mobile IG carousel overlay */
.mini-project-carousel--ig .mini-carousel-play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.mini-project-carousel--ig .mini-carousel-play::before{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mini-project-carousel--ig .mini-carousel-play__icon{
  position: relative;
  z-index: 1;
}





















.mci-portfolio {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.mci-portfolio__container {
  width: min(1240px, calc(100% - 2 * clamp(1.25rem, 4vw, 2.5rem)));
  margin: 0 auto;
}

.mci-portfolio__headline {
  margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
}

.mci-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.8vw, 2.4rem);
}

@media (max-width: 860px) {
  .mci-portfolio__grid {
    grid-template-columns: 1fr;
  }
}

.mci-portfolio__item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mci-portfolio__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 2px;
}

.mci-portfolio__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 650ms ease;
}

.mci-portfolio__item:hover .mci-portfolio__image img,
.mci-portfolio__item:focus-visible .mci-portfolio__image img {
  transform: scale(1.04);
}

.mci-portfolio__text {
  padding-top: 0.85rem;
}

.mci-portfolio__title {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  font-weight: 600;
}

.mci-portfolio__subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.8;
  font-weight: 600;
}

/* Keyboard focus */
.mci-portfolio__item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 2px;
}

/* Gentle fade-up on load (stagger via inline --i) */
@media (prefers-reduced-motion: no-preference) {
  .mci-portfolio__item {
    opacity: 0;
    transform: translateY(10px);
    animation: mciFadeUp 700ms ease forwards;
    animation-delay: calc(var(--i, 0) * 90ms);
  }

  @keyframes mciFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .mci-portfolio__item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .mci-portfolio__image img {
    transition: none;
  }
}



.mci-portfolio {
  font-family: "Cormorant Garamond", serif;
}

.mci-portfolio__headline,
.mci-portfolio__title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Keep link text BLACK on hover (override global a:hover rules) */
.mci-portfolio__item,
.mci-portfolio__item:visited {
  color: #000;
}

.mci-portfolio__item:hover,
.mci-portfolio__item:focus,
.mci-portfolio__item:active,
.mci-portfolio__item:hover .mci-portfolio__title,
.mci-portfolio__item:hover .mci-portfolio__subtitle {
  color: #000 !important;
}




/* More “air” above the section + keeps it responsive */
.mci-portfolio{
  padding-top: clamp(5.5rem, 10vw, 9.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

/* Title style + big breathing room before the grid */
.mci-portfolio__headline{
  text-align: center;
  margin: 0 auto clamp(4rem, 10vw, 7rem); /* BIG space between title and images */
  max-width: 900px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
}



.mci-portfolio__grid{
  column-gap: clamp(2rem, 3.5vw, 3rem);  /* left-right spacing */
  row-gap: clamp(3.5rem, 6vw, 5.5rem);   /* TOP-BOTTOM spacing (this is the key) */
}



/* ===== Global readability: make ALL text weight 600 site-wide ===== */

/* 1) Make your global font-weight tokens heavier */
:root{
  --font-weight-normal: 500;
  --font-weight-medium: 700;
  --font-weight-semibold: 900;
  --font-weight-bold: 1000;

  /* Optional (recommended): make "secondary" text darker (less faint) */
  /* --color-text-secondary: rgba(19, 52, 59, 0.9); */
}

/* 2) Default weight everywhere */
body{
  font-weight: var(--font-weight-normal);
}

/* 3) Catch places that had hard-coded lighter weights */
.hero__subtitle{
  font-weight: var(--font-weight-normal) !important; /* was 300 in your CSS */
}

/* 4) Buttons were hard-coded to 500 */
.btn{
  font-weight: 800;
}


/* Center the "Pogledaj sve projekte" button inside the mci portfolio grid */
.mci-portfolio .projects__cta{
  grid-column: 1 / -1;      /* take the whole row */
  justify-self: center;     /* center the wrapper */
  display: flex;
  justify-content: center; /* center the button */
}



/* INDEX ONLY: reduce the big white gap between Portfolio + Services */
.page-index .mci-portfolio{
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-index .mci-portfolio__headline{
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

.page-index .mci-portfolio__grid{
  row-gap: clamp(1.75rem, 4vw, 3rem);
}

/* Your button wrapper has big margins globally */
.page-index .projects__cta{
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Reduce top/bottom padding of the next section */
.page-index .service-packages{
  padding: 60px 0; /* was 80px */
}




/* ===== Unified section titles (match "Portfolio projekata") ===== */
:root{
  --section-heading-font: "Cormorant Garamond", Georgia, serif;
  --section-heading-size: clamp(2rem, 4vw, 3rem);
  --section-heading-letter-spacing: 0.02em;
  --section-heading-line-height: 1.15;
  --section-heading-weight: 600;
}

.section-title,
.hero-title,
.hero__content,
.section-header > h1,
.section-header > h2,
.about__title,
.services-split__title,
.masterclass__title,
.mci-portfolio__headline,
.project-panel-title{
  font-family: var(--section-heading-font) !important;
  font-size: var(--section-heading-size) !important;
  font-style: italic;
  font-weight: var(--section-heading-weight);
  letter-spacing: var(--section-heading-letter-spacing);
  line-height: var(--section-heading-line-height);
}



.faq-title,
.idejno-subtitle,
.process-title{
  font-family: var(--section-heading-font) !important;
  font-size: var(--section-heading-size) !important;
  font-style: italic !important;
  font-weight: var(--section-heading-weight) !important;
  letter-spacing: var(--section-heading-letter-spacing) !important;
  line-height: var(--section-heading-line-height) !important;
}


/* Center ALL main section titles site-wide (like FAQ) */
:is(
  .section-title,
  .mci-portfolio__headline,
  .about__title,
  .services-split__title,
  .masterclass__title,
  .project-panel-title,
  .faq-title,
  .process-title,
  .idejno-subtitle
){
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-self: center; /* if inside CSS grid */
  align-self: center;   /* if inside flex/grid */
}


/* Center the About section CTA button */
.about .about__text{
  display: flex;
  flex-direction: column;
}

.about .about__text > a.btn{
  align-self: center;
  margin-top: 20px; /* optional spacing */
}


.idejno-box{
  /* ... */
  border: none;
  /* ... */
}


/* Only pages where hero is missing (so content isn't glued to nav) */
.page-nohero .project-details{
  padding-top: 90px; /* adjust (e.g. 70–120px) */
}

@media (max-width: 768px){
  .page-nohero .project-details{ padding-top: 70px; }
}


















/* ===== FOOTER ===== */
.footer.footer--mega{
  background: #2f2f2f;         
  color: #fff;
  padding: 72px 0 26px;
}

.footer.footer--mega .footer__grid--mega{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 60px);
  align-items: start;
}

.footer.footer--mega .footer__title{
  margin: 0 0 14px 0;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
}

.footer.footer--mega .footer__list{
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer.footer--mega .footer__link{
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  letter-spacing: var(--letter-spacing-tight);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer.footer--mega .footer__link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: width var(--duration-normal) var(--ease-standard);
}

.footer.footer--mega .footer__link:hover{
  color: #fff;
}

.footer.footer--mega .footer__link:hover::after{
  width: 100%;
}

/* Contact layout */
.footer.footer--mega .footer__list--contact{
  gap: 12px;
}

.footer.footer--mega .footer__contact-link{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.footer.footer--mega .footer__contact-link:hover{
  opacity: 0.85;
}

.footer.footer--mega .footer__contact-line{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0.9;
  line-height: 1.6;
}

.footer.footer--mega .footer__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.9;
}

/* CTA button */
.footer.footer--mega .footer__cta{
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
}

.footer.footer--mega .footer__cta:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.9);
}

/* Bottom row */
.footer.footer--mega .footer__bottom--mega{
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer.footer--mega .footer__small{
  margin: 0;
  font-size: var(--font-size-sm);
  opacity: 0.9;
  color: #fff;
}

.footer.footer--mega .footer__social--icons{
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer.footer--mega .footer__social-link{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
}

.footer.footer--mega .footer__social-link:hover{
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.footer.footer--mega .footer__social-link svg{
  width: 18px;
  height: 18px;
}

.footer.footer--mega .footer__top{
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.footer.footer--mega .footer__top:hover{
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 1000px){
  .footer.footer--mega .footer__grid--mega{
    grid-template-columns: 1fr 1fr;
  }
  .footer.footer--mega .footer__col--contact{
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px){
  .footer.footer--mega{
    padding: 56px 0 20px;
  }
  .footer.footer--mega .footer__grid--mega{
    grid-template-columns: 1fr;
  }
  .footer.footer--mega .footer__bottom--mega{
    justify-content: center;
    text-align: center;
  }
}
