/**
 * GTA TV Ecosystem — TV Repair Portal Theme Stylesheet
 * Brand: GTA TV SERVICES & REPAIR (Warm Paper Editorial Identity)
 * Strictly Frontend — Non-destructive to existing backend controllers and endpoints.
 */

/* 1. Google Fonts CDN */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Fraunces:ital,opsz,wght@0,9..144,600..900;1,9..144,600..900&display=swap');

/* 2. Color Palette & Design Tokens */
:root {
  --paper: #fffaf1;
  --paper-2: #fbf2e4;
  --paper-3: #fffdfa;
  --card: #fffdfa;

  --ink: #1b1714;
  --ink-soft: #4b433c;
  --muted: #7d736a;

  --line: #ece2d4;
  --line-2: #dccdba;

  --coral: #ff5a3c;
  --coral-dark: #e1442a;
  --coral-soft: #ffe7e0;

  --teal: #0f9b8e;
  --teal-dark: #0b7d72;
  --teal-soft: #dcf4f0;

  --marigold: #ffc531;
  --marigold-soft: #fff2cc;

  --lilac: #a78bfa;
  --lilac-soft: #eee8ff;
  --sky: #7cc4ff;
  --sky-soft: #e4f2ff;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 23, 20, .05);
  --shadow: 0 1px 2px rgba(27, 23, 20, .04), 0 22px 44px -32px rgba(27, 23, 20, .38);
  --shadow-lg: 0 2px 4px rgba(27, 23, 20, .04), 0 34px 64px -34px rgba(27, 23, 20, .42);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3. Base Resets & Typography */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft) !important;
  background: var(--paper) !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title h2,
#hero h1,
#hero h2 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.028em !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover {
  color: var(--coral-dark);
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
}

/* Editorial Highlight Helpers */
.hl { color: var(--coral) !important; }
.hl-teal { color: var(--teal) !important; }
.serif-italic {
  font-family: "Fraunces", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
}
.text-coral { color: var(--coral) !important; }
.text-teal { color: var(--teal) !important; }
.text-marigold { color: var(--marigold) !important; }
.bg-paper2 { background: var(--paper-2) !important; }
.bg-coral-soft { background: var(--coral-soft) !important; }
.bg-teal-soft { background: var(--teal-soft) !important; }

/* 4. Topbar */
.topbar {
  background: var(--ink) !important;
  color: rgba(255, 250, 241, .75) !important;
  font-size: .75rem !important;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255, 250, 241, .1);
}
.topbar .container {
  min-height: 38px;
  padding-top: .35rem;
  padding-bottom: .35rem;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 250, 241, .75);
}
.topbar-item i {
  color: var(--marigold) !important;
  font-size: .85rem;
}
.topbar-phone {
  color: var(--paper) !important;
  font-weight: 600;
  text-decoration: none;
}
.topbar-phone:hover {
  color: var(--marigold) !important;
}

/* 5. Sticky Site Header (#header) */
#header {
  background: var(--paper) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  padding: .75rem 0 !important;
  position: sticky !important;
  top: 0 !important;
}
#header.header-scrolled {
  border-bottom-color: var(--line-2) !important;
  box-shadow: 0 10px 24px -20px rgba(27, 23, 20, 0.45) !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  max-width: 65%;
}
.brand-logo {
  max-height: 42px;
  width: auto;
  display: block;
}

/* Navbar Links */
.navbar a,
.navbar a:focus {
  font-family: "DM Sans", sans-serif !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
  padding: .45rem .85rem !important;
  border-radius: var(--radius-pill);
  transition: all 0.18s ease !important;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--coral-dark) !important;
  background: var(--paper-2) !important;
}

/* Navbar CTA Button (.getstarted) */
.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--coral) !important;
  color: #fff !important;
  padding: .52rem 1.15rem !important;
  margin-left: 10px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 18px -14px rgba(255, 90, 60, .95) !important;
  border: 1px solid transparent !important;
}
.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  background: var(--coral-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  color: var(--ink) !important;
  font-size: 28px !important;
  cursor: pointer;
}

/* 6. Hero Section (#hero) */
#hero {
  background:
    radial-gradient(820px 520px at 94% -14%, var(--marigold-soft), transparent 72%),
    radial-gradient(720px 480px at -10% 110%, var(--teal-soft), transparent 72%),
    var(--paper) !important;
  padding: 60px 0 80px !important;
  min-height: auto !important;
  position: relative;
  overflow: hidden;
}
#hero h1 {
  font-size: clamp(1.85rem, 5.2vw, 3.4rem) !important;
  line-height: 1.08 !important;
  margin-bottom: .75rem !important;
}
#hero h2 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  margin-bottom: 1.6rem !important;
}

/* Eyebrow Stamp */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 253, 250, .95);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: .4rem .9rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

/* Hero CTA Button */
#hero .btn-get-started,
.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--coral) !important;
  color: #fff !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  padding: .75rem 1.6rem !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 22px -12px rgba(255, 90, 60, .9) !important;
  text-decoration: none !important;
  transition: transform .18s var(--ease), background-color .18s ease, box-shadow .18s ease !important;
}
#hero .btn-get-started:hover,
.btn-coral:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(255, 90, 60, .95) !important;
}

/* 4 Feature Icon Boxes (#hero .icon-box) */
#hero .icon-boxes {
  margin-top: 50px;
}
#hero .icon-box {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 24px 20px !important;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease !important;
  height: 100%;
}
#hero .icon-box:hover {
  transform: translateY(-4px) !important;
  border-color: var(--line-2) !important;
  box-shadow: var(--shadow) !important;
}
#hero .icon-box .icon {
  margin-bottom: 15px;
}
#hero .icon-box .icon i {
  color: var(--coral) !important;
  font-size: 32px !important;
}
#hero .icon-box .title {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  color: var(--ink) !important;
}
#hero .icon-box .description {
  font-size: .88rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
}

