/* ═══════════════════════════════════════
   ADRIA — Shared Stylesheet
   Dark Blue Glassmorphism Theme
═══════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=Cormorant+Garamond:ital,wght@1,300;1,400&display=swap");

:root {
  --bg: #020814;
  --bg2: #050d1a;
  --surface: rgba(10, 20, 45, 0.7);
  --surface2: rgba(15, 28, 58, 0.85);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(100, 160, 255, 0.12);
  --border: rgba(100, 160, 255, 0.1);
  --accent: #4fc3f7;
  --accent2: #00e5ff;
  --accent3: #7b8cff;
  --text: #e0eeff;
  --muted: #5a7499;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-italic: "Cormorant Garamond", serif;
  --glow: 0 0 60px rgba(79, 195, 247, 0.15);
  --glow-sm: 0 0 20px rgba(79, 195, 247, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  animation: pageFadeIn 0.6s ease-out;
}

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

/* ── SELECTION ── */
::selection {
  background: rgba(79, 195, 247, 0.3);
  color: #fff;
}

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── BG ORBS ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-1 {
  width: 700px;
  height: 700px;
  background: #1565c0;
  top: -200px;
  right: -150px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: #0d47a1;
  bottom: -100px;
  left: -150px;
}
.orb-3 {
  width: 350px;
  height: 350px;
  background: #283593;
  top: 40%;
  left: 40%;
  opacity: 0.12;
}

/* Noise texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6%;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(2, 8, 20, 0.75);
  transition: padding 0.4s ease, background 0.4s ease;
}
nav.scrolled {
  background: rgba(2, 8, 20, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-navbar {
  height: 80px;
  transition: height 0.3s ease;
}
nav.scrolled .logo-navbar {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #000;
  padding: 0.6rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(79, 195, 247, 0.45);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s ease, opacity 0.25s ease;
  position: absolute;
  left: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links.open {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  padding: 2.5rem 6%;
  gap: 2rem;
  z-index: 999;
  animation: mobileMenuSlide 0.35s ease-out;
}
.nav-links.open a {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

@keyframes mobileMenuSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── GLASS CARD ── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.glass:hover {
  border-color: rgba(100, 160, 255, 0.2);
}

/* ── SECTION BASE ── */
section {
  padding: 2rem 6%;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  transition: width 0.4s ease;
}
.section-label:hover::before {
  width: 30px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.section-title em {
  transition: text-shadow 0.4s;
}
.section-title em:hover {
  text-shadow: 0 0 30px rgba(79, 195, 247, 0.4);
}

/* ── PROJECT BACKGROUNDS FRONT PAGE ── */

#proj-thumb1 {
  background-image: url("images/mvbg.png");
  background-size: cover;
  background-position: center;
}

#proj-thumb2 {
  background-image: url("images/sloboda.png");
  background-size: cover;
  background-position: center;
}

#proj-thumb3 {
  background-image: url("images/herbalis-pc.png");
  background-size: cover;
  background-position: center;
}

/* ── PROJECT BACKGROUNDS ── */
.projects-grid {
  max-width: 100%;
}

.project-visual {
  position: relative;
  overflow: hidden;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
 
  transition: opacity 0.3s;
}

#muskavoda .project-visual::after {
  background-image: url("images/mvbg.png");
  background-position: center;
}

#sloboda .project-visual::after {
  background-image: url("images/sloboda.png");
  background-position: center;
}

#herbalis .project-visual::after {
  background-image: url("images/herbalis-pc.png");
  background-position: center;
}

#alumont .project-visual::after {
  background-image: url("images/alumont.png");
  background-position: center;
}

#terminal .project-visual::after {
  background-image: url("images/terminal.png");
  background-position: center;
  object-fit: contain;
}

#lanotech .project-visual::after {
  background-image: url("images/lanotech.png");
  background-position: center;
  object-fit: contain;
}

#sapunica .project-visual::after {
  background-image: url("images/sapunica.png");
  background-position: center;
  object-fit: contain;
}

