/* Amanda Geshev — main.css */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,600;0,700;1,300&display=swap');

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

:root {
  --nav-bg:  #222;
  --nav-link: #eee;
  --body-bg: #fff;
  --text:    #333;
  --muted:   #767676;
  --border:  #eee;
  --max:     1200px;
}

body {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header { background: #fff; }

.header-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.header-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
}

.site-branding {
  text-align: center;
  padding: 1rem;
}

.site-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.site-title a { color: inherit; }

.site-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── NAV ── */
nav { background: var(--nav-bg); }

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
}

nav ul li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--nav-link);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}

nav ul li a:hover,
nav ul li.current a { background: rgba(255,255,255,0.08); }

/* ── CONTENT ── */
.site-content {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── PANELS ── */
.panel {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}

.panel:last-of-type { border-bottom: none; }

.panel h2 {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.panel p {
  max-width: 72ch;
  margin-bottom: 1rem;
}

.panel-hero p { font-size: 1.05rem; }
.panel-hero .panel-image { margin-top: 2.5rem; }

.panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.panel-contact .panel-inner { align-items: start; }
.panel-contact .contact-image { max-width: 220px; }
.panel-contact p { margin-bottom: 1.5rem; }

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #555;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s;
}

.text-link:hover { color: #111; }

/* ── FORM ── */
form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 520px; }

form label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
}

form input:focus,
form textarea:focus { border-color: #767676; background: #fff; }

form textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.btn-submit {
  padding: 0.7rem 1.8rem;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s;
  margin-top: 0.25rem;
}

.btn-submit:hover { background: #444; }

.form-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
.site-footer {
  background: #f7f7f7;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-widgets h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.footer-widgets p { font-size: 0.9rem; color: var(--muted); }

.social-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.social-nav a {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.social-nav a:hover { color: #222; }

.site-info {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: #bbb;
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .panel-inner { grid-template-columns: 1fr; }
  .panel-contact .contact-image { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .social-nav { text-align: left; }
}
