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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
}
#hero-section {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/car1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow:
    3px 3px 15px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 40px;
  text-shadow:
    2px 2px 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-btn.primary {
  background-color: #ffffff;
  color: #C41E3A;
  border: 2px solid #ffffff;
}

.hero-btn.primary:hover {
  background-color: #C41E3A;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-btn.secondary {
  background-color: #128c7e;
  color: #ffffff;
  border: 2px solid #128c7e;
}

.hero-btn.secondary:hover {
  background-color: #075e54;
  border-color: #075e54;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.hero-btn i {
  font-size: 20px;
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.scroll-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

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

#contact-section {
  background-color: #ffffff;
  padding: 60px 40px;
  text-align: center;
}
.parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
}
.contact-item {
  grid-column: span 2 / span 2;
  grid-row: span 5 / span 5;
}
.map {
  grid-column: span 2 / span 2;
  grid-row: span 5 / span 5;
  grid-column-start: 3;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* İletişim Bilgileri Stilleri */
.contact-title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-item:hover {
  background-color: #e9ecef;
  border-color: #C41E3A;
  transform: translateX(5px);
}

.info-item i {
  font-size: 26px;
  color: #C41E3A;
  min-width: 30px;
  text-align: center;
  font-weight: bold;
}

.info-item span {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

.phone-item {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.phone-item i {
  color: #C41E3A !important;
}

.phone-item:hover {
  background-color: #ffe3e3;
  border-color: #C41E3A;
}

.phone-item:active {
  transform: scale(0.98);
}

.info-item.copied {
  background-color: #d4edda;
  border-color: #28a745;
}

.info-item.copied::after {
  content: "Kopyalandı!";
  margin-left: auto;
  font-size: 14px;
  color: #28a745;
  font-weight: 600;
}

/* Screen Reader Only - Erişilebilirlik için */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Footer Stilleri */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: #fff;
  padding: 50px 20px 20px;
  font-size: 14px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
  text-align: center;
}

.footer-section h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-section p {
  margin: 10px 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.footer-motto {
  font-style: italic;
  opacity: 0.8;
  font-size: 15px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer-section i {
  width: 20px;
  color: #ffffff;
  margin-right: 5px;
  font-weight: bold;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: center;
}

.social-links a {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.4);
}

.social-links a:hover i {
  color: #C41E3A;
}

.social-links i {
  font-size: 22px;
  margin: 0;
  color: #fff;
  font-weight: bold;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.75;
  font-size: 13px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #128c7e;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #075e54;
  transform: scale(1.1) !important;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
  line-height: 60px;
  animation: pulse 2s infinite;
}

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

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet - Landscape (max-width: 992px) */
@media (max-width: 992px) {
  .container {
    padding: 30px 15px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 16px 35px;
  }

  #contact-section {
    padding: 50px 30px;
  }

  .parent {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }

  .contact-item,
  .map {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-title {
    text-align: center;
    font-size: 28px;
  }

  .contact-info {
    align-items: center;
  }

  .info-item {
    max-width: 500px;
    width: 100%;
  }
}

/* Mobile - Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
  #hero-section {
    min-height: 100vh;
    background-attachment: scroll;
    padding: 20px;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    font-size: 16px;
    padding: 16px 30px;
  }

  .scroll-arrow {
    bottom: 30px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  #contact-section {
    padding: 50px 20px;
  }

  .contact-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .info-item {
    padding: 12px 15px;
  }

  .info-item i {
    font-size: 22px;
  }

  .info-item span {
    font-size: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    padding: 40px 20px 20px;
    margin-top: 40px;
  }

  .footer-section h4 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 15px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .social-links i {
    font-size: 20px;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
    font-size: 30px;
  }
}

/* Mobile - Small (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: 0;
  }

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

  .hero-btn {
    font-size: 15px;
    padding: 14px 25px;
    max-width: 280px;
  }

  .scroll-arrow {
    bottom: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .contact-title {
    font-size: 24px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px 12px;
  }

  .info-item i {
    font-size: 28px;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

/* Large Desktop (min-width: 1400px) */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-btn {
    font-size: 19px;
    padding: 20px 45px;
  }
}


/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  aspect-ratio: 4/3;
  background: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typography & Layout Improvements */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4em;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-content {
  line-height: 1.9;
  color: #444;
  font-size: 1.1em;
}

.section-content p {
  margin-bottom: 20px;
}

.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  color: #2c3e50;
  margin: 40px 0 20px;
  border-left: 4px solid #C41E3A;
  padding-left: 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.service-title i {
  margin-right: 12px;
  color: #C41E3A;
}

.highlight-box {
  background: #fff5f5;
  border-left: 4px solid #C41E3A;
  padding: 25px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight-list li {
  margin-bottom: 12px;
  font-weight: 500;
  color: #8B0000;
  display: flex;
  align-items: flex-start;
}

.highlight-list li:last-child {
  margin-bottom: 0;
}

.highlight-list li i {
  margin-right: 10px;
  margin-top: 4px;
  color: #C41E3A;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-us-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.why-us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.why-us-title {
  color: #C41E3A;
  font-size: 1.25em;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.why-us-title i {
  margin-right: 12px;
  font-size: 1.2em;
}

.why-us-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95em;
  margin: 0;
}

/* CTA Section Improvements */
.cta-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-text {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

/* =========================================
   NEW RESPONSIVE FIXES FOR RECENT ADDITIONS
   ========================================= */

/* Tablet & Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Gallery Adjustment */
  .gallery-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin-top: 20px; 
  }

  .gallery-item {
    aspect-ratio: 16/9; /* Slightly shorter on mobile */
  }

  /* Typography Adjustments */
  .section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 1.3em;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left-width: 3px;
  }

  .cta-title {
    font-size: 1.5em;
  }

  /* Layout Adjustments */
  section.container {
    padding: 50px 20px !important; /* Override inline styles */
  }

  .highlight-box {
    padding: 20px;
    margin: 20px 0;
  }
  
  .cta-box {
    padding: 25px 20px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .gallery-item {
    aspect-ratio: 4/3; /* Back to taller for very small screens if needed, or keep 16/9 */
  }

  .section-content {
    font-size: 1em;
    line-height: 1.7;
  }

  .cta-text {
    font-size: 1em;
  }
  
  .highlight-box {
    font-size: 0.95em;
  }
}
