/*
Theme Name: Shriver Peinture
Theme URI: https://example.com
Author: Bryan Shriver
Author URI: https://example.com
Description: Thème one-page sur mesure pour Shriver Peinture, artisan peintre.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shriver-peinture
*/

:root {
  --color-bg: #faf6f1;
  --color-surface: #ffffff;
  --color-text: #2b241f;
  --color-muted: #6b5f56;
  --color-primary: #c2542c;
  --color-primary-dark: #9c3f1f;
  --color-accent: #2f6f5e;
  --color-border: #e7ddd2;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(43, 36, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Placeholder image blocks */
.placeholder-img {
  background: linear-gradient(135deg, #e9d9c8, #d9c3ac);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
  min-height: 180px;
}

.placeholder-img span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.site-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 600;
  color: var(--color-text);
}

.site-nav a:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
}

/* Hero */
.hero {
  padding: 72px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--color-primary-dark);
}

.hero p {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* About */
.about {
  padding: 64px 0;
  background: var(--color-surface);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about h2 {
  color: var(--color-primary-dark);
  font-size: 2rem;
}

.about p {
  color: var(--color-text);
}

.about .signature {
  margin-top: 16px;
  font-style: italic;
  color: var(--color-muted);
}

/* Services */
.services {
  padding: 64px 0;
}

.services h2 {
  text-align: center;
  color: var(--color-primary-dark);
  font-size: 2rem;
  margin-bottom: 8px;
}

.services .lead {
  text-align: center;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-text);
  font-weight: 600;
}

/* Contact / Footer */
.contact {
  padding: 64px 0;
  background: var(--color-accent);
  color: #fff;
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.85);
}

.contact .btn {
  background: #fff;
  color: var(--color-accent) !important;
  margin-top: 16px;
}

.contact .btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 780px) {
  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .site-nav ul {
    gap: 14px;
  }
}
