@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ==========================================================================
   1. CSS Reset & Variables
   ========================================================================== */
:root {
  --bg-base: #0a0a0f;
  --bg-card: #111118;
  --bg-elevated: #1a1a24;
  --bg-darker: #08080c;
  --accent-primary: #d4a853;
  --accent-hover: #c49a47;
  --text-primary: #f0ece4;
  --text-muted: #a09b91;
  --border-color: #2a2a36;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.8);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-padding); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all var(--transition-fast);
}
.btn-primary {
  background-color: var(--accent-primary);
  color: var(--bg-base);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212,168,83,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. Page Loader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-inner span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--accent-primary);
}
.loader-gear {
  width: 44px; height: 44px;
  border: 3px solid rgba(212,168,83,0.15);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   3. Header / Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: all var(--transition-fast);
  background: transparent;
}
.header.scrolled {
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: all .3s ease;
  border-radius: 2px;
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
  padding: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}
.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 22px;
}
.hero-title {
  font-size: 4.2rem;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   5. Section Headers
   ========================================================================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   6. About Section
   ========================================================================== */
.about { background: var(--bg-base); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 100%; height: 100%;
  border: 2px solid var(--accent-primary);
  border-radius: 10px;
  z-index: -1;
  transition: all var(--transition-fast);
}
.about-image:hover::after { transform: translate(-8px,-8px); }
.about-image img { border-radius: 10px; width: 100%; height: auto; }
.about-content .section-label { margin-bottom: 14px; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.98rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent-primary);
  display: inline;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent-primary);
}
.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services { background: var(--bg-card); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--accent-primary);
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,15,0.92) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.service-card:hover .service-overlay { opacity: 1; }
.service-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  padding: 18px 20px;
  color: var(--text-primary);
  margin: 0;
}

/* ==========================================================================
   8. Why Choose Us
   ========================================================================== */
.why-us { background: var(--bg-base); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
}
.feature-item {
  text-align: center;
  padding: 36px 22px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(212,168,83,0.15);
}
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: rgba(212,168,83,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  transition: background var(--transition-fast);
}
.feature-item:hover .feature-icon { background: rgba(212,168,83,0.18); }
.feature-title { font-size: 1.15rem; margin-bottom: 12px; }
.feature-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ==========================================================================
   9. Testimonials
   ========================================================================== */
.testimonials { background: var(--bg-elevated); }
.testimonial-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-card {
  display: none;
  padding: 44px 40px;
  background: var(--bg-card);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  animation: fadeSlide .5s ease;
}
.testimonial-card.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-stars {
  color: var(--accent-primary);
  font-size: 1.15rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.85;
  margin-bottom: 32px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212,168,83,0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.author-role {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 2px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}
.dot.active, .dot:hover {
  background: var(--accent-primary);
  transform: scale(1.3);
}

/* ==========================================================================
   10. Contact Section (Map + Form)
   ========================================================================== */
.contact { background: var(--bg-base); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-map { min-height: 520px; }
.contact-map iframe {
  width: 100%; height: 100%;
  display: block;
  filter: grayscale(90%) invert(92%) contrast(85%);
}
.contact-form-wrapper { padding: 52px 44px; }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0 18px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input { height: 48px; }
.form-group textarea { padding: 14px 18px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(212,168,83,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160,155,145,0.5);
}
.btn-submit {
  width: 100%;
  height: 50px;
  font-size: 0.92rem;
  margin-top: 4px;
}
.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 6px;
  color: var(--accent-primary);
  font-weight: 500;
  text-align: center;
  animation: fadeSlide .4s ease;
}

/* ==========================================================================
   11. Footer — Rows Layout
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  padding-top: 72px;
}
.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 52px;
}
.footer-about {
  flex: 1.4;
  min-width: 260px;
}
.footer-col {
  flex: 1;
  min-width: 180px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 42px; height: 42px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--accent-primary);
  color: var(--bg-darker);
  transform: translateY(-3px);
}
.footer-heading {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--accent-primary);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer-contact li svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-contact a:hover { color: var(--accent-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}
.footer-bottom a:hover { color: var(--accent-hover); }

/* ==========================================================================
   12. Scroll Animations
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--accent-primary);
  color: var(--bg-darker);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
}

/* ==========================================================================
   14. Responsive — Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-title { font-size: 2.2rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
}

/* ==========================================================================
   15. Responsive — Mobile (768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section { padding: var(--section-padding-mobile); }
  .section-title { font-size: 1.9rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; }
  .about-content .section-title { text-align: center; }
  .about-content .section-label { display: block; text-align: center; }
  .about-stats { grid-template-columns: repeat(2,1fr); gap: 24px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 36px 24px; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-about, .footer-col { min-width: 100%; }

  /* Mobile Menu */
  .hamburger { display: block; }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    z-index: 1000;
  }
  .nav-links.active { opacity: 1; visibility: visible; }
  .nav-links .nav-link { font-size: 1.4rem; color: var(--text-primary); }
}

/* ==========================================================================
   16. Responsive — Small Mobile (480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }
  .testimonial-card { padding: 28px 20px; }
  .testimonial-text { font-size: 0.98rem; }
}
