/* Darling Rose Photography — light flexbox shell */

:root {
  --ink: #2e2a28;
  --muted: #6f6660;
  --accent: #b76e79;
  --accent-dark: #96525d;
  --bg: #ffffff;
  --bg-soft: #faf6f4;
  --line: #e8dfda;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: 34px; margin: 0 0 18px; }
h2 { font-size: 26px; margin: 34px 0 14px; }
h3 { font-size: 21px; margin: 26px 0 10px; }

p { margin: 0 0 16px; }

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 14px;
}

.logo-img {
  max-height: 92px;
  width: auto;
}

/* ===== Nav ===== */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.nav-inner {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a {
  display: block;
  padding: 14px 16px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.nav-list > li > a:hover { color: var(--accent); }

.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(46, 42, 40, 0.08);
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--ink);
}

.dropdown a:hover { background: var(--bg-soft); color: var(--accent); }

.nav-toggle-checkbox { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* ===== Main / sections ===== */
main {
  display: block;
  padding: 44px 0 60px;
}

.page-header {
  text-align: center;
  margin-bottom: 34px;
}

.page-header h1 { margin-bottom: 8px; }

.page-header .subtitle {
  color: var(--muted);
  font-size: 17px;
}

.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 64px 20px;
}

.hero h1 { font-size: 38px; margin-bottom: 10px; }

.hero p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.section { margin-bottom: 48px; }

.section-title {
  text-align: center;
  margin-bottom: 22px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

.center { text-align: center; }

/* Cards (portfolio, listings) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.card {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card h3 { margin: 0; }

.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Testimonials */
.quote {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  margin: 0 0 24px;
}

.quote p { margin-bottom: 10px; }

.quote cite {
  font-style: normal;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--accent-dark);
}

/* Blog cards from r-template_blog.php */
.blog-container { margin-top: 10px; }

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.blog-card {
  flex: 1 1 300px;
  max-width: 480px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px 24px;
}

.blog-title { margin: 0 0 8px; font-size: 20px; }

.blog-title a { text-decoration: none; }

.blog-preview p { color: var(--muted); font-size: 15px; margin: 0; }

/* Post list (blog archive) */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-list li {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 18px 22px;
}

.post-list a {
  font-family: var(--serif);
  font-size: 20px;
  text-decoration: none;
}

.post-list .post-cat {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Article body */
.article-body { max-width: 760px; margin: 0 auto; }

.article-meta {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

/* Info blocks (in-home sessions, pricing) */
.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 28px 30px;
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
}

.info-box ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.info-box li { margin-bottom: 6px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 36px 0 30px;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.footer-social a,
.footer-social span {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.footer-social a:hover { color: var(--accent); }

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .nav-inner { justify-content: flex-start; }

  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--line);
  }

  .nav-toggle-checkbox:checked ~ .nav-list { display: flex; }

  .nav-list > li > a { padding: 12px 20px; }

  .dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }

  .dropdown-toggle { display: none !important; }

  .hero h1 { font-size: 28px; }

  h1 { font-size: 27px; }
}
