/* ===== KONTAK.CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:wght@700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta: #c2410c;
  --terra-light: #fed7aa;
  --terra-pale: #fff7ed;
  --brown: #7c2d12;
  --dark: #1c1917;
  --white: #ffffff;
  --border: #e7e5e4;
  --text: #292524;
  --muted: #78716c;
  --success: #16a34a;
}

body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.brand-text { font-family: 'Fraunces', serif; font-size: 20px; color: var(--terracotta); letter-spacing: 1px; }
.nav-links { display: flex; list-style: none; gap: 6px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 8px; transition: all 0.3s; }
.nav-links a:hover, .nav-links a.active { background: var(--terra-pale); color: var(--terracotta); }
.hamburger { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 20px; padding: 4px 10px; border-radius: 6px; cursor: pointer; }

.mobile-menu { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; z-index: 999; background: var(--white); padding: 16px; gap: 8px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mobile-menu a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 16px; border-radius: 8px; text-align: center; border: 1px solid var(--border); transition: all 0.2s; }
.mobile-menu a:hover { background: var(--terra-pale); color: var(--terracotta); }
.mobile-menu.open { display: flex; }

/* PAGE HERO */
.page-hero {
  min-height: 60vh;
  position: relative; display: flex; align-items: center;
  padding: 120px 60px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('armada5.jpeg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,0.88) 0%, rgba(124,45,18,0.75) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.kicker { color: var(--terra-light); font-size: 12px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 18px; }
.page-hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 8vw, 100px); line-height: 0.9; margin-bottom: 22px;
}
.page-hero-content h1 em { color: var(--terra-light); font-style: italic; }
.page-hero-content p { font-size: 17px; color: #d6d3d1; line-height: 1.7; max-width: 480px; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 700;
  letter-spacing: 4px; z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(-8px); } }

/* CONTACT BODY */
.contact-body { padding: 0 0 80px; background: var(--terra-pale); }

/* CONTACT CARDS */
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--dark);
}
.contact-card {
  padding: 36px 28px; text-align: center; color: var(--white);
  text-decoration: none; transition: background 0.3s;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.contact-card:last-child { border-right: none; }
.contact-card:hover { background: var(--terracotta); }
.contact-card.phone:hover { background: #1d4ed8; }
.contact-card.whatsapp:hover { background: #16a34a; }
.card-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #a8a29e; margin-bottom: 8px; }
.contact-card p { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-card span { font-size: 12px; color: #a8a29e; }
.contact-card:hover span { color: rgba(255,255,255,0.7); }

/* CONTACT MAIN */
.contact-main {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 60px 40px 0;
}

/* FORM */
.form-container {
  background: var(--white); border-radius: 24px; padding: 48px 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.form-header { margin-bottom: 36px; }
.form-header h2 { font-family: 'Fraunces', serif; font-size: 36px; color: var(--text); margin-bottom: 8px; }
.form-header p { color: var(--muted); font-size: 15px; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }
input, select, textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--text); background: #fafaf9; transition: all 0.3s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--terracotta); background: var(--white);
  box-shadow: 0 0 0 4px rgba(194,65,12,0.1);
}
textarea { resize: vertical; }

.btn-submit {
  width: 100%; padding: 16px 24px;
  background: var(--terracotta); color: var(--white);
  border: none; border-radius: 12px; font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.3s; box-shadow: 0 6px 24px rgba(194,65,12,0.3);
}
.btn-submit:hover { background: var(--brown); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(194,65,12,0.4); }

.form-success {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: #dcfce7; border: 1px solid #86efac; border-radius: 10px;
  color: var(--success); font-weight: 600; font-size: 14px;
}
.form-success.show { display: block; }

/* INFO PANEL */
.info-panel { display: flex; flex-direction: column; gap: 20px; }
.info-block {
  background: var(--white); border-radius: 20px; padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.info-block h3 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 12px; color: var(--text); }
.info-block p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.btn-emergency {
  display: block; background: var(--terracotta); color: var(--white);
  padding: 12px 20px; border-radius: 10px; text-align: center;
  font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.3s;
}
.btn-emergency:hover { background: var(--brown); }
.btn-wa {
  display: block; background: #16a34a; color: var(--white);
  padding: 12px 20px; border-radius: 10px; text-align: center;
  font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.3s;
}
.btn-wa:hover { background: #15803d; }

/* FAQ */
.faq-block { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.faq-block h3 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 20px; color: var(--text); }
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--text); }
.faq-q span { font-size: 20px; color: var(--terracotta); transition: transform 0.3s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; font-size: 13px; color: var(--muted); line-height: 1.7; padding-top: 10px; }
.faq-item.open .faq-a { display: block; }

/* FOOTER */
.footer { background: var(--dark); color: #78716c; padding: 50px 40px 30px; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.footer-brand strong { font-family: 'Fraunces', serif; font-size: 20px; color: var(--white); letter-spacing: 2px; }
.footer-brand span { font-size: 28px; }
.footer-inner > p { font-size: 15px; color: #a8a29e; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 28px; }
.footer-links a { color: #78716c; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: var(--terra-light); }
.copy { font-size: 13px; color: #57534e; }

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .page-hero { padding: 90px 24px 60px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; padding: 40px 20px 0; }
  .form-container { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
}


/* POPUP */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.popup-content {
  background: white;
  padding: 25px;
  margin: 15% auto;
  width: 320px;
  border-radius: 16px;
  text-align: center;
  animation: fadeIn 0.3s;
}

.kontak-item {
  display: block;
  margin: 10px 0;
  padding: 12px;
  background: #c2410c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.kontak-item:hover {
  background: #7c2d12;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 22px;
}

@keyframes fadeIn {
  from {opacity:0; transform: scale(0.9);}
  to {opacity:1; transform: scale(1);}
}