/* Google Font kullanımı */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  color: #333;
  overflow-x: hidden;
}

/* Header */
header {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  padding: 30px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header p {
  margin-top: 5px;
  font-size: 1.1em;
  font-weight: 400;
}

nav {
  margin-top: 15px;
  position: relative;
}

nav .menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  text-decoration: underline;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #4f46e5, #8b5cf6);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: rgba(255,255,255,0.05);
  transform: rotate(25deg);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

a.button {
  display: inline-block;
  padding: 15px 25px;
  background: #fff;
  color: #4f46e5;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

a.button:hover {
  background: #3730a3;
  color: white;
  transform: scale(1.05);
}

/* Sections */
section {
  max-width: 1100px;
  margin: 60px auto;
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  color: #4f46e5;
  margin-bottom: 25px;
  text-align: center;
}

/* Grid Layouts */
.services, .blog, .testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  padding: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin: 0 auto;
}

form label {
  margin: 10px 0 5px;
}

form input, form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  margin-top: 3px;
  transition: border 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #4f46e5;
  outline: none;
}

form button {
  padding: 15px;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 50px;
  margin-top: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background: #3730a3;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #e0e7ff;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #ccc;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0 0 0;
  margin: 0;
}

footer ul li a {
  text-decoration: none;
  color: #4f46e5;
  transition: all 0.3s ease;
}

footer ul li a:hover {
  color: #3730a3;
}

/* Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #4f46e5;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
  }
  nav ul.active {
    display: flex;
  }
  nav .menu-toggle {
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 20px;
  }
}