/* 7. Section Titles & About Section */
.section-title {
  padding-bottom: 30px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  margin-bottom: 12px;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--coral) !important;
  bottom: 0;
  left: calc(50% - 25px);
  border-radius: 2px;
}

.about .content ul i {
  color: var(--teal) !important;
  font-size: 20px;
  padding-right: 4px;
}

/* 8. Services Cards (#services .icon-box) */
#services .icon-box {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 30px 24px !important;
  transition: all 0.25s var(--ease) !important;
}
#services .icon-box:hover {
  transform: translateY(-4px) !important;
  border-color: var(--line-2) !important;
  box-shadow: var(--shadow) !important;
}
#services .icon-box .icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 12px !important;
  background: var(--coral-soft) !important;
  display: grid !important;
  place-items: center !important;
  margin-bottom: 18px !important;
}
#services .icon-box .icon i {
  color: var(--coral) !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

#services .icon-box:hover .icon i {
  color: var(--paper) !important;
}
#services .icon-box h4 a {
  color: var(--ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.2rem !important;
}
#services .icon-box h4 a:hover {
  color: var(--coral) !important;
}

/* 9. FAQs Accordion (#faq) */
.faq .faq-list a {
  color: var(--ink) !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600 !important;
}
.faq .faq-list a:hover {
  color: var(--coral) !important;
}
.faq .faq-list a.collapse i,
.faq .faq-list a.collapsed i {
  color: var(--coral) !important;
}
.faq .faq-list li {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  margin-bottom: 12px !important;
}

/* 10. Forms & Enquiry Controls */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  border: 1.5px solid var(--line-2) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  font-family: "DM Sans", sans-serif !important;
  padding: .65rem .95rem !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: var(--coral) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.15) !important;
}

button[type="submit"],
.btn-primary {
  background: var(--coral) !important;
  border-color: var(--coral) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: .65rem 1.4rem !important;
  font-weight: 600 !important;
  transition: all .18s ease !important;
}
button[type="submit"]:hover,
.btn-primary:hover {
  background: var(--coral-dark) !important;
  border-color: var(--coral-dark) !important;
  transform: translateY(-1px);
}

/* 11. Footer (#footer) */
#footer {
  background: var(--ink) !important;
  color: var(--paper) !important;
  font-size: .88rem;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}
#footer .footer-top {
  background: var(--ink) !important;
  padding: 60px 0 30px 0 !important;
  border-bottom: 1px solid rgba(255, 250, 241, .1) !important;
}
#footer .footer-top h3,
#footer .footer-top h4 {
  color: var(--paper) !important;
  font-family: "Fraunces", Georgia, serif !important;
}
#footer .footer-top h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  margin-bottom: 18px !important;
}
#footer .footer-top .footer-links ul li {
  padding: 6px 0 !important;
}
#footer .footer-top .footer-links ul a {
  color: rgba(255, 250, 241, .7) !important;
  text-decoration: none;
}
#footer .footer-top .footer-links ul a:hover {
  color: var(--marigold) !important;
}
#footer .footer-top .footer-contact p {
  color: rgba(255, 250, 241, .75) !important;
  line-height: 1.6 !important;
}
#footer .footer-top .footer-contact a {
  color: var(--marigold) !important;
}
#footer .copyright {
  color: rgba(255, 250, 241, .6) !important;
  font-size: .8rem !important;
}
#footer .copyright a {
  color: var(--marigold) !important;
}

/* Massive Low-Opacity Wordmark */
.foot-wordmark {
  margin-top: 2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 8.5vw, 6.5rem);
  font-weight: 700;
  line-height: .85;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  color: rgba(255, 250, 241, .045);
  overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
  background: var(--coral) !important;
  border-radius: 10px !important;
}
.back-to-top:hover {
  background: var(--coral-dark) !important;
}

/* 12. Fold & Mobile Responsiveness */
@media (max-width: 767.98px) {
  #header { padding: .5rem 0 !important; }
  .brand-logo { max-height: 34px !important; }
  #hero { padding: 40px 0 50px !important; }
  #hero .icon-boxes { margin-top: 30px; }
  #footer .footer-top { padding: 40px 0 20px 0 !important; }
}

@media (max-width: 340px) {
  /* Galaxy Fold & Ultra Narrow Displays */
  .container { padding-left: 8px !important; padding-right: 8px !important; }
  .brand-logo { max-height: 35px !important; max-width: 150px !important; }
  #hero h1 { font-size: 1.35rem !important; }
  #hero .icon-box { padding: 16px 12px !important; }
}

/* 13. Contact & Enquiry Forms (.contact) */
.contact .info {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 28px !important;
}
.contact .info i {
  color: var(--coral) !important;
  background: var(--coral-soft) !important;
  border-radius: 10px !important;
}
.contact .info h4 {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.15rem !important;
  color: var(--ink) !important;
}
.contact .info p a {
  color: var(--ink-soft) !important;
  text-decoration: none;
}
.contact .info p a:hover {
  color: var(--coral) !important;
}
.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: var(--coral) !important;
  color: #fff !important;
}

.contact .php-email-form {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 32px !important;
}
.contact .php-email-form h2 {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.25rem !important;
  color: var(--coral) !important;
  margin-bottom: 1rem !important;
  padding-bottom: .5rem;
  border-bottom: 1.5px solid var(--line);
}
.form-label {
  font-weight: 600;
  color: var(--ink) !important;
  font-size: .88rem;
}
.divider-text {
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--coral) !important;
  font-weight: 600;
  font-size: 1.1rem;
}
