/* ========================================
   KARDELEN SİGORTA - MAIN STYLESHEET
   Renk Paleti: Kırmızı (#DC2626) ve Beyaz
======================================== */

:root {
  --primary-color: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fee2e2;
  --secondary-color: #1f2937;
  --text-color: #374151;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
  background: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar .social-link {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 15px;
  transition: color 0.3s ease;
}

.top-bar .social-link:hover {
  color: var(--primary-color);
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1100;
}

.navbar * {
  cursor: pointer;
}

.navbar a {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.navbar.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1100 !important;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.logo-text {
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
  font-size: 1.1rem;
}

.logo-text small {
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 15px !important;
  transition: color 0.3s ease;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-item {
  position: relative;
  z-index: 1100;
}

.btn-teklif {
  background: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.btn-teklif:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px;
}

.dropdown-item {
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #374151 100%);
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23DC2626" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.hero-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Quick Form Box in Hero */
.quick-form-box {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 5;
}

.quick-form-box h4 {
  color: var(--secondary-color);
  font-weight: 600;
}

.quick-form-box .form-label {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.quick-form-box .form-control,
.quick-form-box .form-select {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.quick-form-box .form-control:focus,
.quick-form-box .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.quick-form-box .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.quick-form-box .btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 10px;
  padding: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.quick-form-box .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
}

/* ========================================
   QUICK QUOTE SECTION
======================================== */
.quick-quote-section {
  background: var(--bg-light);
  position: relative;
}

.quick-quote-section .container {
  position: relative;
}

.quick-quote-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quick-quote-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 15px;
  background: var(--bg-light);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  text-align: center;
}

.quick-quote-item:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.quick-quote-item .icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.quick-quote-item:hover .icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.quick-quote-item h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* ========================================
   FEATURES SECTION
======================================== */
.section-header h2 {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-card h5 {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

/* ========================================
   SERVICES SECTION
======================================== */
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h5 {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
}

.cta-section h3 {
  font-weight: 700;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
  background: linear-gradient(135deg, var(--secondary-color), #374151);
  padding: 80px 0 60px;
  color: var(--white);
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

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

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

/* ========================================
   QUOTE FORM
======================================== */
.quote-form-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  padding: 30px;
}

.form-header h4 {
  font-weight: 700;
  margin-bottom: 5px;
}

.form-section {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h5 {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.quote-form-card .btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  padding: 15px;
  font-weight: 600;
  border-radius: 10px;
  margin: 0 30px 30px;
  width: calc(100% - 60px);
}

.quote-form-card .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.quote-form-card .form-check {
  padding-left: 30px;
  padding-right: 30px;
}

.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

/* Quote Select Cards */
.quote-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  text-align: center;
}

.quote-select-card:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}

.quote-select-card .icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.quote-select-card:hover .icon {
  background: var(--primary-color);
  color: var(--white);
}

.quote-select-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* ========================================
   THANK YOU PAGE
======================================== */
.thank-you-card {
  background: var(--white);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 20px;
}

.thank-you-card h2 {
  font-weight: 700;
  color: var(--secondary-color);
}

/* ========================================
   CONTACT CARDS
======================================== */
.contact-card,
.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-card .icon,
.contact-info-card .icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
}

.contact-form-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-card h4 {
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  height: 100%;
}

.working-hours {
  list-style: none;
  padding: 0;
}

.working-hours li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
}

.working-hours li:last-child {
  border-bottom: none;
}

/* ========================================
   SERVICE DETAIL CARDS
======================================== */
.service-detail-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-card p {
  flex-grow: 1;
}

.service-detail-card .btn {
  margin-top: auto;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-muted);
}

.service-features li i {
  color: var(--success);
  margin-right: 10px;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-image {
  border-radius: 20px;
  overflow: hidden;
}

.placeholder-image {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.placeholder-image i {
  font-size: 5rem;
  margin-bottom: 20px;
}

.placeholder-image span {
  font-size: 1.5rem;
  font-weight: 600;
}

.about-stat {
  text-align: center;
  padding: 20px;
  background: var(--primary-light);
  border-radius: 15px;
}

.about-stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.value-card .icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-brand .logo-icon {
  color: var(--primary-color);
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

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

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 3px;
}

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

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* ========================================
   WHATSAPP BUTTON
======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   MOBILE BOTTOM CTA
======================================== */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.mobile-cta-btn i {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.mobile-cta-btn.call {
  color: var(--primary-color);
}

.mobile-cta-btn.quote {
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
  margin: 0 5px;
}

.mobile-cta-btn.whatsapp {
  color: #25d366;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 60vh;
    text-align: center;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .quick-quote-section {
    margin-top: -40px;
  }

  .quick-quote-box {
    padding: 25px;
  }

  .quick-quote-item {
    padding: 15px 10px;
  }

  .quick-quote-item .icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .quick-quote-item h5 {
    font-size: 0.75rem;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  body {
    padding-bottom: 70px;
  }

  .navbar-nav {
    padding: 20px 0;
  }

  .btn-teklif {
    margin-top: 15px;
    display: block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .quote-select-card {
    padding: 20px 15px;
  }

  .quote-select-card .icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .form-section {
    padding: 20px;
  }

  .form-header {
    padding: 20px;
  }

  .quote-form-card .btn-primary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
  }

  .quote-form-card .form-check {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* ========================================
   UTILITIES
======================================== */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--primary-color);
  color: var(--white);
}
