/*
 * Cindy's Painting – Luxury Landing Page Styles
 *
 * Colour palette: warm gold, graphite grey, and soft neutrals. Typography blends
 * classic Playfair Display headlines with clean Montserrat body text for a premium feel.
 */

:root {
  --primary-color: #c5a05f; /* warm gold */
  --secondary-color: #333333; /* graphite grey */
  --light-bg: #f7f4ef; /* soft neutral background */
  --accent-color: #fff7e5; /* soft light gold for highlights */
}

/* Global reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: #ffffff;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.primary-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}
.primary-nav a:hover {
  color: var(--primary-color);
}
.primary-nav .phone {
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

/* Hero section */
.hero {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  margin: 0 0 0.5rem;
}
.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 1rem;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #f0e6d2;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
}
.btn-secondary {
  background: #ffffff;
  color: var(--secondary-color);
}
.btn:hover {
  transform: translateY(-2px);
}

/* Services */
.services-section {
  background: var(--light-bg);
  padding: 4rem 0;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #ffffff;
  padding: 2rem;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--primary-color);
}
.service-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* About */
.about-section {
  background: #ffffff;
  padding: 4rem 0;
}
.about-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}
.about-section li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.about-section li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials-section {
  background: var(--light-bg);
  padding: 4rem 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
blockquote {
  background: #ffffff;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
blockquote cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 4rem 0;
  color: #ffffff;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.cta-content p {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--secondary-color);
  color: #e0e0e0;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-inner h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.footer-inner a {
  color: var(--primary-color);
  text-decoration: none;
}
.footer-inner a:hover {
  text-decoration: underline;
}
.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #b3b3b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .primary-nav {
    display: none; /* hide nav on small screens; can be extended to mobile menu if needed */
  }
  .hero {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero h2 {
    font-size: 1.25rem;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* -----------------------------------------------------------------
   Additional styles for enhanced layout and CRO improvements
   These rules override and extend the base styles defined above.
------------------------------------------------------------------- */

/* Sticky bar for quick actions */
.sticky-bar {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 0.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  font-size: 0.875rem;
}
.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-bar a {
  color: #ffffff;
  text-decoration: none;
}
.sticky-cta {
  background: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}
.sticky-cta:hover {
  background: #b58e4f;
}
@media (max-width: 576px) {
  .sticky-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

/* Offset site header below sticky bar */
.site-header {
  top: 2.5rem;
}

/* Updated hero layout */
.hero {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 8rem 0 6rem;
  position: relative;
  text-align: left;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-flex {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 50%;
  min-width: 280px;
  color: var(--accent-color);
}
.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  margin: 0 0 1rem;
}
.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.badge {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.875rem;
  display: inline-block;
}
.quote-form-container {
  flex: 1 1 45%;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.96);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 0.9rem;
}
.quote-form textarea {
  resize: vertical;
}
.quote-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}
.form-disclaimer {
  font-size: 0.75rem;
  color: #666666;
  margin-top: 0.5rem;
}

/* Buttons override */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
}
.btn-primary:hover {
  background: #b58e4f;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #ffffff;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}
.btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Service icons */
.service-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Value propositions */
.value-props {
  background: var(--light-bg);
  padding: 4rem 0;
}
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.prop-item {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.prop-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.prop-item h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
  font-size: 1.25rem;
}
.prop-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* Process section */
.process-section {
  background: #ffffff;
  padding: 4rem 0;
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.step {
  flex: 1 1 250px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--light-bg);
}
.step-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: bold;
  margin: 0 auto 0.5rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
}
.step p {
  margin: 0;
  font-size: 0.9rem;
}

/* Gallery section */
.gallery-section {
  background: var(--light-bg);
  padding: 4rem 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.gallery-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* CTA banner */
.cta-banner {
  background: var(--primary-color);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.cta-banner a {
  margin-top: 1rem;
  display: inline-block;
}

/* Testimonials updated */
.testimonials-section {
  background: #ffffff;
  padding: 4rem 0;
}
.testimonials-grid blockquote {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  font-style: italic;
  box-shadow: none;
}
.testimonials-grid cite {
  display: block;
  margin-top: 0.75rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Responsive adjustments for new layout */
@media (max-width: 992px) {
  .hero-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .quote-form-container {
    margin-top: 2rem;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
}