/*
Theme Name: Aurelia Lab
Theme URI: https://aurelia.lab
Author: Aurelia Lab — Tanja Mandić Đokić
Author URI: https://aurelia.lab
Description: Dynamic (Customizer) theme for Aurelia Lab IT consulting. Deep, elegant, out-of-box.
Version: 2.0.0
License: Private
Text Domain: aurelia-lab
Tags: business, minimal, bilingual, elegant
*/

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────────────────────── */
:root {
  --gold:        #B8943A;
  --gold-light:  #D4AF6A;
  --gold-pale:   #F5ECD7;
  --navy:        #1A2535;
  --navy-mid:    #2C3E50;
  --navy-light:  #3D5166;
  --ocean-deep:  #0D2137;
  --ocean-mid:   #1B4B72;
  --ocean-bright:#2980B9;
  --red-accent:  #C0392B;
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --gray-light:  #F0EDE8;
  --gray:        #888888;
  --text:        #1A2535;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --section-pad: 100px 40px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.2; }

.label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.1;
}

.section-title span { color: var(--gold); font-style: italic; }

/* ─────────────────────────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#site-header.scrolled {
  background: rgba(26, 37, 53, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 148, 58, 0.2);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { width: 100%; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
}

.lang-switcher button {
  background: none;
  border: 1px solid rgba(184,148,58,0.3);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: all var(--transition);
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ocean-deep);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

/* Deep ocean overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,33,55,0.85) 40%, rgba(13,33,55,0.3) 100%),
    linear-gradient(to bottom, transparent 40%, rgba(13,33,55,0.8) 100%);
}

/* Animated light rays */
.hero-rays {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -15deg,
    transparent,
    transparent 60px,
    rgba(184,148,58,0.02) 60px,
    rgba(184,148,58,0.02) 120px
  );
  animation: rays 8s ease-in-out infinite alternate;
}

@keyframes rays {
  from { opacity: 0.4; transform: translateX(-10px); }
  to   { opacity: 1;   transform: translateX(10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title .dot { color: var(--gold); }
.hero-title .lab {
  color: var(--gold);
  font-style: italic;
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-slogan strong {
  color: var(--gold);
  font-weight: 500;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
  font-style: italic;
}

.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform var(--transition);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.btn-outline:hover { color: var(--gold-light); }

.btn-outline .arrow {
  display: inline-block;
  width: 32px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--transition);
}

.btn-outline .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-outline:hover .arrow { width: 48px; }

/* Gold line left */
.hero-line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.6;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.5s forwards;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ABOUT STRIP (between hero and services)
───────────────────────────────────────────────────────────────────────────── */
#about-strip {
  background: var(--navy);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

#about-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

#about-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.about-label { margin-bottom: 20px; }

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}

.about-heading em { color: var(--gold); font-style: italic; }

.about-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-style: italic;
}

.about-text strong {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 400;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────────────────────────────────────────── */
#services {
  padding: var(--section-pad);
  background: var(--off-white);
  position: relative;
}

.services-header {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.services-title-block .label { margin-bottom: 16px; }

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(26,37,53,0.12); }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  color: rgba(184,148,58,0.12);
  line-height: 1;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.service-card:hover .service-number { color: rgba(184,148,58,0.25); }

.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
  color: var(--gold);
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

.service-divider {
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 24px 0;
  opacity: 0.5;
  transition: width var(--transition), opacity var(--transition);
}

.service-card:hover .service-divider { width: 64px; opacity: 1; }

/* ─────────────────────────────────────────────────────────────────────────────
   DEPTH QUOTE (atmospheric break)
───────────────────────────────────────────────────────────────────────────── */
#depth-quote {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
  background: var(--ocean-deep);
}

.depth-bg {
  position: absolute;
  inset: 0;
}

.depth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.25;
}

.depth-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ocean-deep) 0%, rgba(13,33,55,0.6) 50%, var(--ocean-deep) 100%);
}

.depth-quote-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.depth-quote-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 32px;
}

.depth-quote-text em { color: var(--gold); font-style: normal; }

.depth-quote-attr {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────────────────────────────────────────── */
#contact {
  padding: var(--section-pad);
  background: var(--white);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-left .label { margin-bottom: 20px; }

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 32px;
}

.contact-heading em { color: var(--gold); font-style: italic; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  width: 56px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-info-value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy-mid);
  line-height: 1.6;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--off-white);
  border: none;
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
  font-style: italic;
}

.form-group textarea { resize: none; height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
  margin-top: 12px;
}

.btn-submit:hover { color: var(--gold); }

.btn-submit .submit-line {
  display: block;
  width: 48px; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.btn-submit:hover .submit-line { width: 80px; }

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  padding: 60px 40px 32px;
  position: relative;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-display);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col p, .footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  transition: color var(--transition);
  display: block;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LANGUAGE VISIBILITY
───────────────────────────────────────────────────────────────────────────── */
[data-lang="en"] { display: none; }
body.lang-en [data-lang="sr"] { display: none; }
body.lang-en [data-lang="en"] { display: block; }
body.lang-en .lang-switcher button[data-set-lang="en"] { border-color: var(--gold); color: var(--gold); }
body.lang-sr .lang-switcher button[data-set-lang="sr"] { border-color: var(--gold); color: var(--gold); }

/* Inline elements */
span[data-lang] { display: inline; }
body.lang-en span[data-lang="sr"] { display: none; }
body.lang-en span[data-lang="en"] { display: inline; }

/* ─────────────────────────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-inner   { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 72px 24px; }
  .container { padding: 0 24px; }
  #site-header { padding: 0 24px; }

  .main-nav { display: none; position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; align-items: center; gap: 32px; z-index: 999; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 13px; letter-spacing: 4px; color: var(--white); }
  .lang-switcher { margin-left: 0; margin-top: 24px; }

  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .services-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-title    { font-size: 52px; }
}
