/*
Theme Name: Egnatia Construction
Description: Luxury residential construction WordPress theme for NYC contractor.
Version: 1.3.0
Author: Perplexity
License: GPL v2 or later
Text Domain: egnatia-construction
*/

:root {
  --lux-gold: #d4af37;
  --lux-dark: #1a1a2e;
  --lux-bg: #faf9f5;
  --lux-card: #f0f0f0;
  --lux-text: #1a1a1e;
  --lux-muted: #8b7d6b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--lux-bg);
  color: var(--lux-text);
  line-height: 1.6;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--lux-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  color: white;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  background: white;
}

.menu {
  display: flex;
  gap: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 29, 29, 0.95), rgba(15, 15, 35, 0.98));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 8vw, 80px);
  color: white;
  letter-spacing: -1px;
}

.pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--lux-gold), #e6c144);
  color: var(--lux-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn {
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--lux-gold), #e6c144);
  color: var(--lux-dark);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn.primary:hover {
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  cursor: pointer;
}

.service-card::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lux-dark);
  color: var(--lux-gold);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--lux-dark);
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.mobile-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--lux-gold);
  color: var(--lux-dark);
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
  z-index: 20;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.site-footer {
  background: var(--lux-dark);
  color: #b8c3da;
  padding: 40px 20px 20px;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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