/* ============================================ */
/*              Global Design & Theme           */
/* ============================================ */

/* CSS Variables for easy theme management */
:root {
  --primary-action: #ff5316; /* Icon Orange */
  --primary-text: #241f21; /* Deep Charcoal */
  --background-white: #ffffff;
  --light-gray-bg: #f8f9fa;
  --font-family: "Red Hat Display", sans-serif;
  --header-height: 80px;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 400; /* Regular */
  line-height: 1.6;
  color: var(--primary-text);
  background-color: var(--background-white);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700; /* Bold */
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  max-width: 65ch; /* Improves readability */
}

a {
  color: var(--primary-action);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-text);
}

ul {
  list-style: none;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--primary-action);
  color: var(--background-white);
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #e0440d;
  color: var(--background-white);
  transform: translateY(-2px);
}

.cta-button-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--background-white);
  padding: 12px 24px;
  border: 2px solid var(--background-white);
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-outline:hover {
  background-color: var(--background-white);
  color: var(--primary-action);
}

/* Placeholder Styles */
[class*="-placeholder"] {
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #6c757d;
  min-height: 150px;
  width: 100%;
}

/* ============================================ */
/*                  HEADER                      */
/* ============================================ */
.main-header {
  background-color: var(--background-white);
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-text);
}
/* ============================================ */
/*                  LOGO STYLES                 */
/* ============================================ */
.logo img {
    /* This sets the height of the logo in the header */
    max-height: 45px; 
    width: auto; /* Maintains aspect ratio */
    display: block; /* Removes any extra space below the image */
}

.footer-logo img {
    /* This sets the height of the logo in the footer */
    max-height: 55px;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--primary-text);
  font-weight: 400;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-action);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-number {
  font-weight: 700;
  color: var(--primary-text);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-text);
  cursor: pointer;
}

/* ============================================ */
/*              HOMEPAGE SECTIONS               */
/* ============================================ */

/* General Section Styling */
section {
  padding: 80px 0;
}

/* Section 1: Hero */
.hero-section {
  background-image: linear-gradient(
      rgba(36, 31, 33, 0.7),
      rgba(36, 31, 33, 0.7)
    ),
    url("https://images.unsplash.com/photo-1565623833408-d77e39b88af6?q=80&w=1032&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  color: var(--background-white);
  padding: 160px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  margin-top: var(--header-height);
}

.hero-section .sub-headline {
  font-size: 1.25rem;
  margin: 1.5rem auto;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 25px;
  border-radius: 5px;
  font-weight: 700;
}

.badge i {
  margin-right: 10px;
  color: var(--primary-action);
}

/* Section 2: Social Proof */
.social-proof-section {
  background-color: var(--background-white);
}

.social-proof-section h2,
.social-proof-section > .container > p {
  text-align: center;
}

.testimonial-area {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
  background-color: var(--light-gray-bg);
  padding: 2rem;
  border-radius: 5px;
}

.testimonial-image-placeholder {
  flex-basis: 200px;
  flex-shrink: 0;
  height: 200px;
  border-radius: 50%;
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  border-left: 4px solid var(--primary-action);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

cite {
  font-weight: 700;
  font-style: normal;
}

/* Section 3: Parallax */
.parallax-section {
  background-image: linear-gradient(
      rgba(36, 31, 33, 0.6),
      rgba(36, 31, 33, 0.6)
    ),
    url("https://via.placeholder.com/1920x1080/cccccc/241f21?text=Breathtaking+Luxury+Kitchen");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--background-white);
  padding: 120px 0;
}

.parallax-content p {
  margin: 1.5rem auto;
}

.brand-logos-placeholder {
  margin: 2rem auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #eee;
  max-width: 600px;
  min-height: 80px;
}

/* Section 4: Autonomy */
.autonomy-section {
  background-color: var(--light-gray-bg);
}

.two-column-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.column-text {
  flex: 1;
}
.column-graphic {
  flex: 1;
}

.checklist {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.checklist li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.checklist i {
  color: var(--primary-action);
  margin-right: 10px;
}

.process-graphic-placeholder {
  min-height: 300px;
}

/* Section 5: Meaning */
.meaning-section {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.85)
    ),
    url("https://via.placeholder.com/1920x1080/f0f0f0/241f21?text=Family+Enjoying+New+Kitchen");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.meaning-section h2,
.meaning-section p {
  color: var(--primary-text);
}

/* Section 6: Authority */
.authority-section {
  background-color: var(--background-white);
}

.resource-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 3rem auto 0;
  background-color: var(--light-gray-bg);
  padding: 2rem;
  border-radius: 5px;
}

.resource-image-placeholder {
  flex-basis: 250px;
  flex-shrink: 0;
  height: 250px;
}

.resource-content p {
  margin-bottom: 1.5rem;
}

.resource-content .cta-button-outline {
  color: var(--primary-action);
  border-color: var(--primary-action);
}
.resource-content .cta-button-outline:hover {
  background-color: var(--primary-action);
  color: var(--background-white);
}

/* ============================================ */
/*                    FOOTER                    */
/* ============================================ */
.main-footer {
  background-color: var(--primary-text);
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--background-white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary-action);
}

.footer-col .logo {
  color: var(--background-white);
  margin-bottom: 1rem;
  display: block;
}

.footer-col .mission-statement {
  margin-bottom: 1.5rem;
}

.footer-col p i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.trust-logos-placeholder {
  background-color: #333;
  border-color: #555;
  color: #999;
  min-height: 60px;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
}

.footer-bottom-bar {
  border-top: 1px solid #444;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ============================================ */
/*              RESPONSIVE DESIGN               */
/* ============================================ */
@media (max-width: 992px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--background-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    text-align: center;
  }
  .main-nav a:hover::after {
    width: 0; /* Disable underline on mobile nav */
  }

  .header-contact .phone-number {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .two-column-layout,
  .testimonial-area,
  .resource-card {
    flex-direction: column;
  }

  .testimonial-image-placeholder {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 120px 0;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .badge {
    width: 100%;
    max-width: 350px;
  }
}
