/* ===========================
   VAA DIAMONDS – GLOBAL THEME
   =========================== */

:root {
  --bg-body: #f5f7fa;
  --bg-surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --accent: #00b341;      /* brand green (logo) */
  --accent-dark: #009130;
  --accent-soft: #bbf7c8;
  --shadow-soft: rgba(15, 23, 42, 0.06);
  --shadow-strong: rgba(15, 23, 42, 0.12);
  --radius-card: 1rem;
}

/* Base reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
}

/* Typography */
h1, h2, h3, h4, h5 {
  margin-top: 0;
  color: var(--text-main);
  font-weight: 700;
}
p {
  color: var(--text-muted);
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-dark);
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  background: var(--bg-surface) !important;
  box-shadow: 0 2px 10px var(--shadow-soft);
}

.navbar-brand {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Logo image (support both classes just in case) */
.brand-logo,
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 576px) {
  .brand-logo,
  .logo-img {
    height: 30px;
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-main);
  font-weight: 500;
  padding-inline: 0.9rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--accent);
}

/* burger icon tint */
.navbar-dark .navbar-toggler-icon {
  filter: invert(18%) sepia(9%) saturate(935%) hue-rotate(90deg)
    brightness(95%) contrast(88%);
}

/* ===========================
   PAGE HEADER / HERO
   =========================== */

.page-header {
  margin-top: 70px; /* space for fixed navbar */
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #e7ffe9 0%, #f9fafb 45%, #d9fddf 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
}

.page-header .lead {
  max-width: 620px;
  margin: 0.75rem auto 0;
}

/* Optional hero logo if used */
.hero-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1rem;
}

/* ===========================
   SECTIONS / LAYOUT
   =========================== */

section {
  scroll-margin-top: 80px;
}

.container {
  max-width: 1140px;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

/* ===========================
   CARDS / GALLERY TILES
   =========================== */

.tile-card,
.tile-video {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.2s ease;
  box-shadow: 0 8px 20px var(--shadow-soft);
}

.tile-card:hover,
.tile-video:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-strong);
  border-color: var(--accent-soft);
}

/* Image wrapper */
.tile-image,
.video-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tile-image img,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tile-card:hover .tile-image img,
.tile-video:hover .video-thumb img {
  transform: scale(1.05);
}

/* Card body */
.tile-body {
  padding: 1rem 1.15rem 1.2rem;
}

.tile-body h5 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.tile-body p {
  font-size: 0.87rem;
}

/* Video tile play overlay (if using thumbnail + modal) */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(15, 23, 42, 0.9);
  opacity: 0.85;
  transition: opacity 0.25s;
}

.tile-video:hover .play-overlay {
  opacity: 1;
}

/* ===========================
   FORMS (Contact page)
   =========================== */

form .form-label {
  font-weight: 500;
  color: var(--text-main);
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border-color: #d1d5db;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background: #020617;
  color: #ffffff;
  font-size: 0.88rem;
}

/* ===========================
   WHATSAPP FLOAT BUTTON
   =========================== */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(22, 163, 74, 0.5);
  z-index: 999;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.whatsapp-float:hover {
  background: #16a34a;
}

/* ===========================
   ANIMATIONS
   =========================== */

.animate-tile {
  opacity: 0;
  transform: translateY(14px);
  animation: tileFadeUp 0.6s ease forwards;
}

.animate-tile.delay-1 {
  animation-delay: 0.1s;
}
.animate-tile.delay-2 {
  animation-delay: 0.2s;
}

@keyframes tileFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE TWEAKS
   =========================== */

@media (max-width: 991.98px) {
  .page-header {
    margin-top: 60px;
    padding: 3rem 0;
  }
}

@media (max-width: 575.98px) {
  .page-header h1 {
    font-size: 1.9rem;
  }
}
