/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background 0.4s, color 0.4s;
}

/* THEME VARIABLES */
:root {
  --bg: #ffffff;
  --text: #222;
  --accent: linear-gradient(135deg, #ff5757, #9e005d);
  --card-bg: #fff;
  --card-shadow: rgba(0,0,0,0.05);
}


body.dark {
  --bg: #0e1117;
  --text: #eaeaea;
  --accent: linear-gradient(135deg, #ff5757, #9e005d);
  --card-bg: #1a1e25;
  --card-shadow: rgba(255,255,255,0.05);
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; width: 100%;
  background: var(--bg);
  box-shadow: 0 2px 8px var(--card-shadow);
  z-index: 100;
}
.navbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 2rem;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: regular;
  letter-spacing: 1.12px;
  color: #334049;
}
body.dark .logo-area {
  color: #ffffff;
}

.logo-img { width: 30px; height: auto; }
.logo {
  font-size: 1.3rem;
  text-transform: uppercase;
}
.logo span {
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}
.navbar nav a:hover { color: var(--accent); }

/* THEME BUTTON */
#theme-toggle {
  margin-left: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: transform 0.2s ease;
}
#theme-toggle:hover { transform: scale(1.2); }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
  z-index: 1;
}

body.dark .hero-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent);
  background-size: 200% 200%;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-position 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
}

/* SECTIONS */
.section { padding: 5rem 2rem; text-align: center; opacity: 0; transform: translateY(40px); transition: 0.8s ease; }
.section.visible { opacity: 1; transform: translateY(0); }
.section.light { background: var(--card-bg); }
.section h2 { font-size: 2rem; margin-bottom: 2rem; }
.section { opacity: 0; transform: translateY(40px); transition: 0.8s ease; }
.section.visible { opacity: 1; transform: translateY(0); }

/* GRID */
.grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px; margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 10px; padding: 2rem;
  box-shadow: 0 2px 10px var(--card-shadow);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }

/* ABOUT */
.about { max-width: 900px; margin: 0 auto; text-align: left; }

/* CONTACT */
#contact p { margin-bottom: 1rem; }

/* Contact Buttons Layout */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Call Button */
.btn-call {
  background: linear-gradient(135deg, #ff5757, #9e005d);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, background-position 0.3s ease;
  background-size: 200% 200%;
  display: inline-block;
}

.btn-call:hover {
  transform: translateY(-2px);
  background-position: right center;
}

/* CONTACT FORM */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(200,200,200,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff5757;
  background: rgba(255,255,255,0.05);
}

/* Button alignment */
.contact-form button {
  align-self: center;
  padding: 0.8rem 2rem;
  cursor: pointer;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  border-color: rgba(255,255,255,0.1);
  font-family: 'Inter', system-ui, sans-serif;
  background: #1a1e25;
  color: #eaeaea;
}

body.dark .contact-form input:focus,
body.dark .contact-form textarea:focus {
  border-color: #ff8da0;
  background: #222831;
}

/* Make reCAPTCHA badge minimal and dark-mode friendly */
.grecaptcha-badge {
  z-index: 10;
  bottom: 12px !important;
  right: 12px !important;
  transform: scale(0.8);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.grecaptcha-badge:hover { opacity: 1; }
body.dark .grecaptcha-badge iframe { filter: invert(1) hue-rotate(180deg); }

/* SUCCESS MESSAGE BOX */
.form-success {
  display: none;
  opacity: 0;
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: black;
  font-weight: 500;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.6s ease;
}

.form-success.show {
  display: block;
  opacity: 1;
}

body.dark .form-success {
  box-shadow: 0 0 20px rgba(255, 87, 87, 0.3);
}


/* FOOTER */
footer {
  background: #111; color: #aaa;
  text-align: center; padding: 2rem 1rem;
  font-size: 0.9rem;
}
