/* ================================================================
   style-home.css — PT Modern Aulia Mandiri
   Tema: Luxury Maritime · Navy · Teal · Elegant Premium
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&family=Playfair+Display:ital,wght@1,400&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────────── */
:root {
  --navy:        #0d2233;
  --navy-deep:   #081828;
  --navy-mid:    #163347;
  --teal:        #3a9e8f;
  --teal-light:  #5fc4b4;
  --teal-pale:   #a8ddd6;
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --text-main:   #f0ede8;
  --text-muted:  #c2d4e0;
  --border:      rgba(58, 158, 143, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:     4px;
}

/* ── BASE RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h5 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--text-muted); font-weight: 300; }

em { font-style: italic; color: var(--teal-light); }

a { text-decoration: none; color: inherit; }

/* ── SHARED UTILITIES ─────────────────────────────────────────── */
.label-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(95, 196, 180, 0.35);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  margin: 0 auto 0;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  padding: 13px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35); }
.btn-gold:hover::after { opacity: 1; }

.btn-ghost {
  display: inline-block;
  padding: 12px 34px;
  border: 1px solid rgba(95, 196, 180, 0.5);
  color: var(--teal-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(95, 196, 180, 0.1);
  border-color: var(--teal-light);
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-block;
  padding: 11px 32px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero-corporate {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(58,158,143,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(13,34,51,0.8) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, #0f2a3d 50%, var(--navy-deep) 100%);
  overflow: hidden;
}

/* Grid texture overlay */
.hero-corporate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,158,143,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,158,143,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Diagonal accent line */
.hero-corporate::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(58,158,143,0.04) 100%);
  border-left: 1px solid rgba(58,158,143,0.1);
  transform: skewX(-8deg) translateX(10%);
  pointer-events: none;
}

.hero-corporate .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(95,196,180,0.3);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: rgba(58,158,143,0.05);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  margin: 8px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── ABOUT ────────────────────────────────────────────────────── */
.about.section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 100px 0;
  position: relative;
}

.about.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.about.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 0.5rem;
  line-height: 1.2;
}

.about.section p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* Stats row */
.about-stat {
  display: flex;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stat-item span:first-child {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.about-stat-item span:last-child {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Logo wrap */
.about-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.about-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(58,158,143,0.15);
  animation: pulse-ring 4s ease-in-out infinite;
}

.about-logo-ring:nth-child(1) {
  width: 280px; height: 280px;
  animation-delay: 0s;
}

.about-logo-ring:nth-child(2) {
  width: 360px; height: 360px;
  animation-delay: 1.5s;
  border-color: rgba(58,158,143,0.08);
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.04); opacity: 1; }
}

.hero-logo {
  position: relative;
  z-index: 2;
  max-width: 260px;
  filter: drop-shadow(0 20px 60px rgba(58,158,143,0.25));
  transition: var(--transition);
}

