/* ============================================================
   Boris Ognjanovic Tennis Coach – style.css
   Dark theme | Bootstrap 5.3 | Oswald + Open Sans
============================================================ */

/* ── Local Fonts ────────────────────────────────────────── */
@font-face {
  font-family: 'BebasNeue';
  src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PermanentMarker';
  src: url('../fonts/PermanentMarker-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────── */
:root {
  --green:       #4CAF50;
  --green-dark:  #388E3C;
  --green-light: #c8e63c;
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark2:       #1a1a1a;
  --dark3:       #222222;
  --dark4:       #2a2a2a;
  --text:        #e0e0e0;
  --text-muted:  #888888;
  --font-head:   'BebasNeue', 'Oswald', sans-serif;
  --font-body:   'OpenSans', 'Open Sans', sans-serif;
  --font-marker: 'PermanentMarker', cursive;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:      12px;
  --shadow:      0 8px 40px rgba(0,0,0,0.6);
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) { body { cursor: auto; } }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }
img { max-width: 100%; display: block; }

/* ── Custom Cursor ──────────────────────────────────────── */
#custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
  mix-blend-mode: normal;
  display: none;
}

@media (pointer: fine) {
  #custom-cursor { display: block; }
}

/* ── Falling Ball ───────────────────────────────────────── */
#falling-ball {
  position: fixed;
  right: 20px;
  top: -60px;
  z-index: 9998;
  pointer-events: none;
  animation: fallBall 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes fallBall {
  0%   { top: -60px;  transform: rotate(0deg);    opacity: 1; }
  30%  { top: 60vh;   transform: rotate(180deg); }
  50%  { top: 40vh;   transform: rotate(270deg); }
  65%  { top: 60vh;   transform: rotate(350deg); }
  75%  { top: 50vh;   transform: rotate(400deg); }
  85%  { top: 60vh;   transform: rotate(450deg); }
  100% { top: 60vh;   transform: rotate(480deg);  opacity: 0; }
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: var(--green); color: #000; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--green);
  color: #000;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 2px solid var(--green);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-primary-custom:hover {
  background: transparent;
  color: var(--green);
}

.btn-outline-custom {
  background: transparent;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-outline-custom:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff !important; transform: translateY(-1px); }

.btn-whatsapp-large {
  background: #25D366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-whatsapp-large:hover { background: #1ebe5d; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

.btn-lang {
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
  min-width: 52px;
}
.btn-lang:hover, .btn-lang:focus { border-color: var(--green); color: var(--green); }

.btn-service {
  background: transparent;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--green);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
}
.btn-service:hover { background: var(--green); color: #000; }

/* ── Logo ───────────────────────────────────────────────── */
.logo-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.logo-circle--small {
  width: 36px; height: 36px;
  font-size: 0.8rem;
}
.logo-ball {
  position: absolute;
  bottom: -3px; right: -3px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Navbar ─────────────────────────────────────────────── */
#mainNav {
  padding: 1rem 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(10,10,10,0.97);
  padding: 0.6rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  padding: 0.35rem 0.6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--green);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: #fff !important; }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

/* ── Section Shared ─────────────────────────────────────── */
section { padding: 6rem 0; }

.section-tag {
  display: inline-block;
  background: rgba(76,175,80,0.15);
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  border-left: 3px solid var(--green);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Reveal Animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 0;
}

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

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #0a1f0a 0%,
    #0d1a1a 25%,
    #1a1a2e 50%,
    #0d1f0d 75%,
    #0a0a0a 100%
  );
  z-index: 1;
  transition: opacity 1s ease;
}
.hero-gradient-bg.video-playing { opacity: 0; pointer-events: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 6rem 1rem 4rem;
}

.hero-pretitle {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
}

.hero-headline {
  font-family: var(--font-marker);
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 60px rgba(76,175,80,0.15);
  margin-bottom: 1.25rem;
  min-height: 1.3em;
  letter-spacing: 0.01em;
  text-transform: none;
}

.typewriter-cursor {
  color: var(--green);
  animation: blink 0.75s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.9s forwards;
}

.hero-buttons {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 1.2s forwards;
}

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

/* Bouncing ball corner */
.hero-bounce-ball {
  position: absolute;
  bottom: 60px;
  right: 40px;
  z-index: 3;
  animation: bounceBall 1.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(76,175,80,0.5));
}

@keyframes bounceBall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(180deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 13px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 5px; height: 10px;
  background: var(--green);
  border-radius: 3px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%       { opacity: 0; transform: translateY(12px); }
}

/* ── STATS ──────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #0d2b0d, #1a3a1a, #0d2b0d);
  padding: 4.5rem 0;
  border-top: 1px solid rgba(76,175,80,0.2);
  border-bottom: 1px solid rgba(76,175,80,0.2);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(76,175,80,0.08) 0%, transparent 70%);
}

.stat-item { position: relative; z-index: 1; }

.stat-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 8px rgba(76,175,80,0.5));
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 400;
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(76,175,80,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(76,175,80,0.04) 0%, transparent 60%);
  will-change: transform;
}

.about-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.05);
  transition: filter var(--transition);
}
.about-photo:hover { filter: brightness(1) contrast(1.08); }

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--green);
  color: #000;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}

.about-bio {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.achievements-list li i {
  color: var(--green);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ── SERVICES ───────────────────────────────────────────── */
