* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================
   HEADER + NAV
=================== */
header {
  background: rgba(255, 255, 255, 0.082);
  text-align: center;
  padding: 0.rem 0;
}

.logo-container img {
  width: 100px;
  display: block;
  margin: 2px auto;
}

/* Nav base */
nav {
  background: rgba(255, 255, 255, 0.781);
  position: sticky;
  top: 0;
  margin: 0 0;
  z-index: 1000;
  padding-bottom: 0.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  transition: max-height 0.3s ease;
}

nav a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

nav a:hover {
  color: #cbbf9d;
}

/* ===================
   NAV FIX FOR MOBILE
=================== */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  nav {
    padding: 0.1rem;
  }
}

/* ===================
   HOME SECTION
=================== */
#home {
  position: relative;
  height: 80vh;
  overflow: hidden;
  color: #fff;
}

/* Overlay */
#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.home-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 600px;
}

.home-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  flex: 1 1 auto;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(1px) saturate(100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.35s ease;
}

/* Hover */
.btn:hover {
  border-color: #b9b9b9;
  box-shadow: 0 0 15px rgba(133, 138, 139, 0.6),
              0 0 25px rgba(141, 168, 173, 0.4) inset;
  transform: translateY(-2px) scale(1.03);
}

/* Background Rows */
.bg-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 0;
  overflow: hidden;
  gap: 10px;
}

.bg-row {
  display: flex;
  width: 200%;
  height: 50%; 
  gap: 10px;
}

.bg-row img {
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

/* Animations */
.row1 { animation: scroll-left 100s linear infinite; }
.row2 { animation: scroll-right 100s linear infinite; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ===================
   RESPONSIVE TWEAKS
=================== */
@media (max-width: 768px) {
  #home {
    height: 60vh;
  }

  .bg-row {
    flex: 1;
    height: auto;
  }

  .home-overlay {
    top: 25%;       
    left: 5%;
    transform: translateY(-25%);
    max-width: 90%; 
  }

  .home-content h2 {
    font-size: 2rem;  
    margin-bottom: 20px;
  }

  .home-buttons {
    flex-direction: column; 
    gap: 10px;
  }

  .btn {
    width: 60%;         
  }
}

@media (max-width: 480px) {
  #home {
    height: 50vh;    
  }

  .bg-row {
    flex: 1;     
    height: auto;  
  }

  .home-content h2 {
    font-size: 1.6rem;   
  }

  .home-overlay {
    top: 20%;
    left: 5%;
    transform: translateY(-20%);
  }
}

/* ===================
   SECTIONS
=================== */
#services {
  background: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.service-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  justify-content: center;
}

/* Service Cards with Images */
.service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.service-card p {
  padding: 15px;
  font-weight: 500;
  color: #333;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* More Services Label */
.more-services {
  font-size: 1.6rem;
  margin: 20px 0 25px 0;
  color: #444;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

/* More Services Plain List */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5px 50px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  text-align: left;
  justify-content: center;
}

.service-list li {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  padding: 0px 0;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

/* subtle accent bar for hover */
.service-list li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: #b9b9b9;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.service-list li:hover {
  color: #125488;
  transform: translateX(5px);
}

.service-list li:hover::before {
  height: 60%;
}

@media (max-width: 768px) {
  .service-list {
    grid-template-columns: 1fr;  
    text-align: center;       
    gap: 15px;               
  }

  .service-list li {
    text-align: center;        
    padding-left: 0;           
  }

  .service-list li::before {
    display: none;             
  }
}

#work {
  padding: 40px 20px;
  background: #f8f8f8;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #333;
  margin: 6px auto 0;
  border-radius: 2px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
  grid-auto-rows: 150px;   
  grid-auto-flow: dense;
  gap: 12px;
  justify-content: center;
}

.work-gallery > div {
  width: 100%;           
  height: 100%;        
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .work-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
  }

  .work-gallery > div:nth-child(3n) {
    grid-row: span 2;
  }
  .work-gallery > div:nth-child(4n) {
    grid-column: span 2;
  }
  .work-gallery > div:nth-child(7n) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* ===================
   ABOUT
=================== */
#about {
  position: relative;
  background: url("Resources/Images/image2.jpeg") center center/cover no-repeat fixed;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 37, 27, 0.75);
  z-index: 0;
}

.about-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-align: center;
  color: #ffffff;
  border-bottom: 3px solid #cbbf9d; 
  display: inline-block;
  padding-bottom: 5px;
}

.about-text .tagline {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 25px;
  color: #e0e0e0;
  display: block;
}

.about-text h3 {
  margin-top: 25px;
  font-size: 1.6rem;
  color: #cbbf9d;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 10px auto;
  color: #f5f5f5;
  max-width: 750px;
}

.about-highlights {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.highlight-box {
  flex: 1;
  min-width: 180px;
  max-width: 250px;
  padding: 20px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.highlight-box:hover {
  border: 1.5px solid rgba(255, 255, 255, 0.08); 
  border-color: #b9b9b9;
  box-shadow: 0 0 15px rgba(133, 138, 139, 0.6),
    0 0 25px rgba(141, 168, 173, 0.4) inset;
  transform: translateY(-2px) scale(1.03);
}

.highlight-box h4 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.highlight-box p {
  color: #dcdcdc;
}

/* Blockquote */
blockquote {
  margin: 20px auto;
  font-style: italic;
  padding: 10px 15px;
  border-left: none;
  border-top: 2px solid #cbbf9d;
  border-bottom: 2px solid #cbbf9d;
  display: inline-block;
  color: #f0f0f0;
}

/* Meet the Owner Section */
.owner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 700px;
  text-align: left;
}

.owner-photo {
  width: 120px;
  height: 120px;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #cbbf9d;
  flex-shrink: 0;
}

.owner-text {
  flex: 1;
}

.owner-text p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffffff;
}

.owner-text blockquote {
  margin: 0;
  font-style: italic;
  padding: 10px 15px;
  border-left: 3px solid #cbbf9d;
  border-top: none;
  border-bottom: none;
  color: #e0e0e0;
}

/* ===================
   CONTACT
=================== */
#contact {
  background: #fff;
  color: #333;
  padding-bottom: 1%;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin: 30px;
  color: #222;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.contact-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.contact-item span,
.contact-item a {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-item a:hover {
  color: #cbbf9d;
}

/* Footer */
footer {
  color: #333;
  text-align: center;
  padding: 10px 10px;
  font-size: 14px;
}

footer p {
  margin: 0 0;
}

/* ===================
   MOBILE FIX
=================== */
@media (max-width: 768px) {
  #contact h2 {
    font-size: 1.5rem;
    margin: 20px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-item {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: none;
    gap: 10px;
  }

  .contact-item img {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
  }

  .contact-item span,
  .contact-item a {
    font-size: 0.9rem;
  }

  footer {
    font-size: 12px;
  }
}