/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

:root {
  --primary-blue: #007bff;
  --dark-gray: #343a40;
  --accent-orange: #fd7e14;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --text-dark: #2c3e50;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Sticky */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo (CSS ile çizilmiş) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 24px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: "";
  width: 25px;
  height: 25px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
}

.logo-icon::after {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--accent-orange);
  border-radius: 50%;
  position: absolute;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand {
  font-size: 22px;
  line-height: 1;
}

.logo-text .tagline {
  font-size: 11px;
  color: var(--dark-gray);
  font-weight: 400;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--primary-blue);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.cta-button {
  background: var(--accent-orange);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background: #e66d0a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(52, 58, 64, 0.9)),
    url("https://placehold.co/1920x800?text=Klima+Servisi") center / cover;
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero .btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #e66d0a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

/* Quick Access Cards */
.quick-access {
  padding: 80px 20px;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--dark-gray);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-orange);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--white);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.card p {
  color: #6c757d;
  line-height: 1.8;
}

/* Services Section */
.services {
  padding: 80px 20px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-card p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.8;
  flex: 1;
}

.price-tag {
  background: var(--light-gray);
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary-blue);
}

.service-card .btn {
  width: 100%;
  text-align: center;
}

/* Blog Section */
.blog {
  padding: 80px 20px;
  background: var(--light-gray);
}

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

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-gray);
  line-height: 1.4;
}

.blog-card p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.8;
  flex: 1;
}

.blog-card .btn {
  align-self: flex-start;
  padding: 10px 25px;
  font-size: 14px;
}

/* Blog Detail Page */
.blog-detail {
  padding: 80px 20px;
}

.blog-detail-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-content {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.blog-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.blog-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
  color: #6c757d;
  font-size: 14px;
}

.blog-content h2 {
  font-size: 28px;
  margin: 30px 0 15px;
  color: var(--dark-gray);
}

.blog-content h3 {
  font-size: 22px;
  margin: 25px 0 12px;
  color: var(--dark-gray);
}

.blog-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: #495057;
}

.blog-content ul,
.blog-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--dark-gray);
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 10px;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.3s ease;
  display: block;
}

.sidebar-widget a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
}

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

.contact-info {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--dark-gray);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
}

.contact-item:hover .contact-icon {
  background: var(--white);
  color: var(--primary-blue);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--dark-gray);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.map-container {
  grid-column: 1 / -1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* About Page */
.about-section {
  padding: 80px 20px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.about-text p {
  line-height: 1.9;
  color: #495057;
  margin-bottom: 15px;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.feature-box {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 20px 20px;
}

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

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-orange);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: var(--white);
    width: 100%;
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: left 0.3s ease;
    gap: 0;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin-bottom: 20px;
  }

  .cta-button {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .blog-detail-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
