/* ========================
   HAKVERDI - MODERN PRO STIL
   Profesyonel Kurumsal Tasarım
   ======================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-yellow: #FFC107;
  --primary-red: #FF0000;
  --primary-blue: #1a3a52;
  --dark-gray: #2d3748;
  --light-gray: #f7fafc;
  --border-color: #e2e8f0;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

/* ========================
   HEADER ve NAVİGASYON
   ======================== */

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-red);
  text-decoration: none;
  letter-spacing: 0.5px;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-yellow);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-yellow), transparent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2.5px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ========================
   CTA BUTTONS
   ======================== */

.whatsapp-btn {
  position: fixed;
  bottom: 8rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  z-index: 99;
  border: none;
  cursor: pointer;
  gap: 0.7rem;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 30px -5px rgba(37, 211, 102, 0.4);
}

.call-btn {
  background: linear-gradient(135deg, var(--primary-red), #CC0000);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.call-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(255, 0, 0, 0.3);
}

.call-btn-mobile {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  z-index: 97;
  border-radius: 50px;
  box-shadow: var(--shadow-xl);
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2438 100%);
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.malatya-highlight {
  color: var(--primary-yellow);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, #CC0000 100%);
  color: white;
  padding: 1.1rem 2.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 1.1rem 2.8rem;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

/* ========================
   CONTAINER
   ======================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 800;
}

section .subtitle {
  font-size: 1.1rem;
  color: #5a5f6a;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* ========================
   SECTION STYLES
   ======================== */

.about-section {
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  color: var(--primary-yellow);
  font-size: 1.4rem;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 700;
}

.about-text p {
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.highlight-box {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.highlight-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ========================
   ÜRÜNLER SECTION
   ======================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-yellow);
}

.product-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-blue);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
}

.product-card h3 {
  color: var(--text-dark);
  padding: 1.8rem 1.8rem 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.product-card p {
  padding: 0 1.8rem;
  color: #5a5f6a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-specs {
  padding: 1.5rem 1.8rem;
  background-color: #fafbfc;
  font-size: 0.9rem;
  color: var(--text-dark);
  flex-grow: 1;
}

.product-specs ul {
  list-style: none;
  padding-left: 0;
}

.product-specs li {
  margin: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-yellow);
  font-weight: bold;
  font-size: 1.1rem;
}

.product-footer {
  padding: 1.5rem 1.8rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  background-color: white;
}

.price {
  font-weight: 700;
  color: var(--primary-yellow);
  font-size: 1.3rem;
}

/* ========================
   TEKNIK SERVİS SECTION
   ======================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  border-top: 4px solid var(--primary-yellow);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-yellow);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
  border-radius: 12px;
  margin-left: auto;
  margin-right: auto;
  width: 80px;
}

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.service-card p {
  color: #4a525a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ========================
   İLETİŞİM SECTION
   ======================== */

.contact-section {
  background-color: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-yellow);
  min-width: 50px;
  display: flex;
  align-items: flex-start;
}

.contact-item h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-item p {
  color: #4a525a;
  line-height: 1.6;
}

.contact-link {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  transform: translateX(4px);
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  background: linear-gradient(135deg, var(--primary-yellow), #FF9800);
  color: white;
  padding: 1.1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(255, 193, 7, 0.3);
}

/* GOOGLE MAP */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* ========================
   FOOTER
   ======================== */

footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2438 100%);
  color: white;
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-yellow);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-yellow);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-links a:hover {
  background-color: var(--primary-yellow);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    z-index: 200;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 300px;
  }

  .whatsapp-btn {
    bottom: 7rem;
    right: 1.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-menu {
    gap: 0;
  }

  .nav-menu a {
    padding: 1rem 1.5rem;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .product-image {
    height: 200px;
    font-size: 2.5rem;
  }

  .service-icon {
    font-size: 2.3rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section .subtitle {
    font-size: 1rem;
  }

  .about-content {
    gap: 2rem;
  }

  .contact-content {
    gap: 2rem;
  }
}

/* ========================
   UTILITY CLASSES
   ======================== */

.text-center {
  text-align: center;
}

.text-yellow {
  color: var(--primary-yellow);
}

.text-dark {
  color: var(--text-dark);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-yellow), #FF9800);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================
   IMAGE PLACEHOLDERS
   ======================== */

.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

/* ========================
   MOBİLE ONLY CLASS
   ======================== */

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }
}
