/* =================================================
   ROOT VARIABLES & RESET
   ================================================= */

:root {
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --orange: #ff7a00;
  --orange-dark: #e66b00;
  --blue: #0a4fd8;
  --blue-dark: #083fa8;
  --text-dark: #1a1a1a;
  --text-muted: #666666;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =================================================
   TYPOGRAPHY
   ================================================= */

h1, h2, h3, h4 {
  font-weight: 800;
  margin-bottom: 0.6em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.4rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: var(--blue);
  transition: var(--transition);
}

a:hover {
  color: var(--orange);
}

/* =================================================
   LAYOUT
   ================================================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light-gray);
}

.section.center {
  text-align: center;
}

/* =================================================
   BANNER / HERO
   ================================================= */

.banner {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: var(--white);
  text-align: center;
  padding: 140px 20px;
}

.banner h1,
.banner p {
  color: var(--white);
}

/* =================================================
   BUTTONS
   ================================================= */

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* =================================================
   CARDS & GRIDS
   ================================================= */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 30px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
}

.services-grid,
.pricing-grid,
.stats-grid,
.footer-grid {
  display: grid;
  gap: 30px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* =================================================
   SERVICES
   ================================================= */

.service-card {
  text-align: center;
  border-top: 6px solid var(--orange);
}

/* =================================================
   STATS
   ================================================= */

.stats {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: var(--white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
}

.stat-label {
  opacity: 0.9;
}

/* =================================================
   PRICING
   ================================================= */

.price-card {
  text-align: center;
}

.price-card.featured {
  border: 3px solid var(--orange);
  transform: scale(1.05);
}

.price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
}

/* =================================================
   IMAGES
   ================================================= */

img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}

.image-hover {
  overflow: hidden;
}

.image-hover img {
  transition: var(--transition);
}

.image-hover:hover img {
  transform: scale(1.08);
}

/* =================================================
   FORMS
   ================================================= */

form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 2px solid #e0e0e0;
  margin-bottom: 20px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  outline: none;
}

/* =================================================
   CTA
   ================================================= */

.cta {
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta .btn {
  background: var(--white);
  color: var(--orange);
}

/* =================================================
   FOOTER
   ================================================= */

footer {
  background: var(--blue);
  color: var(--white);
  padding: 60px 20px;
}

footer a {
  color: rgba(255,255,255,0.85);
}

footer p {
  color: rgba(255,255,255,0.85);
}

/* =================================================
   SCROLL ANIMATIONS
   ================================================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.9); }

.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  transform: none;
}

/* NAVBAR TUNING */
.navbar-brand {
  color: var(--blue);
}

.nav-link {
  font-weight: 600;
  margin-left: 10px;
}

.nav-link:hover {
  color: var(--orange);
}

/* CAROUSEL */
.carousel img {
  height: 520px;
  object-fit: cover;
}

/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width: 992px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .container { padding: 60px 16px; }
  .banner { padding: 100px 16px; }
  .price-card.featured { transform: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
  .carousel img {
    height: 300px;
  }
}



/* ==========================
   COMPACT NAVBAR
   ========================== */

.navbar {
  padding: 10px 10px; /* reduce overall height */
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 700;
  padding: 0;
  line-height: 1.2;
}

.nav-link {
  font-weight: 600;
  padding: 6px 10px !important; /* tighter links */
  font-size: 0.95rem;
}

.navbar-toggler {
  padding: 4px 8px;
  font-size: 1rem;
}

/* Dropdown menu compact */
.dropdown-menu {
  font-size: 0.95rem;
  padding: 6px 0;
}

.dropdown-item {
  padding: 6px 16px;
}

/* Reduce fixed-top spacer */
.navbar-spacer {
  height: 60px;
}

/* ==========================
   MOBILE TUNING
   ========================== */

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 0.9rem;
  }

  .navbar-brand img {
    height: 32px;
  }

  .nav-link {
    padding: 8px 12px !important;
  }
}

/* ==========================
   GALLERY
   ========================== */

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-item {
  width: calc(25% - 20px);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ==========================
   LIGHTBOX
   ========================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 992px) {
  .gallery-item {
    width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .gallery-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 100%;
  }
}
