/* =============================================
   REXXERS SUPPORT — Master Stylesheet
   ============================================= */

:root {
  --red:          #f15048;
  --red-dark:     #d63f38;
  --red-light:    #ff7067;
  --red-pale:     #fff0ef;
  --navy:         #1e1e30;
  --navy-mid:     #2e2e45;
  --bg:           #ffffff;
  --bg-alt:       #f6f7fb;
  --bg-dark:      #111125;
  --card:         #ffffff;
  --card-border:  #e4e6f0;
  --text:         #1e1e30;
  --text-muted:   #6b6f8e;
  --text-light:   #9497b0;
  /* EXACT logo pixel-sampled colors */
  --nav-bg:       #FFCCCC;   /* logo background  rgb(255,204,204) */
  --nav-text:     #FF1818;   /* REXXERS red      rgb(255,24,24)   */
  --nav-sub:      #FF6868;   /* subtitle pink    rgb(255,104,104) */
  --header-h:     76px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --shadow-red:   0 6px 24px rgba(241,80,72,0.30);
  --ease:         0.22s ease;
  --font:         'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Comfortaa', 'Montserrat', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: var(--red); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--red-dark); }

/* ---- CONTAINER ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), border-color var(--ease), color var(--ease),
              box-shadow var(--ease), transform var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: 10px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-white {
  background: rgba(255,255,255,0.92);
  color: var(--red);
  border-color: rgba(255,255,255,0.92);
  font-weight: 700;
}
.btn-white:hover {
  background: #fff;
  border-color: #fff;
  color: var(--red-dark);
  transform: translateY(-2px);
}

/* ---- SECTION LAYOUT ---- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta { text-align: center; margin-top: 52px; }

.tag {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red);
  border: 1px solid rgba(241,80,72,0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}


/* =============================================
   SITE HEADER — salmon-pink matching logo bg
   ============================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(200,90,80,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,0.14);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo fills full header height so bg blends seamlessly */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img {
  height: calc(var(--header-h) - 16px);
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Nav links — Comfortaa (lighter, rounder) on exact logo pink */
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-family: 'Comfortaa', var(--font);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--nav-text);
  border-radius: 7px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover {
  color: #cc0000;
  background: rgba(255,24,24,0.10);
}

/* CTA pill */
.nav-link.nav-cta {
  background: #fff;
  color: var(--nav-text);
  margin-left: 10px;
  padding: 7px 20px;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255,24,24,0.22);
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.nav-link.nav-cta:hover {
  background: var(--nav-text);
  color: #fff;
  border-color: var(--nav-text);
  box-shadow: 0 4px 16px rgba(255,24,24,0.28);
}

/* Mobile hamburger — red lines matching logo text */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =============================================
   HERO SECTION — brighter overlay
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('images/web-3967926.jpg.png') center center / cover no-repeat;
  padding-top: var(--header-h);
}

/* Lighter overlay so background image shows through more */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(15, 5, 25, 0.58) 0%,
    rgba(25, 12, 40, 0.46) 50%,
    rgba(10, 4, 20, 0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  padding: 48px 28px 96px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.38);
  color: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.50);
  font-size: 1.4rem;
  z-index: 1;
  text-decoration: none;
  animation: bob 2.2s ease-in-out infinite;
  transition: color var(--ease);
}
.hero-scroll:hover { color: rgba(255,255,255,0.85); }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}


/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(241,80,72,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
}


/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.service-card {
  background: var(--card);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-card--featured {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.service-card--featured:hover {
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(241,80,72,0.12);
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-red);
}

.service-icon { font-size: 2.4rem; margin-bottom: 14px; line-height: 1; }

.service-level {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.3;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}


/* =============================================
   BLOG SECTION
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- Individual blog post card ---- */
.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.blog-card:hover {
  border-color: rgba(240,48,48,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Featured image area */
.blog-card-img {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #ffebe9 0%, #ffd0cc 100%);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
  display: block;
}
.blog-card-img--placeholder {
  background: linear-gradient(135deg, #fff2f0 0%, #ffdad8 100%);
}
.blog-card-img--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%23f03030' stroke-width='1' opacity='0.25'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E") center / 60px no-repeat;
}

/* Category pill on image */
.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(240,48,48,0.35);
}

/* Card content */
.blog-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date { display: none; }

/* Title is the hero of each card */
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.38;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}
.blog-card-title a:hover { color: var(--red); }

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: color var(--ease), gap var(--ease);
  width: fit-content;
}
.blog-read-more:hover { color: var(--red-dark); gap: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Blog promo banner */
.blog-promo-bar {
  background: linear-gradient(135deg, var(--red-pale) 0%, #fff 100%);
  border: 1px solid rgba(240,48,48,0.18);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.blog-promo-bar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.blog-promo-bar p { font-size: 0.9rem; color: var(--text-muted); }


/* =============================================
   TICKET SECTION
   ============================================= */
.ticket-section { background: var(--bg-alt); }

.ticket-embed-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
}
.ticket-embed-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: none;
}

.ticket-status-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.ticket-status-link a { color: var(--red); font-weight: 600; }
.ticket-status-link a:hover { color: var(--red-dark); }


/* =============================================
   ABOUT PAGE
   ============================================= */
.about-section { padding: 88px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-pale), #ffe4e2);
  border: 4px solid var(--red);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--red);
  box-shadow: var(--shadow-md), 0 0 0 8px rgba(241,80,72,0.07);
  max-width: 280px;
  margin: 0 auto;
}

.about-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-cta { margin-top: 32px; }


/* =============================================
   UTILITY PAGES (thank-you, errors)
   ============================================= */
.page-center {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
}

.thankyou-card, .error-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 60px 48px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.thankyou-icon, .error-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1;
}

.thankyou-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.error-card .error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.error-card .error-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.thankyou-card p, .error-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.card-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =============================================
   SITE FOOTER — dark navy, compact, big logo
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 36px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2.4fr 2fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Logo: large enough to be unmistakably readable */
.footer-logo {
  display: block;
  height: 240px;
  width: auto;
  max-width: 100%;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
  font-style: italic;
  margin-top: 4px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav-col { display: flex; flex-direction: column; gap: 8px; }

.footer-nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-nav-col a:hover { color: #fff; }

.footer-bottom {
  padding: 14px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .testimonials-grid,
  .services-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-avatar { max-width: 200px; }
  .blog-promo-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle  { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    gap: 2px;
    border-top: 1px solid rgba(200,90,80,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 1001;
  }
  .main-nav.is-open {
    display: flex;
    animation: mobileNavIn 0.22s ease;
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-link { padding: 12px 16px; font-size: 1rem; border-radius: 8px; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; padding: 13px 16px; }

  .section { padding: 60px 0; }

  .hero-title    { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .btn-lg        { width: 100%; max-width: 300px; text-align: center; }

  .testimonials-grid,
  .services-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .footer-inner  { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav    { grid-template-columns: repeat(2, 1fr); }
  .footer-logo   { height: 160px; }

  .thankyou-card, .error-card { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-nav { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
  .ticket-embed-wrapper iframe { min-height: 820px; }
}
