/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.logo {
  height: 85px;
  max-height: 85px;
  width: auto;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #007BFF;
}

/* Hero */
.hero {
  background: url('https://via.placeholder.com/1600x600') center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 50px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  color: #000;
}

.hero p {
  font-size: 1.2rem;
  color: #333;
}

/* Sections */
section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  text-align: center;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Pricing */
.pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.price-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  width: 300px;
  text-align: center;
}

.price-card h3 {
  margin-bottom: 15px;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  padding: 12px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 10px;
  margin-top: 100px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }

  .logo {
    height: 60px;
    max-height: 60px;
    margin-bottom: 10px;
  }

  header {
    flex-direction: column;
    align-items: center;
  }

  .price-card {
    width: 100%;
  }
}

/* Page transition animation */
body.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

body.fade-in {
  opacity: 0;
  animation: fadeIn 0.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.examples {
  padding: 80px 5%;
  background: #f9f9f9;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.example-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.15);
}

.example-card h3 {
  margin-bottom: 20px;
}

.example-card .images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.example-card .images img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.example-card .images img:hover {
  transform: scale(1.05);
}

.example-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #555;
}

.example-card a {
  font-weight: 600;
  color: #007BFF;
  text-decoration: none;
}

.example-card a:hover {
  text-decoration: underline;
}
