/* ══════════════════════════════════════════════════════════
   EG TECH SOLUTIONS — Website
   ══════════════════════════════════════════════════════════ */

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

/* SEO-only — visible to Google, hidden from users */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:root {
  --primary:       #011E48;
  --primary-dark:  #0A0F1E;
  --primary-light: #38BDF8;
  --primary-bg:    #EFF6FF;
  --accent:        #C9A227;
  --accent-light:  #F0D583;
  --accent-dark:   #A6821A;
  --dark:          #0A0F1E;
  --body:          #5A5872;
  --light:         #F8FAFC;
  --white:         #FFFFFF;
  --border:        #E2E8F0;
  --shadow:        0 8px 32px rgba(30, 58, 138, 0.12);
  --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.08);
  --radius:        0;
  --radius-lg:     0;
  --radius-btn:    0;
  --transition:    0.25s ease;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(30, 58, 138, 0.3);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-box {
  background: var(--primary);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 0;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.logo-img-icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-img-full {
  height: 52px;
  width: auto;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-img-navbar {
  height: 46px;
}
.logo-word    { color: var(--white); font-weight: 800; }
.logo-solutions { color: rgba(255,255,255,0.65); font-weight: 500; font-size: 0.9rem; }
.logo-light .logo-word    { color: var(--white); }
.logo-light .logo-solutions { color: rgba(255,255,255,0.65); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }

/* Phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-phone:hover { background: var(--accent-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 0;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: 88vh;
  padding-top: 70px;
  background:
    linear-gradient(160deg, rgba(10, 15, 30, 0.52) 0%, rgba(1, 30, 72, 0.46) 100%),
    url('images/background-luxury-1.webp') center 30% / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Gold glow — top right */
.hero::before,
.portfolio::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -160px;
  right: -80px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0.08) 45%, transparent 70%);
  border-radius: 0;
  filter: blur(72px);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: calc(88vh - 70px);
  padding-top: 0;
  padding-bottom: 0;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-left-inner { max-width: 580px; }

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent-light), var(--accent) 55%, var(--accent-dark));
  color: var(--primary-dark);
  padding: 2px 14px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 460px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.38);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════ */
.about {
  position: relative;
  overflow: hidden;
  padding: 40px 0 96px;
  background: var(--white) url('images/background-luxury-2.webp') right bottom / min(60%, 900px) auto no-repeat;
}

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

/* Image */
.about-img-wrap {
  position: relative;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), var(--shadow-card);
}
.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Content */
.about-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-desc {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 36px;
}

.founders-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.founder { padding: 22px 0; }
.founder:first-child { padding-top: 0; }
.founder:last-child { padding-bottom: 0; }
.founder + .founder { border-top: 1px solid var(--border); }
.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.founder-bio { font-size: 0.92rem; color: var(--body); line-height: 1.7; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════ */
.services {
  position: relative;
  overflow: hidden;
  background: var(--white) url('images/background-luxury-2.webp') right bottom / min(60%, 900px) auto no-repeat;
  padding: 96px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
  padding-top: 20px;
}

.services-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 300px;
  background: var(--primary);
  border-radius: 0;
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.svc-icon svg { width: 34px; height: 34px; }
.svc-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.svc-card p  {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 20px;
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition);
}
.svc-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════════ */
.portfolio {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    linear-gradient(160deg, rgba(10, 15, 30, 0.55) 0%, rgba(1, 30, 72, 0.5) 100%),
    url('images/background-luxury-1.webp') center 50% / cover no-repeat;
}
.portfolio .section-h2 { color: var(--white); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45); }

.section-header-center { text-align: center; margin-bottom: 56px; }
.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.port-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background var(--transition);
}
.port-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(10, 15, 30, 0.22);
}

.port-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  padding: 22px;
  box-sizing: border-box;
  background: transparent;
}
.port-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.port-card:hover .port-img-wrap img { transform: scale(1.08); }

.port-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.port-name {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.port-visit {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.port-card:hover .port-visit { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials {
  padding: 96px 0 40px;
  background: var(--white);
}

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

.testi-card {
  background: #F4F4F4;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  padding: 24px 20px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.testi-header { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-who { flex: 1; min-width: 0; }
.testi-who strong { display: block; font-size: 0.95rem; font-weight: 600; color: #000; }
.testi-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--body);
  margin-top: 2px;
}
.testi-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 11px; }
.testi-quote {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   CTA / CONTACT
   ══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background:
    linear-gradient(145deg, rgba(10, 15, 30, 0.5) 0%, rgba(1, 30, 72, 0.45) 100%),
    url('images/background-luxury-1.webp') center 70% / cover no-repeat;
  padding: 140px 0;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--primary);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.footer-contact-icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 1024px tablet landscape
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { gap: 32px; }
  .about-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 768px tablet portrait
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    width: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { font-size: 1rem; padding: 8px 0; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .hero-left  { padding: 0; }
  .hero-left-inner { max-width: 100%; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 280px; margin: 0 auto; order: 2; }
  .about-content { order: 1; }


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

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 480px mobile
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-h1   { font-size: 2.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 260px; }
}

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP
   ══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.45);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.6);
}
