/* style.css */

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0d0d0d;
  color: #fff;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem;
}

header h1 {
  font-size: 1.8rem;
}

.header-phone {
  font-size: 1rem;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-phone {
  font-size: 1rem;
}

.whatsapp-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.4rem;
}

/* Hero Slider */
.hero {
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Sections */
section {
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.contact li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact a {
  color: #333;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

footer {
  background-color: #0d0d0d;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    align-items: center;
  }
  .header-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}
