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

:root {
  --bg-dark: #1a1a1a;
  --bg-light: #2a2a2a;
  --text-light: #f0f0f0;
  --accent: #d4af37;
  --font-main: 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-main);
  background: url('images/bg-texture.jpeg') no-repeat center center fixed;
  background-size: cover;
  background-color: #1a1a1a;
  background-blend-mode: multiply;
  color: var(--text-light);
  line-height: 1.6;
}

/* Typography */
h1, h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
}

p, .section-subtitle, li {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ccc;
}

/* Buttons */
.btn {
  background-color: var(--accent);
  color: #000;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f5d76e;
}

/* Header and logo */
.header-bg {
  width: 100vw;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.header-logo {
  width: 100vw;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.shimmer-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--bg-light);
  padding: 10px 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
}

.main-nav a.active,
.main-nav a:hover {
  background-color: var(--accent);
  color: #000;
}

/* Hero */
.hero {
  position: relative;
  background: url('images/hero-concrete-smoothing.jpg') no-repeat center center;
  background-size: cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5vw;
}

.hero-text {
  max-width: 600px;
  color: #fff;
  text-align: left;
}

/* About Section */
.about {
  display: flex;
  background-color: var(--bg-light);
  min-height: 100vh;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-highlights {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

/* Services */
.services {
  padding: 40px 20px;
  background-color: var(--bg-dark);
  text-align: center;
}

.services h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
}

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

.service-card {
  position: relative;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-light);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-front,
.service-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
  backface-visibility: hidden;
}

.service-front {
  z-index: 2;
  background-color: var(--bg-light);
  color: #fff;
  text-align: center;
  opacity: 1;
}

.service-back {
  z-index: 1;
  opacity: 0;
  background-color: #000;
}

.service-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-card:hover .service-front {
  opacity: 0;
  z-index: 1;
}

.service-card:hover .service-back {
  opacity: 1;
  z-index: 2;
}

/* Gallery */
.work {
  padding: 40px 20px;
  background-color: #1e1e1e;
  text-align: center;
}

.work-filters {
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--accent);
  color: #000;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.work-item img:hover {
  transform: scale(1.03);
}

/* Contact */
.contact {
  padding: 40px 20px;
  background-color: var(--bg-light);
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: var(--accent);
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.2rem;
}

.form-response {
  margin-top: 20px;
  text-align: center;
}

.form-success {
  color: var(--accent);
  font-weight: bold;
}

.form-error {
  color: #ff6b6b;
  font-weight: bold;
}

/* Footer */
.site-footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

