/* Custom styles for Rogue River Pool Covers */
/* Brand Colors:
   Primary: #0E4F4F (Deep Blue-Green)
   Secondary: #2FA8CC (Clear River Blue)
   Accent: #F2C75B (Riverbank Sun Gold)
*/

:root {
  --primary-color: #0E4F4F;
  --secondary-color: #2FA8CC;
  --accent-color: #F2C75B;
  --text-color: #333;
  --bg-color: #fff;
}

/* Header and Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

header .logo:hover {
  color: var(--accent-color);
}

header ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

header ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

header ul li a:hover,
header ul li a.active {
  background-color: rgba(255,255,255,0.2);
  color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-minimal {
  position: relative;
  padding: 6rem 1rem;
  text-align: center;
  background-image: url('images/ace8616071d602afc67bc28eb91e51d0.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 79, 79, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-minimal {
    padding: 4rem 1rem;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-text {
    font-size: 1.125rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: #E0B04A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

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

/* Sections */
section {
  padding: 3rem 1rem;
}

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

/* Value Propositions */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.value-prop {
  text-align: center;
  padding: 0;
}

.value-prop h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  padding: 0;
}

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

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.contact-info:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Ensure all footer text has high contrast */
footer p,
footer div,
footer span {
  color: #ffffff;
}

footer h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Footer links (phone, email, etc.) */
footer a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

footer a:hover {
  color: var(--accent-color);
  text-decoration-color: var(--accent-color);
}

footer .copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
}

footer .copyright p {
  color: #ffffff;
  margin: 0;
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Page Typography Hierarchy */
.contact-page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
  color: var(--text-color);
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
}

.contact-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.3;
  color: var(--text-color);
}

/* Page Typography Hierarchy */
.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
  color: var(--text-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.3;
  color: var(--text-color);
}

.section-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #666;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Content Lists - Universal 1rem Indentation */
.content-wrapper ul,
.content-wrapper ol,
.service-card ul,
.service-card ol,
.contact-info ul,
.contact-info ol,
section ul:not(header ul):not(footer ul),
section ol:not(header ol):not(footer ol) {
  margin-top: 1rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.content-wrapper ul li,
.content-wrapper ol li,
.service-card ul li,
.service-card ol li,
.contact-info ul li,
.contact-info ol li,
section ul:not(header ul):not(footer ul) li,
section ol:not(header ol):not(footer ol) li {
  margin-bottom: 0.5rem;
}

.content-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-color);
}

.content-section-title:first-of-type {
  margin-top: 0;
}

/* Section Dividers */
.section-divider {
  padding: 4rem 1rem;
  border-top: 1px solid #e5e5e5;
  margin-top: 4rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  margin-top: 4rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-color);
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .contact-page-title,
  .page-title,
  .page-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-section-title,
  .section-title {
    font-size: 2rem;
  }
  
  .content-section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .contact-intro,
  .page-intro {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  header nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }

  header nav ul.active {
    display: flex;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .value-props,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-image {
  margin-top: 2rem;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Page Hero Image Overlay */
.page-hero {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-bottom: 3rem;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 79, 79, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.page-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 90%;
  max-width: 800px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .page-hero {
    max-height: 350px;
  }
  
  .page-hero-title {
    font-size: 2.5rem;
  }
}