#aromatica .project-visual::after {
  background-image: url("images/aromatica.png");
  background-position: center;
  object-fit: contain;
}

#autofagija .project-visual::after {
  background-image: url("images/autofagija.png");
  background-position: center;
  object-fit: contain;
}

#kasa .project-visual::after {
  background-image: url("images/kasa.png");
  background-position: center;
  object-fit: contain;
}
/* ── RESPONSIVE PROJECT BACKGROUNDS ── */
@media (max-width: 768px) {
  .project-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    
    transition: opacity 0.3s;
  }

  #muskavoda .project-visual::after {
    background-image: url("images/mvbgmob.png");
  }

  #sloboda .project-visual::after {
    background-image: url("images/slobodamob.png");
  }

  #lanotech .project-visual::after {
    background-image: url("images/lanotec-mob.png");
  }

  #terminal .project-visual::after {
    background-image: url("images/terminal-mob.png");
  }

  #alumont .project-visual::after {
    background-image: url("images/alumont-mob.png");
  }

  #sapunica .project-visual::after {
    background-image: url("images/sapunica-mob.png");
  }

  #aromatica .project-visual::after {
    background-image: url("images/aromatica-mob.png");
  }

  #autofagija .project-visual::after {
    background-image: url("images/autofagija-mob.png");
  }

  #kasa .project-visual::after {
  background-image: url("images/kasamob.png");
  background-position: center;
  object-fit: contain;
}
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #000;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 3px;
  box-shadow: 0 4px 25px rgba(79, 195, 247, 0.25);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(79, 195, 247, 0.45);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-ghost {
  color: var(--text);
  padding: 1rem 2rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
  border-radius: 3px;
  backdrop-filter: blur(10px);
  background: var(--glass);
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 195, 247, 0.08);
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0);
}

/* ── TICKER ── */
.ticker {
  background: linear-gradient(90deg, #0d47a1, #1565c0, #0d47a1);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 2rem;
}
.ticker-track .dot {
  color: var(--accent);
  font-size: 0.55rem;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

.team-photo-bg.tp-1 {
  background-image: url("images/Dino Sal.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}
.team-photo-bg.tp-2 {
  background-image: url("images/Adis.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}
.team-photo-bg.tp-3 {
  background-image: url("images/Lamija.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}
.team-photo-bg.tp-4 {
  background-image: url("images/arnela.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
}
.team-photo-aboutus {
  display: block;
  width: 100%;
  height: auto;
}
.about-us-image-box {
  width: 100%;
  display: inline-block;
  position: relative;
}
.founders-box {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 80%;
}

.founders-text {
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 100%;
  width: 90%;
}

/* ── RESPONSIVE FOUNDERS SECTION ── */

@media (max-width: 600px) {
  .about-us-image-box {
  }
  .about-us-image-box img {
    object-fit: cover;
  }
  .founders-box {
    top: 70%;
    width: 100%;
  }
  .founders-text {
    font-size: 1rem;
    width: 100%;
  }
}

/* ── FOOTER ── */
footer {
  padding: 4.5rem 6% 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: rgba(2, 8, 20, 0.6);
  backdrop-filter: blur(24px);
}
footer a {
  transition: color 0.3s;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: var(--glow-sm);
}

.footer-logo {
  height: 150px;
}
.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 270px;
}
.footer-col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
  backdrop-filter: blur(10px);
  border-radius: 3px;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 195, 247, 0.1);
  transform: translateY(-3px);
}

/* ── PAGE HERO ── */
.page-hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9rem 6% 0rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  margin-bottom: 1rem;
}

/* ── HERO BANNER (CENTERED GRADIENT) ── */
.hero-banner {
  background: linear-gradient(135deg, #0a1628 0%, #1565c0 50%, #0d47a1 100%);
  padding: 9rem 6% 3.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(79, 195, 247, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(123, 140, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  position: relative;
}
.hero-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  section {
    padding: 4rem 5%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .team-photo-aboutus {
    height: 550px;
  }
}
