/* =========================
   Enigma Dynamics Theme CSS
   Navy Premium (NO Red Hover)
   ========================= */

:root{
  --brand-navy: #0b1b3a;
  --brand-navy-2: #071128;
  --brand-soft: #f8fafc;
  --brand-border: rgba(15, 23, 42, 0.10);
}

.brand-text{
  color: var(--brand-navy);
}

.brand-link{
  color: #0f172a;
  transition: all 0.2s ease;
}
.brand-link:hover{
  color: var(--brand-navy);           /* ✅ NO RED */
  opacity: 0.75;                      /* ✅ Smooth premium hover */
}

/* ✅ Main button = Navy only */
.brand-btn{
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
  color: #ffffff;
  font-weight: 800;
  border-radius: 18px;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 25px rgba(11, 27, 58, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ✅ Outline button = clean white */
.brand-outline-btn{
  background: #ffffff;
  color: var(--brand-navy);
  border: 1px solid rgba(11, 27, 58, 0.18);
  font-weight: 800;
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-outline-btn:hover{
  background: #f8fafc;
  transform: translateY(-1px);
}

/* ✅ Pill = navy soft (no red) */
.brand-pill{
  background: rgba(11, 27, 58, 0.06);
  border: 1px solid rgba(11, 27, 58, 0.12);
  color: var(--brand-navy);
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

/* ✅ Cards */
.brand-card{
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--brand-border);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

/* ✅ Hero */
.hero-photo{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(700px 340px at 80% 60%, rgba(11, 27, 58, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.55));
}

.brand-gradient{
  background:
    radial-gradient(900px 400px at 12% 20%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(600px 300px at 80% 60%, rgba(11, 27, 58, 0.28), transparent 60%);
}

/* ✅ Images */
.cat-img{
  width: 100%;
  height: 190px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.10);
}
.thumb-img{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.12);
}


/* ✅ Global Responsive Safety */
*{ box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; }

body{
  overflow-x: hidden; /* prevents horizontal scroll issues */
}

.hero-photo{
  min-height: 520px;
}
@media (max-width: 640px){
  .hero-photo{ min-height: 520px; }
}

@media (max-width: 480px){
  .hero-photo{ min-height: 400px; }
}

/* ✅ Big screens: make content look premium instead of small */
@media (min-width: 1536px){
  body{
    font-size: 17px;
  }
}
@media (min-width: 1920px){
  body{
    font-size: 18px;
  }
}


/* ✅ Responsive map height */
.map-embed{
  height: 360px;
}
@media (max-width: 640px){
  .map-embed{ height: 260px; }
}

/* ✅ Smooth scroll for whole website */
html { scroll-behavior: smooth; }

/* End of Enigma Dynamics Theme CSS */


/* =========================
   Premium Magnetic Hover FX
   (soft, minimal)
   ========================= */

/* Smooth motion everywhere */
.brand-card,
.cat-img,
.thumb-img{
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
  will-change: transform;
}

/* Card hover = slight lift + soft shadow */
.brand-card:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

/* Image hover = tiny zoom + slight clarity */
.brand-card:hover .cat-img,
.brand-card:hover .thumb-img{
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce){
  .brand-card,
  .cat-img,
  .thumb-img{
    transition: none !important;
    transform: none !important;
  }
}

/* =========================
   Magnetic Hover for Buttons
   ========================= */

.brand-btn,
.brand-outline-btn{
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  will-change: transform;
}

/* Primary button magnetic */
.brand-btn:hover{
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 16px 35px rgba(11, 27, 58, 0.22);
}

/* Outline button magnetic */
.brand-outline-btn:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

/* Click press effect */
.brand-btn:active,
.brand-outline-btn:active{
  transform: translateY(0px) scale(0.98);
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .brand-btn,
  .brand-outline-btn{
    transition: none !important;
    transform: none !important;
  }
}


/* =========================
   Magnetic Utility Class
   Use: class="magnetic"
   ========================= */

.magnetic{
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.magnetic:hover{
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}

.magnetic:active{
  transform: translateY(0px) scale(0.98);
}

/* small pill magnetic (chips) */
.magnetic-pill:hover{
  transform: translateY(-1px) scale(1.06);
  filter: brightness(1.04);
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .magnetic, .magnetic:hover, .magnetic:active,
  .magnetic-pill:hover{
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================
   Premium Cursor Interaction
   (NO Custom Cursor Chasing)
   ========================= */

/* Default */
body{
  cursor: default;
}

/* Clickable elements get pointer */
a, button, summary,
input[type="submit"], input[type="button"]{
  cursor: pointer;
}

/* Premium hover focus ring for interactive items */
.interactive-hover{
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, filter 180ms ease;
}

/* Glow border on hover */
.interactive-hover:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 27, 58, 0.14);
  filter: brightness(1.03);
}

/* Soft animated outline using pseudo element */
.interactive-hover::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(11, 27, 58, 0);
  transition: border 180ms ease;
  pointer-events: none;
}

.interactive-hover:hover::after{
  border: 2px solid rgba(11, 27, 58, 0.25);
}

/* Apply automatically to your existing classes */
.brand-btn,
.brand-outline-btn,
.brand-card{
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.brand-btn:hover,
.brand-outline-btn:hover{
  transform: translateY(-2px) scale(1.02);
}

.brand-card:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .interactive-hover,
  .brand-btn,
  .brand-outline-btn,
  .brand-card{
    transition: none !important;
    transform: none !important;
  }
}
