/*
  This stylesheet accompanies the updated Orb & Linteau homepage.
  It is derived from the original styles and introduces several refinements:
    * Lighter overlays on the hero and portfolio captions for better legibility.
    * A secondary accent colour (orange) applied to call‑to‑action buttons.
    * Styling for service card bullet lists and duration labels.
    * Retains the existing responsive grid and typography definitions.
*/

/* Import robust, rustic typefaces: Cormorant Garamond for headings and Work Sans for body text */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Work+Sans:wght@400;500;600&display=swap');

/* Base palette definitions (rustic, sun‑baked) */
:root {
  /*
    The site now uses a palette evoking sun‑bleached plaster, terracotta tiles and Mediterranean vegetation.
    Ratio guidance: 60 % plaster base, 20 % charcoal, 10 % terracotta, 5 % ochre and 5 % olive/blue.
  */
  --warm-terracotta: #C2755C; /* primary buttons and accents (sun‑baked terracotta) */
  --soft-azure: #6D8A95;      /* dusty blue for links, chips and subtle highlights */
  --sage-green: #7B8C61;      /* olive green for icons, hover states */
  --lavender: #D8AA7C;        /* dusty ochre for secondary highlights and tags */
  --warm-sand: #F4ECE2;       /* plaster base used for backgrounds and cards */
  --charcoal: #3D3A34;        /* deep charcoal for primary text */
  --white: #ffffff;
}

/* Accessibility: focus outline uses the dusty blue accent */
*:focus {
  outline: 2px dashed var(--soft-azure);
  outline-offset: 2px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--charcoal);
  background: var(--warm-sand);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid #eee;
}

header .logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
  padding: 1rem 0;
  color: var(--charcoal);
}

nav {
  display: flex;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Language toggle */
 .language-toggle {
  background: var(--warm-sand);
  text-align: right;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
}

.language-toggle a {
  color: var(--warm-terracotta);
  text-decoration: none;
  margin-left: 0.4rem;
}

.language-toggle a.active {
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  /* Use the rustic abstract pattern for the hero background */
  background: url('pattern_rustic.png') no-repeat center/cover;
  color: var(--charcoal);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Overlay lightened for the rustic palette */
  background: rgba(244, 236, 226, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-btn {
  font-family: 'Work Sans', sans-serif;
  background: var(--warm-terracotta);
  /* Use plaster‑coloured text on terracotta for better contrast */
  color: var(--warm-sand);
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  display: inline-block;
}

.cta-btn:hover {
  /* Slightly darken the terracotta on hover */
  background: #aa5f4a;
}

/* Services */
.services {
  padding: 4rem 0;
}

.services h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: var(--warm-sand);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .icon {
  font-size: 2rem;
  color: var(--sage-green);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

/* Bullet list inside service cards */
.service-card ul {
  list-style-type: disc;
  text-align: left;
  margin: 0 0 0.8rem 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.service-card .duration {
  font-weight: 600;
  margin-top: 0.3rem;
  color: var(--lavender);
}

/* Portfolio */
.portfolio {
  background: var(--warm-sand);
  padding: 4rem 0;
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.8rem;
  background: rgba(246, 240, 230, 0.9); /* pale overlay ensures legibility */
  color: var(--charcoal);
}

.portfolio-caption h4 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.portfolio-caption p {
  margin: 0;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* About */
.about {
  background: var(--warm-sand);
  padding: 4rem 0;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-highlights li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.about-highlights li i {
  margin-right: 0.5rem;
  color: var(--sage-green);
}

/* Portrait image in the about section */
.about-portrait {
  width: 150px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials {
  background: var(--warm-sand);
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

/* Star ratings within testimonials */
.testimonial .stars {
  margin-bottom: 0.5rem;
  color: var(--warm-terracotta);
  font-size: 0.9rem;
}

/* Client info with initials */
.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.client-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft-azure);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.client-name {
  font-weight: 600;
  color: var(--charcoal);
}

/* CTA under testimonials */
.testimonials-cta {
  text-align: center;
  margin-top: 1rem;
}

.testimonials-cta a {
  color: var(--warm-terracotta);
  font-weight: 600;
  text-decoration: none;
}

.testimonials-cta a:hover {
  text-decoration: underline;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--warm-terracotta);
}

.testimonial .client {
  font-weight: 600;
  color: var(--charcoal);
}

/* Blog */
.blog {
  background: var(--warm-sand);
  padding: 4rem 0;
}

.blog h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-family: 'Cormorant Garamond', serif;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--soft-azure);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.blog-card .read-more:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  background: var(--warm-sand);
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--charcoal);
}

.contact-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  margin-right: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.contact-info p {
  margin: 0.4rem 0;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 0.6rem;
  color: var(--soft-azure);
}

/* Multi-step form navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.btn-secondary {
  background: var(--warm-sand);
  color: var(--soft-azure);
  border: 1px solid var(--soft-azure);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--sage-green);
  color: var(--warm-sand);
}

/* Footer */
footer {
  background: var(--warm-sand);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}
footer a {
  color: var(--soft-azure);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Decorative moustache divider.  This element uses a subtle moustache illustration as a motif
   to hint at the craftsman persona. Place a <div class="moustache-divider"></div> between
   sections in your HTML to insert this graphic. */
.moustache-divider {
  width: 120px;
  height: 40px;
  margin: 2rem auto;
  background: url('moustache.png') no-repeat center/contain;
}