
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

:root {
  --bg-top: #0d0f10;
  --bg-bottom: #1b1d1f;
  --panel: #15181b;
  --text: #eaeaea;
  --muted: #aaaaaa;
  --accent: #00a86b;
  --accent-2: #00c27a;
  --border: #22272b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Fade-in on page load */
body {
  margin: 0;
  opacity: 0;
  animation: fadeInBody 0.4s ease forwards;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
}
@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .3px;
  animation: fadeInUp 0.6s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
p { color: var(--muted); line-height: 1.7; font-size: 16px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,15,16,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}
.nav a.logo-link {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nav img.logo {
  height: 64px;
  width: auto;
  display: block;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin-right: 12px;
}
.nav .spacer { flex: 1; }

/* Nav pills */
.nav a:not(.logo-link) {
  display: inline-block;
  padding: 8px 14px;
  margin-left: 6px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 500;
  letter-spacing: .2px;
  transition: all .25s ease;
}
.nav a:not(.logo-link):hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 0 8px rgba(226,59,73,.6);
}
.nav a.active {
  background: linear-gradient(90deg, #007e55, #00a86b);
}

/* Hero & layout */
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  padding: 40px 0 20px;
}
.hero .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero .card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero .intro {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 40px 0; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,.4);
}

/* Buttons */
.cta, .btn {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  transition: all .25s ease;
}
.cta:hover, .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}
.gallery figure:hover img {
  transform: scale(1.07);
  filter: brightness(1.15);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #0c0e0f;
  color: #b9b9b9;
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
}
.footer .social, .footer .payments {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.footer .social img, .footer .payments img {
  width: 26px;
  height: 26px;
  opacity: .8;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}
.footer .social img:hover, .footer .payments img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--accent-2));
}
.footer .payments span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 18px; }
}


/* --- FIXES: Restore layout, link styling, and grid --- */

/* Remove underlines from nav links */
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: none;
}

/* Global link color fix */
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Restore grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* Ensure cards and galleries retain consistent spacing */
.card img {
  width: 100%;
  border-radius: 10px;
  display: block;
}


/* --- NAV FIX: Prevent wrapping and enforce single line layout --- */
.nav {
  flex-wrap: nowrap !important;
  overflow: hidden;
  gap: 12px;
}
.nav .brand {
  white-space: nowrap;
  flex-shrink: 0;
}
.nav .spacer {
  flex: 1 1 auto;
  min-width: 10px;
}

/* --- GRID FIX: Restore proper column layout for Services and Gallery --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  align-items: start;
}

/* --- MAP FIX: Make map fill available card space and enlarge view --- */
.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 14px;
}

/* --- CARD ALIGNMENT POLISH --- */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: block;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,.4);
}

/* --- Ensure links follow theme across all pages --- */
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* --- Ensure nav buttons have no underline --- */
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: none;
}


/* --- GRID LAYOUT: Equal height cards --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- SERVICES TABLE: Restore original layout --- */
.section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.section table th, .section table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}
.section table th {
  font-weight: 600;
  color: #fff;
}
.section table td {
  color: var(--muted);
}

/* --- MAP FIX: maintain height consistency --- */
.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 14px;
}

/* --- NAV consistency --- */
.nav {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: none;
}


/* --- Modern Responsive Navigation --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10000;
}

.menu-toggle:hover {
  filter: brightness(1.2);
}

@media (max-width: 900px) {
  .nav { 
    position: relative; 
    overflow: visible; 
  }
  
  .menu-toggle { 
    display: block; 
    position: absolute; 
    right: 16px; 
    top: 10px; 
  }
  
  .nav-links {
    display: none !important;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: 70px;
    right: 10px;
    background: rgba(15,17,18,.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
    z-index: 9999;
  }
  
  .nav-links.open {
    display: flex !important;
    animation: fadeInDown .3s ease both;
  }
  
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .nav-links a {
    display: block;
    padding: 10px 14px;
    margin: 4px 0;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    text-align: right;
    text-decoration: none;
    transition: all .25s ease;
    width: 100%;
  }
  
  .nav-links a:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 8px rgba(226,59,73,.6);
    text-decoration: none;
  }
  
  /* Hide desktop navigation links on mobile */
  .nav > a:not(.logo-link) { 
    display: none; 
  }
  
  .nav > .brand {
    display: none;
  }
}