html {
  scroll-behavior: smooth;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 80px;
  width: auto;
}

header {
  background-color: #c62828;
  color: white;
  padding: 20px 0;
}

header h1 {
  font-size: 24px;
  color: white;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffeb3b;
}

.hero {
  background-color: #fce8e6;
  padding: 60px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #c03939;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffeb3b;
  color: #1c1c1c;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.services {
  background-color: #fff;
  padding: 40px 20px;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #c62828;
}

.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
  gap: 30px;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-block img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-text {
  flex: 1;
  min-width: 280px;
}

.service-text h3 {
  margin-bottom: 10px;
  color: #c62828;
}

.service-text p {
  color: #444;
}

footer {
  background-color: #1c1c1c;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

footer a {
  color: #ffeb3b;
  text-decoration: underline;
}

footer a:hover {
  color: #c62828;
}

.sticky-nav {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background-color: #c62828;
  color: white;
  transition: top 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.sticky-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-mini {
  font-weight: bold;
  font-size: 18px;
}

.sticky-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.sticky-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 14px;
}

.sticky-nav a:hover {
  color: #ffeb3b;
}

.logo-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
}

.mini-logo {
  height: 32px;
  width: auto;
}

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

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.contact button {
  padding: 10px 20px;
  background-color: #c62828;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #a61e1e;
}

html, body {
  margin: 0;
  padding: 0;
}

footer {
  background-color: #1c1c1c;
  color: white;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  margin: 0;
  border: none;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 18px;
  color: #333;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #c62828;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 5s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
