/* ===========================
   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 / HERO (FIXED)
   =========================== */

.page-header {
  position: relative;
  margin-top: 70px;
  padding: 140px 0 80px;
  text-align: center;
  color: #ffffff;
  background: url('images/diamonds.jpeg') center/cover no-repeat;
}

/* Strong dark overlay for readability */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75); /* 🔥 KEY FIX */
}

/* Keep text above overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}

/* Heading fix */
.page-header h1 {
  font-size: 2.6rem;
  color: #ffffff !important;
  margin-bottom: 15px;
}

/* Paragraph fix */
.page-header .lead {
  color: #f1f5f9 !important;
  max-width: 750px;
  margin: auto;
  font-size: 1.1rem;
}

/* Optional premium effect */
.page-header h1,
.page-header .lead {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
/* ===========================
   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
   =========================== */



  /* FLOATING BUTTONS */
    .floating-contact {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 9999;
    }

    .call-btn {
      width: 55px;
      height: 55px;
      background: #2563eb;
      color: #fff;
      font-size: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .whatsapp-btn {
      width: 55px;
      height: 55px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

/* ===========================
   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;
  }
  
  /* ===== GALLERY FIX ===== */

.row > div {
  display: flex;
}

.tile-card,
.tile-video {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b1220 !important;
  border: 1px solid #1f2937;
}

.tile-image img,
.video-thumb img {
  height: 220px;
  object-fit: cover;
}

.tile-body {
  flex: 1;
  background: #111827;
  display: flex;
  align-items: center;
}

.tile-body h5 {
  color: #fff;
  min-height: 48px;
}
/* ===== FOOTER FIX ===== */

.footer {
  background: #020617 !important;   /* same as your theme */
  color: #ffffff !important;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===========================
   GALLERY ALIGNMENT FIX (ADD AT END)
   =========================== */

.row.g-4 > div {
  display: flex;
}

.tile-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* FIX IMAGE HEIGHT */
.tile-image {
  height: 220px;
  overflow: hidden;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BODY ALIGNMENT */
.tile-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  background: #111827;
}

/* TITLE HEIGHT FIX */
.tile-body h5 {
  min-height: 48px;
}

/* DESCRIPTION */
.video-desc {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* ===== ABOUT PAGE HEADER FIX ===== */

.page-header {
  position: relative;
  margin-top: 70px;
  padding: 140px 0 80px;
  text-align: center;
  color: #ffffff;
  background: url('images/diamonds.jpeg') center/cover no-repeat;
}

/* DARK OVERLAY */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

/* Keep content above overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}

/* FIX TEXT COLORS */
.page-header h1 {
  color: #ffffff !important;
}

.page-header h2 {
  color: #e5e7eb !important;  /* 🔥 THIS FIXES YOUR ISSUE */
  margin-top: 10px;
}

.page-header .lead {
  color: #f1f5f9 !important;
}

/* Improve readability */
.page-header h1,
.page-header h2,
.page-header .lead {
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
}
