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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

/* Header */
.header {
  background-color: #fff;
  border-bottom: 10px solid #c2d7e1;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

/* Navigation groups */
.nav-left,
.nav-right {
  display: flex;
  gap: 30px;
}

.nav-center .logo img {
  height: 50px;
}

/* Links */
a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s;
}

a:hover {
  color: #0077b6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-center {
    margin: 0 auto;
  }
}

.video-section {
  background-color: #c2d7e1; /* light blue */
  padding: 60px 20px;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.video-text {
  flex: 1 1 500px;
  color: #333;
}

.video-text h2 {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 15px;
}

.video-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.video-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.video-media {
  flex: 1 1 500px;
  max-width: 100%;
}

.video-media iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .video-container {
    flex-direction: column;
  }

  .video-text h2,
  .video-text h3,
  .video-text p {
    text-align: center;
  }

  .video-media iframe {
    height: 250px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c'); /* Replace with your own */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.hero-button {
  display: inline-block;
  background-color: white;
  color: #000;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.hero-button:hover {
  background-color: #f2f2f2;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero {
    padding: 0 20px;
    text-align: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }
}

/* Sub-navigation */
.subnav {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.subnav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 20px 10px;
  gap: 30px;
}

.subnav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  padding-bottom: 5px;
}

.subnav a:hover,
.subnav a:focus {
  color: #0077b6;
}

.subnav a:focus::after,
.subnav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #a4c2d4;
}

/* Split Section Layout */
.split-section {
  background-color: #f1f1f1;
  padding: 60px 20px;
}

.split-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.split-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 4px;
}

.split-text {
  flex: 1 1 400px;
}

.split-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.split-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.split-button {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.split-button:hover {
  background: #111;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .split-container {
    flex-direction: column;
    text-align: center;
  }

  .split-text {
    padding: 20px 0;
  }
}

/* Section 1: White Video Section */
.video-intro {
  background: #fff;
  padding: 60px 20px 0;
  position: relative;
  z-index: 2;
}

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

.video-container h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0077b6;
  margin-bottom: 20px;
}

.video-embed {
  width: 100%;
  max-width: 640px;
  margin-left: auto; /* Aligns video to the right */
  margin-bottom: -100px; /* Creates overlap into next section */
  z-index: 3;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive: stack video center on small screens */
@media screen and (max-width: 768px) {
  .video-embed {
    margin: 0 auto -60px auto;
  }

  .video-container h4 {
    text-align: center;
  }
}

/* Section 2: Blue Text/Image Block */
.company-overview {
  background-color: #c2d7e1;
  padding: 160px 20px 60px; /* extra top padding to make space for overlap */
  position: relative;
  z-index: 1;
}

.overview-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.text-block {
  flex: 1 1 600px;
}

.text-block h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 10px;
}

.text-block h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.text-block p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.6;
}

.info-button {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 2px;
}

.info-button:hover {
  background: #111;
}

.sketch-block {
  flex: 1 1 250px;
}

.sketch-block img {
  width: 100%;
  max-width: 250px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .overview-content {
    flex-direction: column;
    text-align: center;
  }

  .video-frame {
    margin-bottom: -60px;
  }

  .sketch-block {
    margin-top: 30px;
  }
}

.contact-section {
  background: url('https://via.placeholder.com/1600x800?text=Sketch+Background') no-repeat center center;
  background-size: cover;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

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

.contact-form button {
  background-color: #7fa6b3;
  color: #fff;
  border: none;
  padding: 14px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #5d8a99;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-form-container {
    padding: 30px 20px;
  }
}

.site-footer {
  background-color: #e9e3d0;
  color: #333;
  font-family: sans-serif;
  font-size: 14px;
}

.footer-background {
  background-image: url('https://via.placeholder.com/1600x400?text=Roof+Panel');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  padding: 60px 20px;
}

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

/* Top section: flex layout */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo h2 {
  font-size: 32px;
  margin: 0;
  letter-spacing: 2px;
}

.footer-logo p {
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 5px;
  color: #666;
}

/* Right-aligned columns */
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-column h4 {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* Social + newsletter */
.footer-extras {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-social p,
.footer-newsletter p {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-social .icons a img {
  width: 20px;
  margin-right: 15px;
  filter: invert(20%);
}

.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-newsletter input[type="email"] {
  padding: 10px;
  flex: 1 1 250px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.footer-newsletter button {
  padding: 10px 20px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.footer-newsletter button:hover {
  background-color: #bbb;
}

/* Bottom Bar */
.footer-bottom {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  border-top: 1px solid #eee;
}

.footer-bottom a {
  color: #0077b6;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-top,
  .footer-extras {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-newsletter form {
    flex-direction: column;
  }
}
