/* ================================================
   KAYSERİ EMİR HAFRİYAT - STYLE.CSS
   Renk Paleti:
   - Ana Sarı: #FFC107
   - Koyu Gri: #1B1B1B
   - Arkaplan Gri: #F5F5F5
   - Turuncu Vurgu: #FF6A00
================================================ */

:root {
  --primary-yellow: #FFC107;
  --primary-blue: #1E40AF;
  --dark-blue: #0F172A;
  --light-blue: #3B82F6;
  --bg-gray: #F5F5F5;
  --white: #ffffff;
  --text-dark: #333333;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* Navbar */
.navbar {
  background-color: var(--dark-blue) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-yellow) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-brand:hover {
  color: var(--light-blue) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-yellow) !important;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 600px;
}

.carousel-item {
  height: 600px;
  background-color: var(--dark-blue);
}

.carousel-item img {
  height: 600px;
  object-fit: cover;
  opacity: 0.6;
}

.carousel-caption {
  bottom: 15%;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.35);
  padding: 20px 25px;
  border-radius: 8px;
}

.carousel-caption h1 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-yellow);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 1rem;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
  margin-bottom: 0;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--dark-blue);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-yellow), var(--light-blue));
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
  margin-top: 15px;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  height: 100%;
  border-top: 4px solid var(--primary-yellow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-top-color: var(--light-blue);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary-yellow);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 15px;
  font-weight: bold;
}

.service-card p {
  color: #666;
  font-size: 1rem;
}

/* Project Cards */
.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 20px;
}

.project-card-body h4 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
  font-weight: bold;
}

.project-card-body p {
  color: #666;
  font-size: 0.95rem;
}

/* Why Us Section */
.why-us-section {
  background: var(--bg-gray);
  padding: 80px 0;
}

.why-us-card {
  text-align: center;
  padding: 30px 20px;
}

.why-us-card i {
  font-size: 3rem;
  color: var(--light-blue);
  margin-bottom: 15px;
}

.why-us-card h4 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
  font-weight: bold;
}

.why-us-card p {
  color: #666;
}

/* Quick Contact Buttons */
.quick-contact {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
}

.contact-btn {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn.phone {
  background-color: var(--primary-yellow);
}

.contact-btn.whatsapp {
  background-color: #25D366;
}

.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* About Page */
.about-section {
  padding: 60px 0;
}

.about-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.mission-vision-card {
  background: var(--bg-gray);
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-yellow);
  margin-bottom: 20px;
}

.mission-vision-card h3 {
  color: var(--dark-gray);
  font-weight: bold;
  margin-bottom: 15px;
}

.experience-badge {
  background: linear-gradient(135deg, var(--primary-yellow), var(--orange-accent));
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.experience-badge h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.experience-badge p {
  font-size: 1.3rem;
}

/* Services Page */
.service-detail-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.service-detail-card .card-body {
  padding: 30px;
}

.service-detail-card h3 {
  color: var(--dark-gray);
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 3px solid var(--primary-yellow);
  padding-bottom: 10px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: #666;
}

.service-detail-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-yellow);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Gallery */
.gallery-section {
  padding: 60px 0;
}

.gallery-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-info-card {
  background: var(--bg-gray);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  background: var(--primary-yellow);
  color: var(--white);
}

.contact-info-card i {
  font-size: 3rem;
  color: var(--orange-accent);
  margin-bottom: 15px;
}

.contact-info-card:hover i {
  color: var(--white);
}

.contact-info-card h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 2px solid #e0e0e0;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.btn-primary {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-blue);
  font-weight: bold;
  padding: 12px 40px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: 80px;
}

.footer-content h5 {
  color: var(--primary-yellow);
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-content ul li {
  padding: 5px 0;
}

.footer-content ul li a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-content ul li a:hover {
  color: var(--primary-yellow);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  color: #aaa;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--dark-blue), #1e3a5f);
  padding: 60px 0;
  color: white;
}

.page-header h1 {
  color: var(--primary-yellow);
  margin-bottom: 15px;
  margin-top: 0;
}

.page-header p {
  margin-bottom: 0;
  color: white;
}

/* Breadcrumb */
.breadcrumb {
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.breadcrumb-item {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item a {
  color: var(--primary-yellow);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .quick-contact {
    right: 15px;
    bottom: 15px;
  }

  .contact-btn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
  }

  .hero-slider,
  .carousel-item,
  .carousel-item img {
    height: 400px;
  }
}

/* Loading Animation */
.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Map */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-card .stars {
  color: var(--primary-yellow);
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author strong {
  color: var(--dark-blue);
  display: block;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: #999;
  font-size: 0.9rem;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
}

.blog-date {
  color: var(--light-blue);
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.blog-card-body h4 {
  font-size: 1.2rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
  font-weight: bold;
}

.blog-card-body p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Nav Pills Custom */
.nav-pills .nav-link {
  color: var(--dark-blue);
  font-weight: 600;
  border: 2px solid #e0e0e0;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background: var(--bg-gray);
  border-color: var(--primary-yellow);
}

.nav-pills .nav-link.active {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-blue);
}

/* Accordion Custom */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background: var(--white);
  color: var(--dark-blue);
  font-weight: 600;
  padding: 20px;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-yellow);
  color: var(--dark-blue);
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.sidebar-widget h4 {
  color: var(--dark-blue);
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-yellow);
}

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

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu li a {
  color: #666;
  text-decoration: none;
  padding: 12px 15px;
  display: block;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  background: var(--primary-yellow);
  color: var(--dark-blue);
  padding-left: 25px;
}

.sidebar-menu li a i {
  margin-right: 10px;
  width: 20px;
}

/* Service Detail Page */
.service-detail-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.service-detail-content h1 {
  color: var(--dark-blue);
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 4px solid var(--primary-yellow);
}

.service-detail-content h2 {
  color: var(--dark-blue);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.service-detail-content h3 {
  color: var(--light-blue);
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-detail-content p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-content ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.service-detail-content ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #666;
  font-size: 1.05rem;
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-yellow);
  font-weight: bold;
  font-size: 1.3rem;
}

.feature-box {
  background: var(--bg-gray);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid var(--primary-yellow);
}

.feature-box h4 {
  color: var(--dark-blue);
  font-weight: bold;
  margin-bottom: 10px;
}

.price-box {
  background: linear-gradient(135deg, var(--primary-yellow), var(--light-blue));
  color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin: 30px 0;
}

.price-box h3 {
  color: var(--white);
  font-weight: bold;
  margin-bottom: 15px;
}

.price-box p {
  color: var(--white);
  margin-bottom: 0;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-yellow);
  color: var(--dark-blue);
}

.dropdown-divider {
  margin: 10px 0;
}
