/* ── HIGH CALIBER PROJECTS — SHARED STYLESHEET ── */

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

:root {
  --dark:    #0d1117;
  --mid:     #132040;
  --accent:  #b22234;
  --blue:    #1a3a8f;
  --light:   #0e1a30;
  --white:   #ffffff;
  --text:    #d8e2ef;
  --muted:   #7a8fa8;
}

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: var(--dark);
}

/* ── NAV ── */
nav {
  background: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
  border-bottom: 3px solid var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.nav-brand-top {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.nav-brand-sub {
  font-family: 'Arial', sans-serif;
  font-size: 0.65rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

nav ul a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav ul a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: bold;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: linear-gradient(rgba(13,27,62,0.92), rgba(13,27,62,0.92)),
              url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1600&q=80') center/cover no-repeat;
  padding: 80px 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.page-hero p {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: #aaa;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── HERO (home page) ── */
.hero {
  position: relative;
  height: 92vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero-content { max-width: 680px; }

.hero-logo {
  height: 200px;
  width: auto;
  display: block;
  margin-bottom: 32px;
  border-radius: 6px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}

.hero-tag {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  color: #ddd;
  line-height: 1.7;
  margin-bottom: 36px;
  font-family: 'Arial', sans-serif;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  margin-right: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--accent);
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 18px 60px;
  flex-wrap: wrap;
}

.trust-item {
  color: rgba(255,255,255,0.92);
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item::before {
  content: '★';
  color: var(--white);
  font-size: 0.65rem;
}

/* ── SECTION COMMON ── */
section { padding: 80px 60px; }

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 50px;
}

/* ── SERVICES GRID ── */
.services-section { background: var(--light); }

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

.service-card {
  background: var(--mid);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  text-decoration: none;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

/* ── SERVICE DETAIL PAGE ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-detail-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #1a2f5e, #0d1b3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.service-detail-text p {
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-includes {
  margin-top: 28px;
  margin-bottom: 32px;
}

.service-includes h4 {
  font-size: 0.8rem;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.service-includes ul {
  list-style: none;
}

.service-includes ul li {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-includes ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  font-size: 0.85rem;
}

/* ── ABOUT ── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 2px;
  background: linear-gradient(135deg, #1a2f5e, #0d1b3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

.about-text p {
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── VALUES ── */
.values-section { background: var(--mid); }

.values-section .section-sub   { color: var(--muted); }

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

.value-card {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

.value-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.value-card p {
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  color: #999;
  line-height: 1.65;
}

/* ── GALLERY ── */
.gallery-section { background: var(--light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
}

.gallery-item {
  background: var(--mid);
  overflow: hidden;
  position: relative;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2f5e, #0d1b3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── CTA BANNER ── */
.cta-section {
  background: var(--accent);
  text-align: center;
  padding: 70px 60px;
}

.cta-section h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  font-weight: bold;
  border: 2px solid var(--white);
}

/* ── CONTACT FORM ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info .info-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info .info-block h4 {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form label {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  margin-top: 20px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea { height: 140px; resize: vertical; }

.contact-form button {
  margin-top: 24px;
  width: 100%;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 4px solid var(--accent);
  padding: 50px 60px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #888;
  line-height: 1.7;
  max-width: 280px;
}

footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Arial', sans-serif;
}

footer ul { list-style: none; }

footer ul li { margin-bottom: 10px; }

footer ul li a {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}

footer ul li a:hover { color: var(--white); }

.footer-contact p {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: #888;
  line-height: 1.8;
}

.footer-contact a {
  color: #888;
  text-decoration: none;
}

.footer-contact a:hover { color: var(--white); }

.footer-badges {
  margin-top: 12px;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 60px;
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  color: #555;
  text-align: center;
}

/* ── NAV SCROLLED STATE ── */
nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 110;
}

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FADE-UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.services-grid .service-card:nth-child(1),
.values-grid .value-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2),
.values-grid .value-card:nth-child(2) { transition-delay: 0.07s; }
.services-grid .service-card:nth-child(3),
.values-grid .value-card:nth-child(3) { transition-delay: 0.14s; }
.services-grid .service-card:nth-child(4),
.values-grid .value-card:nth-child(4) { transition-delay: 0.21s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.28s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.42s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.49s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.56s; }

/* ── BUTTON PULSE ── */
@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(178,34,52,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(178,34,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(178,34,52,0); }
}

.nav-cta {
  animation: pulse-red 2.8s infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; position: relative; }
  .hero { padding: 0 24px; }
  .hero h1 { font-size: 2.2rem; }
  .page-hero { padding: 60px 24px; }
  .page-hero h1 { font-size: 2rem; }
  section { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .about-img { height: 300px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 40px 24px 20px; }
  .trust-bar { gap: 24px; padding: 18px 24px; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav-brand { display: none; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 8px 24px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 100;
  }

  nav ul.open { display: flex; }

  nav ul li { width: 100%; }

  nav ul a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  nav ul li:last-child a { border-bottom: none; }

  .nav-cta {
    background: none !important;
    color: var(--accent) !important;
    padding: 14px 0;
    animation: none;
  }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}
