/* Genel Stiller */
:root {
  --primary-color: #0066cc;
  --hover-color: #9e211e;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

main {
  flex: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Stili */
.header {
  background-color: var(--light-bg);
  padding: 2rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.header h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.header-description {
  color: var(--dark-text);
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Logo */
.logo img {
  width: 50px;
  height: 50px;
}

/* Card Stili */
.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1800px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 1rem;
}

.card-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.card-text {
  color: var(--dark-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Footer Stili */
footer {
  background-color: #0164AB;
  color: var(--light-text);
  padding: 3rem 0 1rem;
  width: 100%;
  position: relative;
  bottom: 0;
  min-height: 200px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3,
.footer-quick-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.footer-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.footer-quick-contact {
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--light-text);
}

.info-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--light-text);
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--hover-color);
}

.info-item a p {
  margin: 0;
  font-size: 1rem;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  width: 100px;
  height: 100px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    }
  }

  .card {
    margin: 0;
  }

  .card-img {
    height: 150px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .row {
    grid-template-columns: 1fr;
  }

  .card-img {
    height: 140px;
  }
}
