@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #616b7c;
  --accent: #7b4bff;
  --accent-2: #ffb84d;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --topbar-height: 60px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  position: relative;
}

/* Index page - no scroll */
body.index-no-scroll {
  overflow: hidden;
}

/* Hide scrollbars (still allows scrolling) */
html, body {
  -ms-overflow-style: none;  /* IE/Edge (legacy) */
  scrollbar-width: none;     /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;             /* Chrome/Safari/Opera */
}

/* Background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/bg.PNG") center/cover no-repeat;
  opacity: 0.10;
  z-index: -1;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-height);
  background: #2b2b2b;
  display: flex;
  align-items: center;
  padding: 0 18px;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.topbar-inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.topbar-left {
  display: flex;
  align-items: center;
}
.topbar-center {
  display: flex;
  justify-content: center;
}
.topbar-logo {
  height: 38px;
  width: auto;
  filter: invert(1);
  display: none;
}
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.topbar-phone {
  display: inline-flex;
}
.topbar-flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.hamburger {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 210px;
  background: #fff;
  border-right: 1px solid #e8e8f2;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
  font-family: "Manrope", system-ui, sans-serif;
  z-index: 20;
  transition: transform 0.3s ease;
}
.sidebar.is-open {
  transform: translateX(0);
}
.logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.brand {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.6px;
}
.brand span { color: var(--accent); }

.side-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.side-links a {
  padding: 7px 9px;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  border: 2px solid transparent;
}
.side-links a:hover {
  background: #f2f2ff;
  color: #000;
}
.side-links a.active {
  border: 2px solid var(--accent);
  background: #f2f2ff;
  color: #000;
}

.side-cta {
  margin-top: auto;
  justify-content: center;
  font-size: 0.85rem;
  padding: 10px 14px;
}

.mobile-only {
  display: none !important;
}

.sidebar-footer {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.sidebar-ctas {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-ctas .side-cta {
  margin-top: 0;
}

/* Remove underline from links */
.side-links a,
.cta,
.side-cta,
.link-btn {
  text-decoration: none;
}

/* WhatsApp icon */
.whatsapp-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* Main content */
.content {
  max-width: 980px;
  width: 100%;
  margin-left: calc(210px + (100vw - 210px - 980px) / 2);
  padding: calc(var(--topbar-height) + 20px) 20px 0;
}

/* Hero */
.hero {
  padding: 70px 0 50px;
  display: grid;
  gap: 30px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.full-page {
  min-height: 100vh;
  padding-top: 0px;
  padding-bottom: 80px;
}
.page-hero {
  padding: 50px 0 10px;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 10px;
}
.hero p { color: var(--muted); }

.hero-enhanced .hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.link-btn {
  font-weight: 600;
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.hero-stats div {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(123, 75, 255, 0.25);
  opacity: 0.95;
}
.cta:active {
  transform: translateY(1px) scale(0.98);
}
.cta:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.cta small { opacity: 0.85; }

.hero-card {
  height: 525px;
  background: var(--card);
  padding: 35px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.wand {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at center, #fff3d6, transparent 60%);
  opacity: 0.7;
}
.spell {
  display: inline-block;
  background: #f0e8ff;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Sections */
section { padding: 40px 0; }
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid.two-col {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: scale(1.005);
}

.card h3 { margin-top: 0; }
.muted { color: var(--muted); }

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.pricing-note {
  text-align: center;
  font-weight: 600;
}

/* Project image window */
.project-image {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: #eef0f7;
  border: 2px dashed #d7d9e6;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .topbar-logo {
    display: block;
  }
  .topbar-phone {
    display: none;
  }
  body.index-no-scroll {
    overflow: auto;
  }
  .sidebar {
    top: var(--topbar-height);
    height: calc(100vh - var(--topbar-height));
    transform: translateX(-100%);
    width: 240px;
  }
  .sidebar .brand {
    display: none;
  }
  .content {
    margin-left: 0;
    padding-top: calc(var(--topbar-height) + 20px);
    max-width: 100%;
  }
  .mobile-only {
    display: inline-flex !important;
  }
}

@media (max-width: 700px) {
  .grid.two-col {
    grid-template-columns: 1fr;
  }
}