:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --navy: #1f3b57;
  --gold: #d4af37;
  --brown: #8b6b45;
  --accent: var(--gold);
  --radius: 14px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Responsive section padding */
@media (max-width: 768px) {
  section { padding-top: 3rem; padding-bottom: 3rem; }
}
@media (max-width: 480px) {
  section { padding-top: 2rem; padding-bottom: 2rem; }
}

/* HEADER */
header {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand .logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-links .cta {
  color: #fff;
  background: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: background 0.3s;
}
.nav-links .cta:hover { background: var(--gold); color: var(--navy); }

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .nav-links a { padding: 0.5rem 0; }
  .menu-toggle { display: block; }
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  padding: 80px 0;
}

.hero-card {
  background: #fff8f0;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero h1 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.hero p { color: var(--muted); margin-bottom: 16px; }

.hero .btn {
  background: var(--navy);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background 0.3s;
}
.hero .btn:hover { background: var(--brown); }

.hero-image img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

/* SERVICES */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card h3 { color: var(--navy); }
.card p { color: var(--muted); }
.card h3 a { color: var(--navy); text-decoration: none; transition: color 0.3s; }
.card h3 a:hover { color: var(--gold); }

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* CONTACT */
.contact {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  margin-top: 20px;
}
input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}
.btn {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn:hover { background: var(--brown); }

/* FOOTER */
footer {
  background-color: var(--navy);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}
footer a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: #fff; }

/* TESTIMONIALS */
#testimonials {
  text-align: center;
  padding: 80px 20px;
  background: #f9f9f9;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.testimonial-card .quote { font-style: italic; color: #555; margin-bottom: 15px; }
.testimonial-card .author { font-weight: 600; color: var(--navy); }

/* BACK TO TOP BUTTON */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--gold); color: var(--navy); }

/* ===== FULLSCREEN LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(4px);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.lightbox-caption {
  color: #f5f5f5;
  font-size: 1rem;
  margin-top: 15px;
  text-align: center;
  max-width: 80%;
}

.lightbox .close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.3s;
}

.lightbox .close-btn:hover { color: var(--gold); }
