/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a1f2e;
  --gunmetal:#2c3140;
  --steel:   #3d4455;
  --orange:  #e8610a;
  --orange-d:#c4520a;
  --white:   #f4f5f7;
  --gray:    #9aa0b0;
  --font:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-d); }
img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
main { flex: 1; }

/* Nav */
header {
  background: var(--gunmetal);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white); text-transform: uppercase; }
.logo-sub { font-size: 0.7rem; color: var(--orange); letter-spacing: 0.15em; text-transform: uppercase; }

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: var(--white); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: background 0.2s; }
.nav-toggle:hover span { background: var(--orange); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--gunmetal) 100%);
  border-bottom: 4px solid var(--orange);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1rem; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--gray); max-width: 600px; margin: 0 auto 2rem; }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--orange-d); color: #fff; transform: translateY(-1px); }

.btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); margin-left: 0.75rem; }
.btn-outline:hover { background: var(--orange); color: #fff; }

/* Sections */
section { padding: 4rem 1.25rem; }

.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-title span { color: var(--orange); }
.section-body { color: var(--gray); max-width: 640px; margin-bottom: 2.5rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--gunmetal); border: 1px solid var(--steel); border-top: 3px solid var(--orange); border-radius: 4px; padding: 1.5rem; }
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.card p { font-size: 0.88rem; color: var(--gray); line-height: 1.55; }

/* Services page */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.service-card { background: var(--gunmetal); border: 1px solid var(--steel); border-radius: 4px; padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.service-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.service-card h3 { font-size: 1rem; font-weight: 700; flex: 1; }
.price-badge { background: var(--steel); color: var(--orange); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.2rem 0.6rem; border-radius: 2px; white-space: nowrap; }
.service-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.55; }
.service-divider { border: none; border-top: 1px solid var(--steel); margin: 2.5rem 0; }

.category-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.category-label::after { content: ''; flex: 1; height: 1px; background: var(--steel); }

/* Loading state */
.loading-placeholder {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
}

/* Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--gray); margin-bottom: 2rem; line-height: 1.65; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.25rem; }
.contact-detail-icon { font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.15rem; }
.contact-detail span { color: var(--gray); font-size: 0.92rem; }

.contact-form { background: var(--gunmetal); border: 1px solid var(--steel); border-radius: 4px; padding: 2rem; }
.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--steel); }

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--steel); border: 1px solid #4a5165; border-radius: 3px;
  color: var(--white); font-family: var(--font); font-size: 0.93rem; padding: 0.65rem 0.85rem;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group select option { background: var(--gunmetal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

/* Gallery */
.gallery-intro { background: var(--gunmetal); border: 1px solid var(--steel); border-left: 4px solid var(--orange); border-radius: 4px; padding: 1.25rem 1.5rem; color: var(--gray); font-size: 0.9rem; margin-bottom: 2.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.gallery-placeholder { background: var(--gunmetal); border: 2px dashed var(--steel); border-radius: 4px; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--steel); font-size: 0.82rem; text-align: center; padding: 1rem; }
.gallery-placeholder-icon { font-size: 2.5rem; opacity: 0.5; }

.gallery-item { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; background: var(--gunmetal); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(26,31,46,0.85); padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--white); }

/* About */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.about-img-block { background: var(--gunmetal); border: 1px solid var(--steel); border-radius: 4px; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--steel); }
.about-content p { color: var(--gray); margin-bottom: 1.1rem; line-height: 1.7; }

.stat-row { display: flex; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--gray); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 0.2rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag { background: var(--steel); color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.3rem 0.75rem; border-radius: 2px; }

/* Trust bar */
.trust-bar { background: var(--gunmetal); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); padding: 1.5rem 1.25rem; }
.trust-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--gray); letter-spacing: 0.04em; }
.trust-item span:first-child { color: var(--orange); font-size: 1.1rem; }

/* Footer */
footer { background: var(--gunmetal); border-top: 3px solid var(--orange); padding: 2.5rem 1.25rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand .logo-main { font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.84rem; color: var(--gray); max-width: 260px; margin-top: 0.6rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a { color: var(--gray); font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.25rem; border-top: 1px solid var(--steel); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }

/* Page hero */
.page-hero { background: var(--gunmetal); border-bottom: 3px solid var(--orange); padding: 3rem 1.25rem 2.5rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { color: var(--gray); max-width: 560px; }

/* Admin */
.admin-header { background: var(--gunmetal); border-bottom: 3px solid var(--orange); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.admin-section { background: var(--gunmetal); border: 1px solid var(--steel); border-radius: 4px; padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--steel); }
.admin-row { display: flex; gap: 0.75rem; align-items: flex-end; margin-bottom: 0.75rem; flex-wrap: wrap; }
.admin-row .form-group { flex: 1; min-width: 150px; margin-bottom: 0; }
.admin-row .btn { flex-shrink: 0; }
.btn-danger { background: #8b1a1a; }
.btn-danger:hover { background: #a02020; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.admin-photo-item { background: var(--steel); border-radius: 3px; overflow: hidden; position: relative; }
.admin-photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.admin-photo-caption { padding: 0.4rem 0.6rem; font-size: 0.78rem; color: var(--gray); }
.admin-photo-remove { position: absolute; top: 0.4rem; right: 0.4rem; background: rgba(0,0,0,0.7); border: none; border-radius: 2px; color: #fff; cursor: pointer; font-size: 0.75rem; padding: 0.2rem 0.4rem; }
.status-msg { font-size: 0.85rem; padding: 0.6rem 1rem; border-radius: 3px; margin-bottom: 1rem; display: none; }
.status-msg.success { background: #1a3a1a; color: #6fcf6f; border: 1px solid #2a5a2a; display: block; }
.status-msg.error { background: #3a1a1a; color: #cf6f6f; border: 1px solid #5a2a2a; display: block; }

/* Auth gate */
.auth-gate { max-width: 400px; margin: 6rem auto; padding: 0 1.25rem; }
.auth-gate h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.auth-gate p { color: var(--gray); font-size: 0.88rem; margin-bottom: 1.5rem; }
.auth-box { background: var(--gunmetal); border: 1px solid var(--steel); border-radius: 4px; padding: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--gunmetal); flex-direction: column; gap: 0; border-bottom: 3px solid var(--orange); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--steel); }
  header { position: relative; }
  .nav-toggle { display: flex; }
  .contact-wrapper, .about-wrapper, .footer-inner { grid-template-columns: 1fr; }
  .about-img-block { aspect-ratio: 16/9; }
  .form-row { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; }
  .hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
}
