/* ============================================================
   Ardis Moving & Delivery Services
  
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --blue: #1a56db;
  --blue-dark: #1040b0;
  --blue-deeper: #0c2e80;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --light: #eef2fb;
  --dark: #1a1a2e;
  --text: #333344;
  --gray: #666677;
  --gray-light: #aaaabc;
  --border: #dde3f0;
  --nav-h: 72px;
  --radius: 6px;
  --shadow-sm: 0 2px 12px rgba(26, 86, 219, 0.08);
  --shadow: 0 6px 28px rgba(26, 86, 219, 0.13);
  --shadow-lg: 0 14px 48px rgba(26, 86, 219, 0.18);
  --max-w: 1160px;
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
}

/* ── SECTION HEADING ─────────── */
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 18px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── IMAGE PLACEHOLDERS ────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
}

.img-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.img-placeholder small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── BUTTONS ─────── */
.btn-solid {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 2px solid var(--blue);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-solid:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 5px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--light);
}

/* Phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  transition: color var(--transition);
  flex-shrink: 0;
}

.nav-phone:hover {
  color: var(--blue-dark);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
  fill: var(--blue);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  border-top: 2px solid var(--light);
  box-shadow: var(--shadow);
  padding: 8px 0 20px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 15px 6%;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  color: var(--blue);
  background: var(--light);
}

.drawer-phone {
  color: var(--blue) !important;
  font-weight: 700 !important;
}


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image wrapper */
.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 90vh;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 60%, #3a7fe0 100%);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-img-placeholder span {
  font-size: 1.1rem;
}

.hero-img-placeholder small {
  font-size: 0.8rem;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg,
      rgba(12, 46, 128, 0.78) 0%,
      rgba(26, 86, 219, 0.52) 55%,
      rgba(26, 86, 219, 0.22) 100%);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px 5%;
}

.hero-welcome {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════
   ABOUT  (tabs)
═══════════════════════════════════════ */
.about-section {
  padding: 90px 0;
  background: var(--white);
}

/* Tab buttons row */
.about-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--border);
}

.tab-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray);
  padding: 14px 32px;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.tab-btn:hover {
  color: var(--blue);
}

.tab-btn.active {
  color: var(--blue);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

/* Panels */
.about-panels {
  width: 100%;
}

.about-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.about-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-panel-img {
  width: 100%;
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-panel-img .img-placeholder {
  min-height: 340px;
  border-radius: 10px;
}

.about-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about-panel-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.about-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-body a {
  color: var(--blue);
  font-weight: 600;
  transition: color var(--transition);
}

.about-body a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Expandable "Show More" */
.about-more {
  display: none;
}

.about-more.open {
  display: block;
}

.read-more-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  padding: 0;
  margin-top: 6px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.read-more-btn:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}


/* ═══════════════════════════════════════
   SERVICES  (6 image grid)
═══════════════════════════════════════ */
.services-section {
  padding: 90px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* image slider section */
.service-tile img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.service-tile .img-placeholder {
  height: 260px;
  min-height: unset;
  border-radius: 0;
}

/* Label overlay at the bottom of each title */
.service-tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(12, 46, 128, 0.85));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 32px 16px 14px;
  text-align: center;
  letter-spacing: 0.3px;
  text-shadow: none;
}


/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-section {
  padding: 90px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* LEFT — form */
.contact-form-col h3,
.contact-info-col h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--dark);
}

.req {
  color: var(--blue);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select option {
  color: var(--text);
}

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 36px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-send:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-spinner.active {
  display: block;
}

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

.form-success,
.form-error {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
  margin-top: 4px;
}

.form-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-success.show,
.form-error.show {
  display: block;
}

/* opening hours section*/
.contact-info-col p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  fill: var(--blue);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--blue);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.hours-block {
  margin-top: 32px;
}

.hours-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.hours-block h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 14px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.hours-table td:first-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
  width: 80px;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table tr:nth-child(even) td {
  background: var(--off-white);
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer#footer {
  background: var(--blue-deeper);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 5% 28px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Phone & email row */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer-contact-item:hover {
  color: var(--gold);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-location {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}


/* ═FLOATING CHAT BUTTON  */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: popIn 0.5s 1s ease both;
}

.fab:hover {
  background: var(--blue-dark);
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(26, 86, 219, 0.5);
}

.fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ═══SCROLL REVEAL═════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


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


/* ═══════════════════════════════════════
   RESPONSIVE — 860px
═══════════════════════════════════════ */
@media (max-width: 860px) {
  .about-panel-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-panel-img {
    min-height: 240px;
  }

  .about-panel-img .img-placeholder {
    min-height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-tabs {
    flex-wrap: wrap;
    border-bottom: none;
    gap: 4px;
    justify-content: flex-start;
  }

  .tab-btn {
    border: 1.5px solid var(--border);
    border-radius: 5px;
    padding: 10px 18px;
  }

  .tab-btn.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  .tab-btn.active::after {
    display: none;
  }

  .tab-btn::after {
    display: none;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE  768px  (mobile)
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav */
  .nav-links,
  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  /* About */
  .about-section {
    padding: 64px 0;
  }

  .section-heading {
    font-size: 1.4rem;
  }

  /* Services */
  .services-section {
    padding: 64px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-tile .img-placeholder {
    height: 200px;
  }

  .service-tile img {
    height: 200px;
  }

  /* Contact */
  .contact-section {
    padding: 64px 0;
  }

  .btn-send {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-contact-row {
    flex-direction: column;
    gap: 14px;
  }

  footer#footer {
    padding: 36px 5% 22px;
  }

  /* FAB */
  .fab {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .fab svg {
    width: 21px;
    height: 21px;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE  480px  (small phones)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .about-tabs {
    gap: 6px;
  }

  .tab-btn {
    font-size: 0.78rem;
    padding: 9px 14px;
  }

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

  .section-heading {
    font-size: 1.25rem;
  }

  .nav-logo img {
    height: 44px;
  }
}