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

:root {
  --bg: #ffffff;
  --bg-alt: #f5f9f9;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --accent: #27e3e3;
  --accent-dark: #1fb8b8;
  --radius: 10px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text); }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-align: center;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--text); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent-dark); }
.logo:hover { color: var(--text); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  padding: 12rem 0 6rem;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('images/header.jpg') center 50% / cover no-repeat;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 460px;
  margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── Pricing ── */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.pricing-grid .price-card { flex: 0 1 calc(33.333% - 1rem); min-width: 260px; }

.price-card {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.price-card .btn { margin-top: auto; }
.price-card:hover { border-color: var(--accent); }

.price-card.featured { border-color: var(--accent); border-width: 2px; }
.featured-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.price-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }

.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0;
  border-top: 1px solid #f0f0f0;
}
.price-row span { font-size: 0.9rem; }
.price { font-weight: 700; color: var(--accent-dark); }


/* ── Contact ── */
.contact-layout {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info { text-align: center; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-detail { margin-bottom: 1rem; }
.contact-detail strong {
  display: block; font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.15rem;
}
.contact-detail a { font-size: 1rem; font-weight: 600; }

.contact-form-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-wrap h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.25rem; text-align: center; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form select { cursor: pointer; }

/* ── Footer ── */
.footer {
  border-top: 1px solid #eee;
  padding: 1.5rem 0;
}

.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}

.footer-inner p { justify-self: start; }
.footer-links { justify-self: end; }

.footer-logo {
  width: 140px;
  height: auto;
  justify-self: center;
}
.footer-inner p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links, .nav .btn { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid #eee;
  }

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


  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-inner p { justify-self: center; }
  .footer-links { justify-self: center; }
}

/* ── Gallery ── */
.gallery-grid {
  columns: 3;
  column-gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}
.gallery-grid img:hover { opacity: 0.8; }

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 0.6; }

.lightbox-close {
  top: 1.5rem; right: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  padding: 0.5rem;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ── Contact Page ── */
.contact-page { padding-top: 8rem; }
.map-wrap { margin-top: 3rem; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--accent-dark);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 200;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
