/* ============================================================
   ShortlineMarket.com — Main Stylesheet
   Design: Deep navy + warm gold on white | Serif display + Inter body
   ============================================================ */

:root {
  --navy:     #0D2B4E;
  --navy-mid: #1A3A5C;
  --navy-lt:  #2A5480;
  --gold:     #C9A84C;
  --gold-lt:  #E5C97A;
  --gold-dk:  #A07830;
  --white:    #FFFFFF;
  --off:      #F7F8FA;
  --text:     #1C2B3A;
  --muted:    #5A6A7A;
  --border:   #E0E8F0;
  --success:  #1E7E34;
  --error:    #C0392B;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(13,43,78,.10);
  --shadow-lg:0 12px 48px rgba(13,43,78,.16);
  --trans:    all .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

a { color: var(--navy-lt); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  border: none; cursor: pointer; transition: var(--trans);
}
.btn-primary:hover { background: var(--gold-lt); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.6); color: var(--white);
  padding: 13px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; transition: var(--trans);
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); border-color: var(--white); }

.btn-nav {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: .875rem; white-space: nowrap;
  transition: var(--trans);
}
.btn-nav:hover { background: var(--gold-lt); color: var(--navy); }

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ── Section Defaults ── */
.section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.section-header p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.section-header.light h2, .section-header.light .section-eyebrow { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.75); }

.section-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; list-style: none; gap: 8px; margin: 0 auto; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: var(--trans);
}
.nav-links a:hover { color: var(--gold); background: rgba(255,255,255,.06); }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--white); }
.logo-sub { font-size: .65rem; font-weight: 500; letter-spacing: .5px; color: rgba(255,255,255,.6); text-transform: uppercase; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(145deg, var(--navy) 0%, #0a1e36 50%, #112840 100%);
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42,84,128,.3) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-content {
  position: relative; z-index: 1; padding: 140px 24px 120px;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-lt); font-size: .8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px; margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white); margin-bottom: 24px; line-height: 1.15;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.72);
  margin-bottom: 42px; max-width: 640px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: .5px; margin-top: 4px; }

.hero-scroll {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.hero-scroll a { color: rgba(255,255,255,.4); font-size: 1.2rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-visual {
  position: relative; height: 480px;
}
.about-emblem {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 240px; height: 240px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.emblem-inner { text-align: center; color: var(--white); }
.emblem-inner i { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 12px; }
.emblem-inner p { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; }
.emblem-inner small { font-size: .75rem; opacity: .7; letter-spacing: 2px; text-transform: uppercase; }

.about-card {
  position: absolute;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; border: 1px solid var(--border);
}
.about-card i { color: var(--gold); font-size: 1.2rem; }
.card-1 { top: 40px; left: -10px; }
.card-2 { bottom: 60px; right: -10px; }

.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
.about-lead { font-size: 1.1rem; font-weight: 600; color: var(--navy-mid); }
.about-desc { color: var(--muted); line-height: 1.8; }

.about-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off); border: 1px solid var(--border);
  color: var(--navy); font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 50px;
}
.badge i { color: var(--gold); }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-section { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.service-card {
  background: var(--white); border-radius: 16px;
  padding: 36px 30px; border: 1px solid var(--border);
  transition: var(--trans); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 100%);
  transform: scaleX(0); transform-origin: left; transition: var(--trans);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold); margin-bottom: 22px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.service-link { color: var(--navy); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--gold); }
.service-link i { transition: var(--trans); }
.service-link:hover i { transform: translateX(4px); }

/* ══════════════════════════════════════════
   WHY US
══════════════════════════════════════════ */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.why-item { text-align: center; padding: 32px 20px; }
.why-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold); margin: 0 auto 20px;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: 10px; }
.why-item p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.testimonial-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 32px; backdrop-filter: blur(10px);
  transition: var(--trans);
}
.testimonial-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.stars { color: var(--gold); margin-bottom: 16px; font-size: .9rem; display: flex; gap: 3px; }
.t-text { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); font-weight: 700; flex-shrink: 0;
}
.t-author strong { display: block; color: var(--white); font-size: .9rem; }
.t-author span { display: block; color: rgba(255,255,255,.55); font-size: .8rem; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section { background: var(--off); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.contact-detail h4 { font-size: .85rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.contact-detail a, .contact-detail p { color: var(--navy); font-size: .95rem; font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; margin-top: 12px;
  transition: var(--trans); width: fit-content;
}
.whatsapp-btn:hover { background: #1da851; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.whatsapp-btn i { font-size: 1.3rem; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group textarea, .form-group select {
  padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: .95rem;
  color: var(--text); background: var(--white);
  transition: var(--trans); outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,43,78,.08);
}
.form-group textarea { resize: vertical; }

.form-success, .form-error {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; font-weight: 500;
}
.form-success { background: #e8f5e9; color: var(--success); border: 1px solid #a5d6a7; }
.form-error { background: #fdecea; color: var(--error); border: 1px solid #ef9a9a; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.75; margin: 20px 0 24px; max-width: 300px; }

.footer-brand .logo-light .logo-name { color: var(--white); }
.footer-brand .logo-light .logo-sub { color: rgba(255,255,255,.5); }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .95rem; transition: var(--trans);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.1); }

.footer-col h5 {
  font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .9rem; transition: var(--trans); }
.footer-col ul a:hover { color: var(--gold); }

.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 12px; }
.contact-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-list a { color: rgba(255,255,255,.6); }
.contact-list a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-hashtags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-hashtags span { color: rgba(201,168,76,.6); font-size: .78rem; font-weight: 600; }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  transition: var(--trans); animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 8px 32px rgba(37,211,102,.6); }

.wa-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--trans);
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--navy);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: var(--shadow); transition: var(--trans);
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy-lt); transform: translateY(-3px); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links, .btn-nav { display: none; }
  .hamburger {
    display: flex; z-index: 1100; position: relative;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy); padding: 100px 32px 32px;
    z-index: 1000; gap: 8px; overflow-y: auto;
  }
  .nav-links.open li a {
    font-size: 1.3rem; padding: 14px 0; display: block;
    border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white);
  }
  .nav-links.open + .btn-nav { display: none; }

  .hero-content { padding: 120px 24px 80px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
