:root {
  --primary-color: #ff3b30;
  --secondary-color: #ffeded;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f5f5f5;
  --shadow: rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: var(--dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--light);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 52px;
  height: 17px;
  margin-right: 10px;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  overflow: hidden;
  height: 400px;
  margin-bottom: 2rem;
}

.slides {
  position: relative;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slides img.active {
  opacity: 1;
  z-index: 1;
}

.slideshow-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.slideshow-arrow {
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slideshow-arrow:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slideshow-arrow svg {
  width: 24px;
  height: 24px;
}

.slideshow-dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #3f3f3f, #2b2b2b);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero a {
  background: white;
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero a:hover {
  background: var(--primary-color);
  color: white;
}

/* Services */
.services {
  padding: 80px 20px;
  background-color: var(--gray);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card svg {
  fill: var(--primary-color);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* About */
.about {
  padding: 80px 20px;
}

.about .content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .about .content {
    flex-direction: row;
  }
}

.about img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 60px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-grid h3 {
  color: white;
  margin-bottom: 15px;
}

.social-icons a {
  margin-right: 10px;
  color: white;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}

.legal {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: background 0.3s ease;
}

.scroll-top:hover {
  background: #e5332a;
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .slideshow-dots {
    bottom: 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}