/* =====================================================
   FITPATT SERVICES – GLOBAL THEME
   SOURCE: index.html (exact extraction)
   ⚠️ Do not edit casually
===================================================== */

/* =========================
   ROOT VARIABLES (1:1 MATCH)
========================= */
:root{
  --bg: #fcfcfc; 
  --card: #121a2b; 
  --text: #370359; 
  --muted: #000000;
  --muted-soft: #000000bf;

  --brand: #7b777d; 
  --brand-2: #370359;

  --ring: rgba(42, 15, 55, 0.35);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 18px;
}

/* =========================
   GLOBAL RESET & BASE
========================= */
*{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
  scroll-behavior:smooth;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
               Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(34,197,94,.08), transparent 40%),
    radial-gradient(1000px 600px at 100% 0%, rgba(14,116,144,.12), transparent 40%),
    var(--bg);

  color: var(--text);
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6{
  color: var(--text);
  margin: 0;
}

p{
  margin: 0;
  color: var(--text);
}

.text-muted{
  color: var(--muted);
}

/* =========================
   LINKS
========================= */
a{
  color: var(--muted);
  text-decoration: none;
}

a:hover{
  color: var(--text);
}


/* =========================
   LAYOUT HELPERS
========================= */
.container{
  width:min(1100px, 90vw);
  margin-inline:auto;
}


/* =========================
   BUTTONS
========================= */
.btn{
  appearance:none;
  border:none;
  padding:14px 18px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
}

.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:white;
  box-shadow: 0 10px 30px rgba(34,197,94,.25);
}

.btn.ghost{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,.15);
}

/* =========================
   CARDS
========================= */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================
   BADGES
========================= */
.badge{
  font-size:12px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:var(--muted);
}

/* =========================
   FORMS
========================= */
input, textarea{
  width:100%;
  padding:14px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  color: var(--text);
  font-family: inherit;
}

input:focus, textarea:focus{
  outline:2px solid var(--ring);
}

label{
  font-size:14px;
  color: var(--muted);
}


/* ================================
   SERVICES PAGE – GRID DESIGN
================================ */

/* Services section container */
#services {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 80px;
}

/* Grid wrapper */
#services .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Service cards */
#services .card.service {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

/* Hover effect */
#services .card.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Titles */
#services .card.service h3 {
  color: #370359;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Text */
#services .card.service p {
  color: #333;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Keep cards visually aligned */
#services .card.service {
  min-height: 220px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  #services .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #services .services {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   PREMIUM SERVICE MODAL
================================ */

/* Background overlay */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(35px) saturate(120%);
  -webkit-backdrop-filter: blur(35px) saturate(120%);
  z-index: 9999;
  padding: 24px;
}

.modal.open {
  display: flex;
}

/* Modal container */
.modal-dialog {
  width: min(1100px, 96vw);
  max-height: 92vh;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

/* Title */
.modal-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: #370359;
  margin-bottom: 16px;
  text-align: left;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.05);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.modal-close:hover {
  background: rgba(0,0,0,0.1);
  transform: scale(1.05);
}

/* Modal body */
.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Media (images / video) */
.modal .media,
.pt-slider {
  width: 100%;
  max-width: 980px;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

/* Images inside slider */
.pt-slide img,
.modal img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Slider arrows – subtle & classy */
.pt-prev,
.pt-next {
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}

.pt-prev:hover,
.pt-next:hover {
  transform: scale(1.08);
}

/* Mobile refinement */
@media (max-width: 640px) {
  .modal-dialog {
    padding: 14px;
    border-radius: 18px;
  }
}
