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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #f5f5f5;
  background-color: #0a192f;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

a {
  color: #e8c169;
  text-decoration: none;
}

ul {
  list-style: none;
  padding-left: 1rem;
}

li::before {
  content: '✔';
  color: #e8c169;
  margin-right: 0.5rem;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 25, 47, 0.9);
  padding: 0.5rem 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #e8c169;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #f5f5f5;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e8c169;
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  background-image: url('assets/soffit_lighting_outdoor.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.8));
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #d0d0d0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background-color: #e8c169;
  color: #0a192f;
}

.btn-primary:hover {
  background-color: #d9ab45;
  color: #0a192f;
}

/* Service Sections */
.service-section {
  padding: 4rem 0;
}

.service-section.alternate {
  background-color: #112240;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.content {
  flex: 1;
  min-width: 260px;
}

.content h2 {
  color: #e8c169;
  margin-bottom: 0.5rem;
}

.content p {
  margin-bottom: 1rem;
  color: #ccd6f6;
}

.content ul {
  margin-top: 0.5rem;
  color: #a8b2d1;
}

.image-wrapper {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.image-wrapper img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0;
  background-color: #0a192f;
}

.gallery-section h2 {
  text-align: center;
  color: #e8c169;
  margin-bottom: 1rem;
}

.gallery-section p {
  text-align: center;
  margin-bottom: 2rem;
  color: #a8b2d1;
}

.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #fff;
  font-size: 0.9rem;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: #112240;
}

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

.contact-section h2 {
  color: #e8c169;
  margin-bottom: 1rem;
}

.contact-section p {
  color: #a8b2d1;
  margin-bottom: 1rem;
}

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

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #0a192f;
  color: #fff;
  box-shadow: inset 0 0 0 1px #233554;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: center;
}

/* Footer */
.footer {
  background-color: #0a192f;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #a8b2d1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .split {
    flex-direction: column;
  }
  .prev, .next {
    top: auto;
    bottom: 5px;
    transform: translateY(0);
  }
}