/* JadeDrape - Main Stylesheet */
/* Palette: Deep Violet #4C2A5C, Mint #7DBBA6, Honey #E8B25A, Cream #FEFAF2, Charcoal #2D2D34 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #FEFAF2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #4C2A5C;
  padding: 0 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 12px #00000030;
}

.navbar .logo {
  font-size: 26px;
  font-weight: 700;
  color: #FEFAF2;
  letter-spacing: 1px;
}

.navbar .logo span {
  color: #E8B25A;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: #FEFAF2;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: #E8B25A;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #E8B25A;
  transition: width 0.25s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #FEFAF2;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #4C2A5C;
  background-image: linear-gradient(135deg, #4C2A5C 0%, #3A1E48 50%, #2D1B2E 100%);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background-color: #7DBBA640;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #E8B25A30;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content .badge {
  display: inline-block;
  background-color: #E8B25A;
  color: #2D2D34;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 24px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: #FEFAF2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #E8B25A;
}

.hero-content p {
  font-size: 19px;
  color: #D4C4E0;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: #E8B25A;
  color: #2D2D34;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 6px;
  transition: background-color 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #D4A03A;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid #FEFAF2;
  color: #FEFAF2;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 6px;
  transition: background-color 0.25s, color 0.25s;
}

.btn-outline:hover {
  background-color: #FEFAF2;
  color: #4C2A5C;
}

/* ===== Services ===== */
.services-section {
  padding: 100px 24px;
  background-color: #FEFAF2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #2D2D34;
  margin-bottom: 12px;
}

.section-header .underline {
  width: 60px;
  height: 4px;
  background-color: #E8B25A;
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-header p {
  font-size: 17px;
  color: #555555;
  max-width: 560px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px #0000000A;
  border: 1px solid #EEEAE5;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px #00000010;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: #7DBBA620;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2D2D34;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

/* ===== Stats ===== */
.stats-section {
  padding: 80px 24px;
  background-color: #2D2D34;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #E8B25A;
  line-height: 1.1;
}

.stat-plus {
  font-size: 36px;
  color: #E8B25A;
}

.stat-label {
  font-size: 15px;
  color: #C0BFBF;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== About ===== */
.about-section {
  padding: 100px 24px;
  background-color: #FEFAF2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 {
  font-size: 40px;
  font-weight: 800;
  color: #2D2D34;
  margin-bottom: 20px;
}

.about-text .underline {
  width: 60px;
  height: 4px;
  background-color: #E8B25A;
  border-radius: 2px;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  margin-top: 16px;
}

.about-features li {
  font-size: 15px;
  color: #2D2D34;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.about-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: #7DBBA6;
  border-radius: 50%;
}

.about-image {
  background-color: #7DBBA620;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #7DBBA660;
}

.about-image .placeholder-icon {
  font-size: 72px;
  color: #7DBBA6;
}

/* ===== Contact ===== */
.contact-section {
  padding: 100px 24px;
  background-color: #4C2A5C;
  background-image: linear-gradient(135deg, #4C2A5C 0%, #3A1E48 100%);
}

.contact-section .section-header h2 {
  color: #FEFAF2;
}

.contact-section .section-header p {
  color: #D4C4E0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FEFAF2;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: #FEFAF220;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FEFAF2;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 15px;
  color: #D4C4E0;
}

.contact-form-wrap {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 36px;
}

.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2D2D34;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2D2D34;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #D5D0CA;
  border-radius: 6px;
  background-color: #FEFAF2;
  color: #333333;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4C2A5C;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background-color: #4C2A5C;
  color: #FEFAF2;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s;
}

.form-submit:hover {
  background-color: #7DBBA6;
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #2D2D34;
  padding: 48px 24px 32px;
  color: #C0BFBF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto 32px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 700;
  color: #FEFAF2;
  margin-bottom: 10px;
}

.footer-brand h3 span {
  color: #E8B25A;
}

.footer-brand p {
  font-size: 14px;
  color: #A0A0A0;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FEFAF2;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #A0A0A0;
  transition: color 0.25s;
}

.footer-col ul li a:hover {
  color: #E8B25A;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #404040;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 13px;
  color: #808080;
}

/* ===== Scroll Reveal ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #4C2A5C;
    flex-direction: column;
    padding: 24px 32px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: 0 4px 12px #00000020;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .hamburger {
    display: flex;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 16px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .stat-number {
    font-size: 32px;
  }
}
