/* ============================================
   MARDALINA — STYLESHEET
   Aesthetic: Warm Luxury Editorial
   ============================================ */

:root {
  --cream: #FAF6EF;
  --dark: #1A1208;
  --gold: #C9963A;
  --gold-light: #E8B85A;
  --rust: #8B3A1E;
  --warm-gray: #6B5F50;
  --card-bg: #FFFFFF;
  --shadow: 0 8px 40px rgba(26,18,8,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,150,58,0.2);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -1px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--warm-gray);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 900;
  color: rgba(201,150,58,0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.hero-content {
  flex: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-tag {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  color: var(--warm-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--rust);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s ease 0.2s both;
}

.circle-big {
  width: 360px; height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--rust) 100%);
  opacity: 0.15;
  position: absolute;
}
.circle-small {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--rust) 100%);
  opacity: 0.2;
  position: absolute;
  top: 60px; right: 60px;
}

.hero-card {
  position: absolute;
  bottom: 80px; left: 20px;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
}
.card2 {
  bottom: auto; left: auto;
  top: 80px; right: 20px;
  animation-delay: 1.5s;
}
.card-icon { font-size: 1.8rem; }
.hero-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
}
.hero-card span {
  font-size: 0.75rem;
  color: var(--warm-gray);
}

/* ---- STATS ---- */
.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--dark);
  padding: 3rem 5%;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 900;
}
.stat-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
}

/* ---- SERVICES PREVIEW ---- */
.services-preview {
  padding: 6rem 5%;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,18,8,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(201,150,58,0.1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card.featured {
  background: var(--dark);
  color: white;
}
.service-card.featured h3 { color: var(--gold-light); }
.service-card.featured p { color: rgba(255,255,255,0.65); }
.service-card.featured .card-link { color: var(--gold-light); }

.card-num {
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,150,58,0.1);
  line-height: 1;
}
.service-card.featured .card-num { color: rgba(201,150,58,0.2); }

.svc-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}
.service-card p {
  color: var(--warm-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.card-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}
.card-link:hover { text-decoration: underline; }

/* ---- TESTIMONIAL ---- */
.testimonial {
  padding: 6rem 5%;
  background: linear-gradient(180deg, #F5EFE2 0%, var(--cream) 100%);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(26,18,8,0.07);
  border: 1px solid rgba(201,150,58,0.1);
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-4px); }

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.testi-card > p:nth-child(2) {
  color: var(--warm-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testi-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark);
}
.testi-author span {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

/* ---- CTA ---- */
.cta-section {
  padding: 6rem 5%;
  text-align: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,58,0.15) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}
.cta-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ---- FOOTER ---- */
.footer {
  background: #110D05;
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 5%;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ---- PAGE HERO (for inner pages) ---- */
.page-hero {
  padding: 10rem 5% 4rem;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding-top: 7rem; text-align: center; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { height: 300px; width: 100%; }
  .circle-big { width: 240px; height: 240px; }
  .circle-small { width: 160px; height: 160px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 1.5rem 5%;
    border-top: 1px solid rgba(201,150,58,0.2);
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .stats { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
