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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2A;
  background-color: #F8F4EE;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1E1B2E;
  padding: 0 24px;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px #D5CFC8;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #D4956A;
  letter-spacing: 0.5px;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar .nav-links a {
  color: #F8F4EE;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
}

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

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

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

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

.navbar .nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #D4956A;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.navbar .nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1E1B2E 0%, #2E2B3E 40%, #3D3A4E 100%);
  color: #F8F4EE;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 2px solid rgba(212,149,106,0.08);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(80,128,112,0.05);
}

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

.hero-content .hero-badge {
  display: inline-block;
  background-color: #D4956A;
  color: #1E1B2E;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

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

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

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: #E8E2D8;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #D4956A;
  color: #1E1B2E;
}

.btn-primary:hover {
  background-color: #C5845A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #E0CBB5;
}

.btn-outline {
  background-color: transparent;
  color: #F8F4EE;
  border: 2px solid #F8F4EE;
}

.btn-outline:hover {
  border-color: #D4956A;
  color: #D4956A;
  transform: translateY(-2px);
}

/* ===== About Section ===== */
.about-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #F0EBE0;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #508070 0%, #3D6B5E 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8F4EE;
  font-size: 3rem;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  border: 3px solid #D4956A;
  border-radius: 12px;
  z-index: 0;
}

.about-image-placeholder {
  position: relative;
  z-index: 1;
}

.about-text .section-label {
  display: inline-block;
  color: #508070;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text h2 span {
  color: #D4956A;
}

.about-text p {
  color: #4A4A4A;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #F0EBE0;
}

.about-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #D4956A;
  display: block;
}

.about-stat .stat-label {
  font-size: 0.85rem;
  color: #6B6B6B;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Services Section ===== */
.services-section {
  padding: 100px 0;
  background-color: #F8F4EE;
}

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

.services-section .section-label {
  display: inline-block;
  color: #508070;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.services-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 16px;
}

.services-section .section-subtitle {
  color: #6B6B6B;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.service-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid #F0EBE0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: #D4956A;
  transition: height 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px #E8E4DD;
  border-color: #E8E2D8;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: #508070;
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 12px;
}

.service-card p {
  color: #5A5A5A;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Expertise Section ===== */
.expertise-section {
  padding: 100px 0;
  background-color: #1E1B2E;
  color: #F8F4EE;
}

.expertise-section .section-label {
  display: inline-block;
  color: #D4956A;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.expertise-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.expertise-section .section-subtitle {
  color: #C5C0B5;
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.expertise-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 10px;
  background-color: #2E2B3E;
  border: 1px solid #3D3A4E;
  transition: border-color 0.3s ease;
}

.expertise-item:hover {
  border-color: #D4956A;
}

.expertise-item .expertise-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #D4956A;
  line-height: 1;
  min-width: 48px;
}

.expertise-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.expertise-item p {
  color: #C5C0B5;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

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

.contact-section .section-label {
  display: inline-block;
  color: #508070;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.contact-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 16px;
}

.contact-section .section-subtitle {
  color: #6B6B6B;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #1E1B2E;
  margin-bottom: 16px;
}

.contact-info p {
  color: #5A5A5A;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #F0EBE0;
}

.contact-detail:last-child {
  border-bottom: none;
}

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

.contact-detail .detail-label {
  font-size: 0.8rem;
  color: #8B8B8B;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.contact-detail .detail-value {
  font-weight: 600;
  color: #1E1B2E;
}

.contact-form {
  background-color: #F8F4EE;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #F0EBE0;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #1E1B2E;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E8E2D8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2A2A2A;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease;
}

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

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

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.form-message.error {
  display: block;
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #1E1B2E;
  color: #C5C0B5;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #D4956A;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #A5A098;
  line-height: 1.7;
}

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

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

.footer-links ul li a {
  color: #A5A098;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-links ul li a:hover {
  color: #D4956A;
}

.footer-bottom {
  border-top: 1px solid #3D3A4E;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8B8880;
}

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

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

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

@media (max-width: 768px) {
  .navbar .nav-toggle {
    display: flex;
  }

  .navbar .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background-color: #1E1B2E;
    flex-direction: column;
    padding: 28px 0;
    gap: 0;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 24px #0D0B14;
  }

  .navbar .nav-links.open {
    transform: translateY(0);
  }

  .navbar .nav-links a {
    display: block;
    padding: 14px 32px;
    border-bottom: 1px solid #2E2B3E;
  }

  .navbar .nav-links a::after {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text h2,
  .services-section h2,
  .expertise-section h2,
  .contact-section h2 {
    font-size: 1.8rem;
  }

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

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about-stat .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}
