:root {
  --bg:#0f1724;
  --fg:#eef2ff;
  --accent:#7c5cff;
  --light:#1e293b;
  --maxw:1200px;
}


* { box-sizing:border-box; margin:0; padding:0; }
body {
  font-family: 'Segoe UI', Inter, Arial;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: var(--light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  flex-wrap: wrap; /* ✅ responsive fix */
}
.logo { display:flex; align-items:center; gap:10px; }
.logo img { height: 40px; width:auto; }
.logo span { font-weight:700; font-size:18px; color:var(--fg); }
.nav-links { list-style:none; display:flex; gap:25px; flex-wrap: wrap; }
.nav-links li a {
  text-decoration:none;
  color:var(--fg);
  font-weight:600;
  transition:.3s;
}
.nav-links li a:hover { color: var(--accent); }

/* ===== HERO SLIDESHOW ===== */
.stage { max-width: var(--maxw); margin:40px auto; position:relative; }
.viewport { position:relative; overflow:hidden; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.6); }
.slides { display:flex; transition:transform .6s ease-in-out; }
.slide { min-width:100%; position:relative; }
.slide img { width:100%; height:70vh; object-fit:cover; display:block; }
.overlay {
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.4);
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:20px;
}
.overlay h2 { font-size:clamp(24px,4vw,40px); margin-bottom:10px; }
.overlay p { font-size:clamp(14px,2vw,18px); max-width:700px; color:#f1f5f9; }

.nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.4); border:none; color:white; font-size:22px; width:48px; height:48px; border-radius:50%; cursor:pointer; }
.nav.left { left:15px; }
.nav.right { right:15px; }

.controls { text-align:center; margin-top:10px; }
.dots { display:inline-flex; gap:8px; margin-bottom:8px; }
.dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.3); cursor:pointer; }
.dot.active { background:var(--accent); transform:scale(1.2); }
.btn {
  background: var(--accent);
  border:none; color:white;
  padding:8px 16px; border-radius:6px; cursor:pointer;
}
.btn:hover { background:#6749e3; }

/* ===== GALLERY ===== */
.section { max-width: var(--maxw); margin:60px auto; padding:20px; text-align:center; }
.section h2 { font-size:28px; margin-bottom:10px; }
.section p { margin-bottom:30px; color:rgba(255,255,255,.7); }

.gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
}
.gallery-item {
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform:scale(1.05); box-shadow:0 8px 20px rgba(0,0,0,.5); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display:none;
  position:fixed; top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,.9);
  justify-content:center; align-items:center;
  z-index:2000;
}
.lightbox-content {
  max-width:90%; max-height:80%;
  border-radius:12px;
}
.close {
  position:absolute; top:20px; right:30px;
  font-size:36px; color:white; cursor:pointer;
}
.close:hover { color:var(--accent); }

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column; /* ensures vertical stacking */
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1e293b; /* same dark background */
  color: white;        /* white text */
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;                /* makes button stretch full width */
  padding: 12px;
  background: var(--accent);  /* uses your accent color */
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #6749e3; /* hover color */
}

/* ===== FORM RESPONSE MESSAGES ===== */
.form-response {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  display: none; /* hidden until active */
}

.form-response.pending {
  display: block;
  background: #1e293b;
  color: #facc15; /* yellow */
}

.form-response.success {
  display: block;
  background: #1e293b;
  color: #22c55e; /* green */
}

.form-response.error {
  display: block;
  background: #1e293b;
  color: #ef4444; /* red */
}

/* ===== FOOTER ===== */
/* footer */
.footer{ display:flex; justify-content:space-between; align-items:center; padding:1.25rem 0; color:var(--muted) }

/* tiny util classes */
.text-muted{ color:var(--muted) }
.center{ text-align:center }

/* responsive breakpoints */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .columns-4{ grid-template-columns: repeat(2,1fr) }
  .columns-3{ grid-template-columns: repeat(2,1fr) }
}
@media (max-width:640px){
  .nav-links{ display:none }
  .hamburger{ display:inline-block }
  .columns-2{ grid-template-columns:1fr }
  .hero-image{ height:200px }

  
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }
  .logo {
    margin-bottom: 10px;
  }
  .slide img {
    height: 50vh; /* smaller slideshow on mobile */
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
