/* ===================================================
   LEON BUILDERS – style.css
   Brand Colors: #6f2d70 (Purple) | #ffffff (White)
   Accent: #c4a265 (Gold from logo)
   =================================================== */

/* ── CSS Variables ── */
:root {
  --primary:   #6f2d70;
  --primary-dark: #521f52;
  --primary-light: #8e3a8f;
  --white:     #ffffff;
  --gold:      #c4a265;
  --gold-light: #dbc08a;
  --dark:      #1a1a2e;
  --gray:      #f5f5f7;
  --text:      #333333;
  --text-light:#666666;
  --shadow:    0 8px 32px rgba(111,45,112,0.15);
  --radius:    12px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 100px 0; }

/* ── Section Headers ── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '— ';
}
.section-label::after {
  content: ' —';
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111,45,112,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary-dark);
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 55px;
  width: auto;
  border-radius: 0px;
  transition: height var(--transition);
}
.navbar.scrolled .logo-img { height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80')
    center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(111,45,112,0.88) 0%,
    rgba(26,26,46,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 820px;
  animation: fadeInUp 0.9s ease both;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 1.6s infinite;
}

/* ========================================
   STATS BANNER
   ======================================== */
.stats-banner {
  background: var(--primary);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem 2rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-item:last-child { border-right: none; }

.stat-item h3 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-item span { font-size: 2rem; color: var(--gold); font-weight: 900; }
.stat-item p { font-size: 0.85rem; opacity: 0.85; margin-top: 0.4rem; letter-spacing: 1px; }

/* ========================================
   ABOUT
   ======================================== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-block {
  position: relative;
  height: 500px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 85%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 48%; height: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-exp-badge {
  position: absolute;
  top: 50%; left: -2rem;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(111,45,112,0.4);
}
.badge-num { font-size: 2rem; font-weight: 900; color: var(--gold); display: block; }
.badge-text { font-size: 0.75rem; opacity: 0.9; line-height: 1.4; }

.about-text .section-title { margin-bottom: 1.25rem; }
.about-desc { color: var(--text-light); line-height: 1.85; margin-bottom: 1rem; }

.about-features {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.about-features li i { color: var(--primary); font-size: 1.1rem; }

/* ========================================
   SERVICES
   ======================================== */
.services { background: var(--gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--primary);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(111,45,112,0.12);
}

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(3deg); }
.service-icon i { font-size: 1.5rem; color: var(--white); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.service-card p { color: var(--text-light); line-height: 1.7; font-size: 0.9rem; }

/* ========================================
   PROJECTS
   ======================================== */
.projects { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.project-card.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(111,45,112,0.90) 0%,
    rgba(111,45,112,0.1) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }

.project-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.project-overlay h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.project-overlay p  { font-size: 0.82rem; opacity: 0.8; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--gray); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
  border-top: 4px solid var(--primary);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; display: flex; gap: 2px; }

.testimonial-card > p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--dark); }
.testimonial-author span  { font-size: 0.78rem; color: var(--text-light); }

/* ========================================
   CONTACT
   ======================================== */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(111,45,112,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--primary); font-size: 1.1rem; }
.contact-info-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; }
.contact-info-item p  { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.social-links a {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.9rem;
}
.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 0.75rem;
  min-height: 1.2em;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 60px;
  border-radius: 0px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links-col li, .footer-links-col a {
  font-size: 0.88rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition);
}
.footer-links-col a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; opacity: 0.6; }
.footer-bottom .fa-heart { color: #ff6b6b; }

/* ========================================
   WHATSAPP FAB & SCROLL TOP
   ======================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 5rem; right: 1.5rem;
  width: 54px; height: 54px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); }

.scroll-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(111,45,112,0.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%      { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 260px;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.75rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }

  /* Hero */
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  /* Stats */
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-image-block { height: 350px; margin-bottom: 2rem; }
  .about-exp-badge { left: 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .project-card.large { grid-column: 1; grid-row: auto; height: 280px; }
  .project-card { height: 220px; }
  .project-overlay { opacity: 1; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
