/* ============================================
   STOMATOLOŠKA ORDINACIJA ZUB
   Modern One-Pager CSS
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --teal:         #55c5cf;
  --teal-dark:    #4394a3;
  --teal-deeper:  #2e7a87;
  --purple:       #652c90;
  --purple-light: #8040b0;
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --light-gray:   #f1f5f9;
  --gray:         #64748b;
  --dark:         #1e293b;
  --darker:       #0f172a;
  --text:         #334155;

  --gradient-teal:   linear-gradient(135deg, #55c5cf 0%, #4394a3 100%);
  --gradient-purple: linear-gradient(135deg, #652c90 0%, #8040b0 100%);
  --gradient-hero:   linear-gradient(135deg, rgba(14,30,60,0.75) 0%, rgba(67,148,163,0.45) 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 70px;
  --topbar-height: 38px;
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--teal); }

ul { list-style: none; }

address { font-style: normal; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--darker);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.topbar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.topbar a:hover { color: var(--teal); }
.topbar i { margin-right: 5px; color: var(--teal); }
.topbar-divider { color: rgba(255,255,255,0.2); }
.topbar-fb {
  margin-left: auto;
  width: 26px;
  height: 26px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background var(--transition), transform var(--transition);
}
.topbar-fb:hover { background: var(--purple-light); transform: scale(1.1); color: white !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(85,197,207,0.15);
  height: var(--nav-height);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  max-height: 50px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--teal-dark); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--teal-dark); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gradient-teal);
  color: white !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(85,197,207,0.35);
  transition: all var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(85,197,207,0.45);
  color: white !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-teal);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(85,197,207,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(85,197,207,0.5);
  color: white;
}
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--topbar-height) + var(--nav-height));
  overflow: hidden;
}
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.05);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 24px 120px;
  margin: 0 auto;
  text-align: center;
  color: white;
}
.hero-badge {
  display: inline-block;
  background: rgba(85,197,207,0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(85,197,207,0.4);
  color: rgba(255,255,255,0.95);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease forwards;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.2s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em {
  font-style: normal;
  font-family: 'Playfair Display', serif;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.35s ease both;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s 0.5s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.8s 0.65s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero-indicators {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.indicator.active {
  background: var(--teal);
  transform: scale(1.4);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(85,197,207,0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(85,197,207,0.3);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== WELCOME SECTION ===== */
.section-welcome {
  background: var(--off-white);
  padding: 80px 0;
}
.section-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.welcome-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(85,197,207,0.08);
  transition: all var(--transition);
}
.welcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.welcome-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 4px 15px rgba(85,197,207,0.35);
}
.welcome-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.welcome-card p {
  font-size: 0.93rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.welcome-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.welcome-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.welcome-list li:last-child { border-bottom: none; }
.welcome-list li i {
  color: var(--teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-quick-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-quick-item i {
  color: var(--teal);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.contact-quick-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-quick-item span:first-child {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
}
.contact-quick-item a,
.contact-quick-item span:not(:first-child) {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* ===== PARALLAX BANNERS ===== */
.parallax-banner {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,40,80,0.72) 0%, rgba(67,148,163,0.6) 100%);
}
.parallax-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 24px;
}
.parallax-banner-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.parallax-banner-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

/* ===== SERVICES SECTION ===== */
.section-services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-column {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-column-header {
  background: var(--gradient-teal);
  padding: 28px 24px 24px;
  text-align: center;
  color: white;
}
.service-icon-big {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  backdrop-filter: blur(10px);
}
.service-column-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.service-card {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-card:last-child { border-bottom: none; }
.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--transition);
  gap: 12px;
}
.service-card-header:hover { background: rgba(85,197,207,0.08); }
.service-card-header.open { background: rgba(85,197,207,0.08); }
.service-card-header h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.service-card-header h4 i {
  color: var(--teal-dark);
  font-size: 0.85rem;
}
.service-chevron {
  color: var(--teal-dark);
  font-size: 0.75rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.service-card-header.open .service-chevron {
  transform: rotate(180deg);
}
.service-card-body {
  display: none;
  padding: 0 20px 20px;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.65;
}
.service-card-body ul {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-card-body ul li {
  font-size: 0.87rem;
  color: var(--gray);
}

/* ===== TEAM SECTION ===== */
.section-team {
  background: var(--off-white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.team-card:hover .team-photo-wrap img {
  transform: scale(1.06);
}
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(67,148,163,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover .team-photo-overlay { opacity: 1; }
.team-specialty {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-info {
  padding: 20px 22px 22px;
}
.team-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.team-info p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.section-gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--light-gray);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(67,148,163,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.5rem;
  color: white;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,15,30,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
.lightbox-content p {
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  font-size: 0.9rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* ===== CONTACT SECTION ===== */
.section-contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(85,197,207,0.1);
}
.contact-logo {
  margin-bottom: 8px;
}
.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.cinfo-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.cinfo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.cinfo-row > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cinfo-row strong {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.cinfo-row a, .cinfo-row span {
  font-size: 0.93rem;
  color: var(--text);
}
.contact-social {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 42px;
  height: 42px;
  background: var(--gradient-purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(101,44,144,0.3);
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(101,44,144,0.45);
  color: white;
}

.contact-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.contact-map-card iframe {
  width: 100%;
  height: 380px;
  display: block;
}
.map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  transition: background var(--transition);
}
.map-link:hover { background: rgba(85,197,207,0.07); }

/* ===== FOOTER ===== */
.footer {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  padding: 60px 0 50px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-zub {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 16px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--teal); }
.footer-contact p, .footer-hours p {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-contact i { color: var(--teal); width: 14px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--teal); }
.footer-hours em { color: rgba(255,255,255,0.35); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--gradient-teal);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(85,197,207,0.4);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  font-size: 0.9rem;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(85,197,207,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-grid-3 { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  .topbar { font-size: 0.72rem; }
  .topbar-divider { display: none; }
  .topbar-inner { gap: 10px; }

  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--topbar-height) + var(--nav-height));
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; }
  .nav-cta { text-align: center; padding: 12px 16px; border-radius: 10px; }

  .section-grid-3,
  .team-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.6rem; }

  .section { padding: 70px 0; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .parallax-banner { background-attachment: scroll; }

  .footer-container { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-card { padding: 24px 20px; }

  .topbar-inner span:nth-child(5) { display: none; } /* hide hours on tiny screens */
}