.hero-logo:hover {
  filter: drop-shadow(0 28px 80px rgba(58,158,143,0.4));
  transform: translateY(-6px);
}

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-section {
  background: var(--navy-deep);
  padding: 100px 0;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.section-header { margin-bottom: 1rem; }
.section-header h2 { margin-top: 0.5rem; }
.section-header p { max-width: 540px; margin: 1rem auto 0; font-size: 0.93rem; color: var(--text-muted); }

.service-card {
  background: linear-gradient(145deg, rgba(22,51,71,0.8) 0%, rgba(13,34,51,0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 1.8rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(58,158,143,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(58,158,143,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(58,158,143,0.15);
}

.service-card:hover::before,
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: rgba(58,158,143,0.08);
  border: 1px solid rgba(58,158,143,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(58,158,143,0.16);
  border-color: rgba(58,158,143,0.55);
  box-shadow: 0 0 28px rgba(58,158,143,0.22);
}

/* Icon menggunakan Bootstrap Icons font — profesional, scalable */
.service-icon-wrap .svc-icon {
  font-family: 'bootstrap-icons';
  font-style: normal;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--teal-light);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap .svc-icon {
  color: var(--teal-pale);
  transform: scale(1.08);
}

.service-card h5 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #b8cdd8;
  position: relative;
  z-index: 1;
}

.service-number {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(58,158,143,0.06);
  line-height: 1;
  transition: var(--transition);
  user-select: none;
}

.service-card:hover .service-number { color: rgba(58,158,143,0.12); }

/* ── PORTFOLIO ────────────────────────────────────────────────── */
.portfolio.section {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  padding: 100px 0;
  position: relative;
}

.portfolio.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.portfolio.section .section-title h2 { margin-top: 0.5rem; }

.portfolio.section .section-title p {
  font-size: 0.93rem;
}

.portfolio.section .section-title a {
  color: var(--teal-light);
  font-weight: 500;
  border-bottom: 1px solid rgba(95,196,180,0.3);
  transition: var(--transition);
}

.portfolio.section .section-title a:hover {
  color: var(--teal-pale);
  border-color: var(--teal-pale);
}

/* Filter pills */
.portfolio-filters {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.portfolio-filters li {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
  border-color: var(--teal);
  color: var(--teal-light);
  background: rgba(58,158,143,0.08);
}

/* Portfolio items */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,24,40,0.95) 0%, rgba(8,24,40,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-info { opacity: 1; }

.portfolio-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.portfolio-info p {
  font-size: 0.78rem;
  color: var(--teal-pale);
  margin-bottom: 0.75rem;
}

.portfolio-info a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(95,196,180,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 1rem;
  transition: var(--transition);
}

.portfolio-info a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── CLIENTS ──────────────────────────────────────────────────── */
#clients.section {
  background: var(--navy-deep) !important;
  padding: 100px 0;
  position: relative;
}

#clients.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.client-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  background: linear-gradient(145deg, rgba(22,51,71,0.5) 0%, rgba(13,34,51,0.7) 100%);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.client-card:hover,
.client-card.featured {
  border-color: rgba(58,158,143,0.4);
  color: var(--teal-light);
  background: linear-gradient(145deg, rgba(58,158,143,0.07) 0%, rgba(13,34,51,0.9) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.client-card.featured {
  color: var(--white);
  border-color: rgba(201,168,76,0.3);
  background: linear-gradient(145deg, rgba(201,168,76,0.05) 0%, rgba(13,34,51,0.9) 100%);
}

.client-card.featured:hover {
  border-color: rgba(201,168,76,0.6);
  box-shadow: 0 8px 40px rgba(201,168,76,0.12);
}

/* ── PARTNER ──────────────────────────────────────────────────── */
.partner-elegant {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 100px 0;
  position: relative;
}

.partner-elegant::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.partner-text h2 { margin-top: 0.5rem; }
.partner-text p { font-size: 0.95rem; line-height: 1.9; margin-top: 1rem; color: var(--text-muted); }
.partner-text strong { color: var(--teal-light); font-weight: 500; }

.partner-box {
  background: linear-gradient(145deg, rgba(22,51,71,0.7) 0%, rgba(13,34,51,0.9) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
}

.partner-box:hover {
  border-color: rgba(58,158,143,0.35);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}

.partner-box img {
  max-width: 180px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  filter: brightness(0.9);
  transition: var(--transition);
}

.partner-box:hover img { filter: brightness(1.05); }

.partner-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partner-contact a {
  font-size: 0.82rem;
  color: var(--teal-light);
  letter-spacing: 0.04em;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.partner-contact a:hover {
  color: var(--teal-pale);
  border-bottom-color: var(--teal-pale);
}

.partner-contact span { color: rgba(58,158,143,0.4); font-size: 0.7rem; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .about-stat { flex-wrap: wrap; gap: 1.5rem; }
  .partner-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 767px) {
  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .about-logo-wrap { padding: 2rem; margin-top: 2rem; }
  .about-logo-ring:nth-child(1) { width: 200px; height: 200px; }
  .about-logo-ring:nth-child(2) { width: 270px; height: 270px; }
  .hero-logo { max-width: 180px; }
  .portfolio-filters { justify-content: center; }
}

@media (max-width: 575px) {
  .about-stat { flex-direction: column; gap: 1.2rem; }
}