/* Genel Ayarlar ve Fontlar */
* { box-sizing: border-box; }
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #444;
  background-color: #f8f8f8;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: #2c3e50; margin-bottom: 20px; }
p { margin-bottom: 15px; font-size: 16px; }
a { text-decoration: none; color: inherit; }

/* Layout */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 20px 0; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: #f2f4f6; }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 600; text-align: center; transition: all 0.3s ease; }
.btn-primary { background-color: #e67e22; color: #fff; border: 2px solid #e67e22; }
.btn-primary:hover { background-color: #d35400; border-color: #d35400; }
.btn-secondary { background-color: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background-color: #fff; color: #2c3e50; }

/* Section titles */
.section-title { text-align: center; font-size: 38px; margin-bottom: 15px; position: relative; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background-color: #e67e22; border-radius: 2px; }
.section-description { text-align: center; font-size: 18px; color: #666; margin-bottom: 60px; }

/* Top Bar */
.top-bar { background-color: #34495e; color: #ecf0f1; padding: 18px 0; font-size: 17px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; flex-wrap: wrap; }
.top-bar .contact-info { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.top-bar .contact-info span { white-space: nowrap; }
.top-bar .contact-info i { color: #e67e22; margin-right: 10px; font-size: 20px; }
.top-bar .contact-info a { color: #ecf0f1; transition: color 0.3s ease; font-weight: 600; }
.top-bar .contact-info a:hover { color: #e67e22; }
.top-bar .social-links a { color: #ecf0f1; margin-left: 20px; font-size: 20px; transition: color 0.3s ease; }
.top-bar .social-links a:hover { color: #e67e22; }

/* Header & Nav */
header { background-color: #fff; padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo a { font-size: 32px; font-weight: 700; color: #2c3e50; text-transform: uppercase; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
nav ul li { margin-left: 35px; }
nav ul li a { color: #2c3e50; font-weight: 600; font-size: 17px; transition: color 0.3s ease, border-bottom 0.3s ease; padding-bottom: 5px; position: relative; }
nav ul li a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: #e67e22; transition: width 0.3s ease; }
nav ul li a:hover { color: #e67e22; }
nav ul li a:hover::after { width: 100%; }

/* Mobile menu button */
.nav-toggle { display: none; flex-direction: column; cursor: pointer; }
.nav-toggle span { height: 3px; width: 30px; background: #2c3e50; margin: 5px 0; border-radius: 2px; transition: all 0.3s ease-in-out; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero (düzeltilmiş göreceli yol) */
#hero {
  background: url("görseller/image-2.jpeg") no-repeat center center/cover;
  height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative; overflow: hidden;
  -webkit-filter: contrast(1.05); filter: contrast(1.05);
}
.hero-overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
#hero h1 { font-size: 56px; margin-bottom: 25px; color: #fff; text-shadow: 2px 2px 6px rgba(0,0,0,0.8); }
#hero p { font-size: 20px; margin-bottom: 40px; color: #f0f0f0; text-shadow: 1px 1px 4px rgba(0,0,0,0.6); }
.hero-buttons .btn { margin: 0 15px; font-size: 18px; padding: 14px 35px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.service-card { background-color: #fff; padding: 35px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 5px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-top-color: #e67e22; }
.service-card .service-icon { font-size: 60px; color: #e67e22; margin-bottom: 20px; }
.service-card h3 { font-size: 24px; margin-bottom: 10px; color: #2c3e50; }
.service-card p { font-size: 15px; color: #666; }

/* Machine gallery */
.machine-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.machine-item { background-color: #fff; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); overflow: hidden; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.machine-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.machine-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.machine-item h3 { font-size: 22px; margin: 20px 15px 10px; color: #e67e22; }
.machine-item p { font-size: 15px; color: #666; padding: 0 15px 20px; }

/* About */
.about-content { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-text p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: #555; }

/* FAQ */
.faq h3 { font-size: 20px; margin-top: 20px; }
.faq p { color: #555; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 50px; margin-top: 40px; }
.contact-form-area h3, .contact-info-area h3 { font-size: 28px; color: #2c3e50; margin-bottom: 25px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; padding: 14px 18px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; color: #333; background-color: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaa; }
.contact-form button.btn { width: auto; align-self: flex-start; font-size: 17px; padding: 12px 30px; }
.info-item { display: flex; align-items: center; margin-bottom: 20px; font-size: 17px; color: #555; }
.info-item i { font-size: 24px; color: #e67e22; margin-right: 15px; width: 30px; text-align: center; }
.info-item a { color: #555; transition: color 0.3s ease; }
.info-item a:hover { color: #e67e22; }
.google-map { margin-top: 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.google-map iframe { border: 0; }

/* Footer */
footer { background-color: #2c3e50; color: #ecf0f1; padding: 60px 0 20px; font-size: 15px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 20px; margin-bottom: 25px; border-bottom: 2px solid #e67e22; padding-bottom: 10px; display: inline-block; }
.footer-col p { color: #bbb; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #bbb; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #e67e22; }
.social-links-footer { margin-top: 20px; }
.social-links-footer a { color: #fff; font-size: 20px; margin-right: 15px; transition: color 0.3s ease; }
.social-links-footer a:hover { color: #e67e22; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; color: #bbb; }

/* Responsive */
@media (max-width: 992px) {
  #hero h1 { font-size: 44px; }
  .section-title { font-size: 32px; }
  .section-description { font-size: 16px; }
  nav ul { display: none; flex-direction: column; background-color: #fff; position: absolute; top: 100%; left: 0; width: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); padding: 20px 0; border-top: 1px solid #eee; }
  nav ul.active { display: flex; }
  nav ul li { margin: 10px 0; text-align: center; }
  nav ul li a { padding: 10px 0; display: block; color: #2c3e50; }
  nav ul li a::after { display: none; }
  .nav-toggle { display: flex; }
  .top-bar .container { flex-direction: column; gap: 10px; }
  .top-bar .contact-info { text-align: center; margin-bottom: 10px; }
}

@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
  #hero { height: 70vh; }
  #hero h1 { font-size: 34px; }
  .hero-buttons .btn { margin: 10px 0; display: inline-block; }
  .about-content { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-area, .contact-info-area { padding: 0 15px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-col h3 { width: 100%; text-align: center; }
  .footer-col ul { text-align: center; }
  .social-links-footer { justify-content: center; display: flex; }
}

@media (max-width: 480px) {
  .logo a { font-size: 28px; }
  #hero h1 { font-size: 28px; }
  .section-title { font-size: 28px; }
  .top-bar .contact-info span { font-size: 15px; display: block; margin: 5px 0; }
  .top-bar .contact-info i { font-size: 18px; }
}


/* ===== SEO yeniden yapılandırma eklemeleri ===== */
.skip-link { position: absolute; left: -9999px; top: 0; background: #e67e22; color: #fff; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #e67e22; outline-offset: 2px; }
.nav-toggle { background: none; border: 0; padding: 0; }
.btn-whatsapp { background-color: #2fcb5f; color: #fff; border: 2px solid #2fcb5f; }
.btn-whatsapp:hover { background-color: #25a84e; border-color: #25a84e; }
.hero-buttons .btn i, .cta-buttons .btn i { margin-right: 8px; }
.link-card { display: block; color: inherit; }
.link-card h3 { color: #2c3e50; }
a.machine-item { display: block; color: inherit; }

.breadcrumb { background: #f2f4f6; font-size: 14px; color: #666; }
.breadcrumb .container { padding: 12px 0; }
.breadcrumb a { color: #e67e22; font-weight: 600; }

.page-hero { background: #2c3e50; color: #fff; text-align: center; padding: 60px 0 50px; }
.page-hero h1 { color: #fff; font-size: 42px; margin-bottom: 15px; }
.page-hero p { font-size: 19px; color: #ecf0f1; max-width: 760px; margin: 0 auto 30px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.prose { max-width: 860px; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose h3 { font-size: 22px; margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; color: #555; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 20px; }
.prose a { color: #d35400; font-weight: 600; text-decoration: underline; }
.prose .services-grid { margin: 30px 0 10px; }
.page-img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 10px; margin-bottom: 30px; }

.cta-band { background: #e67e22; color: #fff; text-align: center; padding: 50px 0; }
.cta-band .container { padding: 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #fff; }
.cta-band .btn-primary { background: #2c3e50; border-color: #2c3e50; }
.cta-band .btn-primary:hover { background: #1f2d3a; border-color: #1f2d3a; }

.mobile-cta { display: none; }
@media (max-width: 768px) {
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 17px; }
  body { padding-bottom: 60px; }
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
  .mobile-cta a { flex: 1; text-align: center; padding: 16px 8px; font-weight: 700; color: #fff; font-size: 17px; }
  .mobile-cta .mc-call { background: #e67e22; }
  .mobile-cta .mc-wa { background: #2fcb5f; }
  .mobile-cta i { margin-right: 8px; }
}
@media (min-width: 993px) {
  header .container { flex-wrap: nowrap; gap: 16px; }
  header .logo a { white-space: nowrap; font-size: clamp(15px, 1.6vw, 22px); line-height: 1.2; }
  header #main-nav ul { flex-wrap: nowrap; align-items: center; gap: clamp(8px, 1.4vw, 24px); }
  header #main-nav ul li { margin-left: 0; }
  header #main-nav ul li a { white-space: nowrap; font-size: clamp(12px, 1vw, 16px); }
}
