/*
Theme Name: AshTech ICT Solutions
Theme URI: https://ashtech.com.au
Author: AshTech ICT Solutions
Author URI: https://ashtech.com.au
Description: Custom theme for AshTech ICT Solutions – Technology. Delivered.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ashtech
*/

/* ===================== DESIGN TOKENS ===================== */
:root {
  --navy: #080D1A;
  --deep: #0B1120;
  --card: #0F1929;
  --accent: #00C2FF;
  --accent2: #0055FF;
  --text: #E8EDF5;
  --muted: #7A8599;
  --border: rgba(0,194,255,0.13);
  --glow: rgba(0,194,255,0.16);
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }

/* ===================== NAV ===================== */
nav, .site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(8,13,26,0.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 17px; color: #fff;
}
.logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff !important; text-decoration: none; padding: 9px 22px; border-radius: 8px;
  font-size: 0.87rem; font-weight: 600; font-family: 'Syne', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===================== HERO ===================== */
.hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; padding: 100px 5% 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=90');
  background-size: cover; background-position: center; z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,13,26,0.97) 42%, rgba(8,13,26,0.55) 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 1; }
.orb1 { width: 500px; height: 500px; background: rgba(0,85,255,0.22); top: -80px; right: 5%; }
.orb2 { width: 350px; height: 350px; background: rgba(0,194,255,0.1); bottom: 0; left: 30%; }
.hero-content { max-width: 660px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,194,255,0.1); border: 1px solid rgba(0,194,255,0.3);
  border-radius: 100px; padding: 6px 16px; font-size: 0.78rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.6)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
h1.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 800; line-height: 1.08;
  margin-bottom: 24px; animation: fadeUp 0.7s 0.1s ease both;
}
h1.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 500px;
  margin-bottom: 44px; font-weight: 300; animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

/* Hero floating cards */
.hero-cards {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 44%;
  z-index: 2; animation: fadeIn 1s 0.5s ease both; opacity: 0;
}
.hcard {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  position: relative; height: 170px; transition: transform 0.3s, border-color 0.3s;
}
.hcard:hover { transform: translateY(-5px); border-color: rgba(0,194,255,0.4); }
.hcard:nth-child(2), .hcard:nth-child(4) { margin-top: 28px; }
.hcard img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.55); transition: filter 0.3s;
}
.hcard:hover img { filter: brightness(0.72); }
.hcard-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px;
  background: linear-gradient(transparent, rgba(8,13,26,0.92));
}
.hcard-label span { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; color: #fff; display: block; }
.hcard-label small { font-size: 0.68rem; color: var(--accent); font-weight: 400; }

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; text-decoration: none; padding: 14px 34px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; font-family: 'Syne', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 28px rgba(0,85,255,0.38); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,85,255,0.48); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2); color: var(--text); text-decoration: none;
  padding: 14px 34px; border-radius: 10px; font-size: 0.95rem; font-weight: 500;
  backdrop-filter: blur(8px); transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--accent); background: var(--glow); }

