/* ============================================
   Template 6: Ocean & Sky
   Company: VAKIF FİNANSAL KİRALAMA A.Ş.
   Primary: #1A365D | Accent: #3182CE | Dark: #0F2440 | Light bg: #F7FAFC
   Font: Albert Sans
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ============================================
   CSS Variables & Base
   ============================================ */
:root {
  --primary: #1A365D;
  --accent: #3182CE;
  --dark: #0F2440;
  --light-bg: #F7FAFC;
  --white: #ffffff;
  --text-dark: #2D3748;
  --text-muted: #718096;
  --border-light: #E2E8F0;
  --font-family: 'Albert Sans', sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--dark);
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ============================================
   Bootstrap Overrides
   ============================================ */
.btn {
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  font-family: var(--font-family);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

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

.btn-black {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

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

.btn-black-outline {
  background-color: transparent;
  border: 2px solid var(--dark);
  color: var(--dark);
}

.btn-black-outline:hover {
  background-color: var(--dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

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

/* ============================================
   Navbar - Bootstrap Native
   ============================================ */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.custom-navbar .navbar-brand img {
  height: 3rem;
  border-radius: 4px;
}

.custom-navbar .navbar-caption {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.custom-navbar .navbar-toggler {
  border: none;
  padding: 8px;
  box-shadow: none;
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.custom-navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

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

.custom-navbar .navbar-buttons {
  display: flex;
  align-items: center;
}

.custom-navbar .navbar-buttons .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ============================================
   Section Common
   ============================================ */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

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

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

.bg-dark .section-title,
.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}

.bg-dark .section-subtitle,
.bg-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Hero Section (header3 - Clean Split)
   ============================================ */
.hero-clean {
  padding: 140px 0 80px;
  background-color: var(--white);
}

.hero-clean .hero-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.hero-clean .hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-clean .hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-clean .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   Image + Text Sections (header2, header4)
   ============================================ */
.features-section .feature-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.features-section .feature-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

.features-section .feature-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ============================================
   Client Type Cards WITH IMAGES (features-image)
   ============================================ */
.client-cards .card-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.client-cards .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.client-cards .item-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.client-cards .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.client-cards .card-item:hover .item-img img {
  transform: scale(1.05);
}

.client-cards .item-content {
  padding: 24px;
}

.client-cards .item-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.client-cards .item-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-section .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background-color: var(--white);
  padding: 18px 24px;
  box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--accent);
  background-color: var(--light-bg);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.faq-section .accordion-body {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section .form-control {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.contact-section textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   Contact Info Cards
   ============================================ */
.contact-info-cards .info-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  height: 100%;
}

.contact-info-cards .info-card:hover {
  transform: translateY(-5px);
}

.contact-info-cards .info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-cards .info-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-info-cards .info-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

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

/* ============================================
   Google Map
   ============================================ */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

/* ============================================
   Footer (footer2 - Dense Block)
   ============================================ */
.footer-section {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer-section .footer-content {
  text-align: center;
  font-size: 0.9rem;
  line-height: 2;
}

.footer-section .footer-content a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 8px;
}

.footer-section .footer-content a:hover {
  color: var(--accent);
}

.footer-section .footer-content p {
  margin-bottom: 0;
}

/* ============================================
   Page Header (Sub Pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background-color: var(--light-bg);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ============================================
   About Page
   ============================================ */
.about-values .value-item {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: var(--white);
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}

.about-values .value-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.about-values .value-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 32px;
  border-left: 2px solid var(--border-light);
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item .timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-item h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ============================================
   Services Page
   ============================================ */
.service-detail-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  border-top: 4px solid var(--accent);
  transition: transform 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-5px);
}

.service-detail-card .service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-detail-card .service-icon i {
  font-size: 1.75rem;
  color: var(--accent);
}

.service-detail-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-detail-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Testimonials / Our Work Page
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-card .testimonial-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .testimonial-author .author-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.testimonial-card .testimonial-author .author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Case study card */
.case-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.case-card .case-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.case-card .case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .case-content {
  padding: 24px;
}

.case-card .case-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.case-card .case-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Stats */
.stats-item {
  text-align: center;
  padding: 20px;
}

.stats-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.legal-content h3.wp-block-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h3.wp-block-heading:first-child {
  margin-top: 0;
}

.legal-content h4.wp-block-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li, .legal-content ol li {
  margin-bottom: 8px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-content .container a {
  color: #000000;
  text-decoration: none;
}

.legal-content .container a:hover {
  color: #00008B;
  text-decoration: underline;
}

/* Cookie table styling */
.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.cookie-tables-white .wp-block-table th {
  background-color: #f0f0f0;
  font-weight: 700;
  font-size: 0.9rem;
}

.cookie-tables-white .wp-block-table td {
  font-size: 0.88rem;
}

.has-fixed-layout {
  table-layout: fixed;
  width: 100%;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
  .hero-clean {
    padding: 120px 0 50px;
  }

  .hero-clean .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .custom-navbar .navbar-collapse {
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
  }

  .custom-navbar .navbar-buttons {
    margin-top: 8px;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-clean .hero-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .hero-clean .hero-image {
    margin-bottom: 30px;
  }

  .hero-clean .hero-buttons {
    flex-direction: column;
  }

  .hero-clean .hero-buttons .btn {
    width: 100%;
  }

  .footer-section .footer-content {
    font-size: 0.85rem;
  }
}
