/* ============================================================
   Atlanta Doors - Main Stylesheet
   Updated: January 22, 2026
   ============================================================ */

/* ---------- Root Theme Variables ---------- */
:root {
  --primary-color: #1d3b6f;       /* Navy Blue */
  --secondary-color: #caa760;     /* Gold Accent */
  --text-color: #333;
  --bg-light: #f8f9fa;
  --bg-dark: #1d1d1d;
  --transition-speed: 0.3s;
  --border-radius: 6px;
  --font-heading: 'Poppins', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* ---------- Header / Logo / Navigation ---------- */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 60px;
  width: auto;
}

header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-left: 1rem;
  color: var(--secondary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-speed) ease-in-out;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--secondary-color);
}

/* ---------- Hero Placeholder Section ---------- */
.placeholder-hero {
  background: linear-gradient(rgba(29, 59, 111, 0.7), rgba(29, 59, 111, 0.8)) center/cover no-repeat;
  text-align: center;
  color: white;
  padding: 9rem 2rem;
  animation: fadeIn 1.2s ease-in-out;
}

.placeholder-hero .hero-content {
  background: rgba(0, 0, 0, 0.45);
  display: inline-block;
  padding: 2rem 3rem;
  border-radius: var(--border-radius);
  max-width: 700px;
}

.placeholder-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.placeholder-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ---------- Button Styles ---------- */
.btn-primary {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background var(--transition-speed);
}

.btn-primary:hover {
  background: #ae913f;
}

/* ---------- Coming Soon Section ---------- */
.coming-soon {
  text-align: center;
  background-color: var(--bg-light);
  padding: 4rem 2rem;
}

.coming-soon h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.coming-soon p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* ---------- Placeholder Gallery ---------- */
.placeholder-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  width: 90%;
}

.image-placeholder {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-radius: var(--border-radius);
  color: #555;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ---------- Gallery Elements (Live Mode) ---------- */
#gallery .project-card {
  background: #fff;
  border-radius: var(--border-radius);
  margin: 1.5rem auto;
  padding: 1.5rem;
  max-width: 1000px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
}

.project-card:hover {
  transform: scale(1.01);
}

.project-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.project-card .description {
  color: #555;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.image-pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.image-cell {
  flex: 1 1 calc(50% - 1rem);
  background: #f5f5f5;
  border-radius: var(--border-radius);
  padding: 0.5rem;
  text-align: center;
}

.image-cell strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.gallery-img {
  max-width: 100%;
  border-radius: var(--border-radius);
  cursor: pointer;
}

/* ---------- Lightbox Styles ---------- */
#lightbox {
  display: none;
}

#lightbox img {
  border-radius: var(--border-radius);
}

.hidden {
  display: none;
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 3rem;
}

footer p {
  margin: 0.4rem 0;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .placeholder-hero h1 {
    font-size: 2rem;
  }

  .placeholder-hero .hero-content {
    padding: 1.5rem;
  }

  .project-card {
    padding: 1rem;
  }

  .image-pairs {
    flex-direction: column;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Scroll Animation Support ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hidden security honeypot field */
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
}

.honeypot-field label {
  display: none;
}