/* ===================== STATS ===================== */
.stats {
  position: relative; z-index: 1; background: rgba(0,194,255,0.04);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 5%; display: flex; justify-content: center;
}
.stat { text-align: center; padding: 0 52px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===================== SECTION COMMON ===================== */
section { position: relative; z-index: 1; padding: 100px 5%; }
.section-tag { display: inline-block; font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.section-sub { color: var(--muted); max-width: 580px; font-size: 1rem; font-weight: 300; margin-bottom: 56px; line-height: 1.75; }

/* ===================== SERVICE CARDS ===================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  background: var(--card); position: relative;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 64px rgba(0,0,0,0.5); border-color: rgba(0,194,255,0.35); }
.svc-photo-wrap { overflow: hidden; position: relative; }
.svc-photo {
  width: 100%; height: 210px; object-fit: cover; display: block;
  filter: brightness(0.78) saturate(0.85); transition: transform 0.5s, filter 0.35s;
}
.service-card:hover .svc-photo { transform: scale(1.04); filter: brightness(0.92) saturate(1); }
.svc-photo-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(transparent, var(--card));
}
.svc-accent-bar { height: 3px; width: 100%; }
.svc-body { padding: 28px 30px 30px; }
.svc-icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-icon-wrap { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.svc-title { font-size: 1.2rem; font-weight: 700; }
.svc-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.72; margin-bottom: 20px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: rgba(0,194,255,0.07); border: 1px solid rgba(0,194,255,0.18); color: var(--accent); padding: 4px 12px; border-radius: 100px; font-size: 0.73rem; font-weight: 500; }

/* ===================== GALLERY ===================== */
.gallery-strip { position: relative; z-index: 1; display: flex; gap: 20px; padding: 0 5% 80px; }
.gallery-item { flex: 1; height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); position: relative; min-width: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.62) saturate(0.8); transition: transform 0.5s, filter 0.4s; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(0.88) saturate(1.1); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px 16px; background: linear-gradient(transparent, rgba(8,13,26,0.92)); font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700; color: #fff; }

/* ===================== WHY US ===================== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-img-stack { position: relative; padding-bottom: 28px; padding-right: 28px; }
.why-img-main { width: 100%; height: 460px; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); display: block; }
.why-img-inset { position: absolute; bottom: 0; right: 0; width: 52%; height: 210px; object-fit: cover; border-radius: 16px; border: 3px solid var(--navy); box-shadow: 0 16px 48px rgba(0,0,0,0.65); display: block; }
.why-item { display: flex; gap: 20px; margin-bottom: 34px; }
.why-num { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; color: rgba(0,194,255,0.18); line-height: 1; flex-shrink: 0; width: 36px; margin-top: 2px; }
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.72; }

/* ===================== PROCESS ===================== */
.process-steps { display: flex; gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 0; right: 0; height: 1px; background: var(--border); }
.process-step { flex: 1; padding: 0 24px; text-align: center; }
.step-num { width: 80px; height: 80px; background: var(--card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--accent); margin: 0 auto 20px; position: relative; z-index: 1; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.process-step:hover .step-num { background: linear-gradient(135deg, var(--accent2), var(--accent)); border-color: transparent; color: #fff; }
.step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ===================== PARTNERS ===================== */
.partners { background: var(--deep); }
.partner-logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.partner-chip { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 15px 28px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem; color: var(--muted); transition: color 0.2s, border-color 0.2s; cursor: default; }
.partner-chip:hover { color: var(--text); border-color: var(--accent); }

/* ===================== CTA ===================== */
.cta-section { position: relative; overflow: hidden; text-align: center; border-radius: 24px; margin: 0 5% 80px; padding: 90px 40px; border: 1px solid rgba(0,194,255,0.2); }
.cta-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=85'); background-size: cover; background-position: center; filter: brightness(0.18) saturate(0.5); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,85,255,0.3), rgba(0,194,255,0.1)); }
.cta-section > *:not(.cta-bg):not(.cta-overlay) { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.6rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 42px; font-size: 1rem; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-hero-img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); display: block; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.ci-icon { width: 44px; height: 44px; background: rgba(0,194,255,0.09); border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.ci-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.ci-value { font-weight: 500; font-size: 0.97rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 13px 16px; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.93rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,194,255,0.09); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: var(--card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===================== FOOTER ===================== */
footer { position: relative; z-index: 1; background: var(--deep); border-top: 1px solid var(--border); padding: 64px 5% 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; margin: 16px 0 22px; max-width: 280px; line-height: 1.75; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--glow); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .hero-cards { display: none; }
  .hero-content { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img-stack { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .stats { flex-wrap: wrap; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; width: 50%; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .cta-section { margin: 0 0 60px; border-radius: 0; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-strip { flex-wrap: wrap; padding-bottom: 40px; }
  .gallery-item { flex: none; width: 100%; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