.services-section {
  background: var(--black);
}

.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(76,175,80,0), rgba(76,175,80,0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 50px rgba(76,175,80,0.15); border-color: rgba(76,175,80,0.4); }
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: linear-gradient(160deg, #1a2e1a, var(--dark2));
  border-color: rgba(76,175,80,0.3);
}
.service-card--featured:hover { box-shadow: 0 12px 60px rgba(76,175,80,0.25); }

.service-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(76,175,80,0.15);
  color: var(--green);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  border: 1px solid rgba(76,175,80,0.3);
}
.service-badge--featured {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.service-icon {
  width: 60px; height: 60px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 24px rgba(76,175,80,0.45);
}

.service-title {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.service-features li i {
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-section {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dark3);
}

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
  min-height: 200px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.gallery-overlay i {
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.75); }
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.35); }
.gallery-item:hover .gallery-overlay i { opacity: 1; transform: scale(1); }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide { grid-column: span 1; }
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-section {
  background: var(--black);
}

.contact-info-wrap {
  padding: 2rem;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  width: 46px; height: 46px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--green);
  flex-shrink: 0;
}

.contact-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
a.contact-value:hover { color: var(--green); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
}
.map-wrap iframe { display: block; filter: brightness(0.85) contrast(1.05) saturate(0.9) hue-rotate(5deg); }

/* ── SOCIAL LINKS ───────────────────────────────────────── */
.social-links { display: flex; gap: 0.75rem; }

.social-link {
  width: 40px; height: 40px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--green);
  color: #000 !important;
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76,175,80,0.35);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 4rem;
}

.footer-top { padding-bottom: 3rem; }

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green); padding-left: 4px; }

.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-contact-list li i { color: var(--green); width: 16px; text-align: center; }
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer-legal-links a { color: var(--text-muted); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--green); }
.footer-sep { color: rgba(255,255,255,0.2); }

/* ── Logo Image ─────────────────────────────────────────── */
.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.logo-circle { overflow: hidden; background: var(--dark3); }

/* ── Contact Form ────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem;
}

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

.form-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.cf-input {
  background: var(--dark3) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem !important;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cf-input::placeholder { color: rgba(255,255,255,0.3); }
.cf-input:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.18) !important;
  background: var(--dark4) !important;
}
.cf-input[aria-invalid="true"] {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15) !important;
}

.cf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  cursor: pointer;
}
.cf-select option { background: var(--dark3); color: #fff; }

.cf-textarea { resize: vertical; min-height: 130px; }

.cf-field-error {
  color: #ef5350;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  min-height: 1rem;
}

/* Form feedback banners */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.form-feedback i { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.form-feedback--success { background: rgba(76,175,80,0.12); border: 1px solid rgba(76,175,80,0.35); color: #81C784; }
.form-feedback--error   { background: rgba(229,57,53,0.1);  border: 1px solid rgba(229,57,53,0.3);  color: #EF9A9A; }

/* Submit button loading state */
.btn-submit { min-width: 200px; justify-content: center; }
.btn-submit-loading { display: flex; align-items: center; gap: 0.6rem; }

.cf-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cf-privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cf-privacy::before {
  content: '\f132';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--green);
  font-size: 0.75rem;
}

/* Map full-width variant */
.map-wrap--full {
  min-height: 360px;
  height: 360px;
}

/* ── Scroll anchor offset (accounts for fixed navbar) ────── */
section[id] { scroll-margin-top: 72px; }

/* ── Back to Top ─────────────────────────────────────────── */
.btn-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  z-index: 990;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
  cursor: pointer;
}
.btn-back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btn-back-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(76,175,80,0.55);
}

/* ── Gallery – mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item        { aspect-ratio: 4/3; }
  .gallery-item--tall  { grid-row: span 1; }
  .gallery-item--wide  { grid-column: span 2; aspect-ratio: 16/9; }
  .gallery-item img    { min-height: unset; height: 100%; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .gallery-item        { aspect-ratio: 1/1; }
  .gallery-item--wide  { grid-column: span 2; aspect-ratio: 16/9; }
}

/* ── Navbar collapse dark bg on mobile ──────────────────── */
@media (max-width: 991px) {
  .navbar-collapse.show, .navbar-collapse.collapsing {
    background: rgba(10,10,10,0.97);
    border-radius: 0 0 12px 12px;
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
  }
  .hero-bounce-ball { display: none; }
  .about-image-badge { right: 0; bottom: 16px; }
}

/* ── GLightbox overrides ─────────────────────────────────── */
.glightbox-container { overflow: hidden !important; }

.gslide-image img {
  max-width:  100vw !important;
  max-height: 88vh !important;
  width:  auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Always show prev/next arrows */
.glightbox-clean .gprev,
.glightbox-clean .gnext {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .glightbox-clean .gprev { left:  6px !important; }
  .glightbox-clean .gnext { right: 6px !important; }

  .glightbox-clean .gprev,
  .glightbox-clean .gnext {
    width:  40px !important;
    height: 40px !important;
    background: rgba(0,0,0,0.65) !important;
    border-radius: 50% !important;
    padding: 6px !important;
  }

  .glightbox-clean .gprev svg,
  .glightbox-clean .gnext svg {
    width:  18px !important;
    height: 18px !important;
  }
}

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