:root {
  --primary: #151a22; /* Darker header background similar to target */
  --primary-light: #1f2937;
  --accent: #dc2626; /* Alperen Red */
  --accent-hover: #b91c1c;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --radius: 4px;
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ----- Top Bar (Target Site Style) ----- */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-social a {
  color: var(--white);
  margin-left: 15px;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--accent);
}

/* ----- Main Navbar ----- */
header {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
}

.nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  padding: 0 15px;
  height: 90px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-top: 3px solid transparent; /* Target style top-border hover */
}

.nav-links > li:hover > a {
  color: var(--accent);
  border-top: 3px solid var(--accent);
  background-color: #f8fafc;
}

.nav-links i {
  font-size: 0.75rem;
  margin-left: 6px;
  color: var(--text-muted);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 90px;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  border-top: 3px solid var(--accent);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--accent);
  padding-left: 25px; /* Slight indent on hover */
}

/* ----- Hero Style (Replicating Image 1 Layout with Image 2 Content) ----- */
.yazicioglu-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    #7f1d1d 0%,
    #450a0a 100%
  ); /* Deep dark red gradient */
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.yazicioglu-bg-emblem {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 45rem;
  color: rgba(255, 255, 255, 0.04); /* Faint watermark */
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.yazicioglu-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px; /* Wider to allow image to go further right */
}

.yazicioglu-content {
  flex: 0 0 700px; /* Fixed width to prevent growing into the image */
  color: var(--white);
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 5;
}

.y-badge {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.y-headline-flex {
  display: flex;
  flex-direction: column; /* Stack list below titles to save width */
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.y-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.y-headline-small {
  font-size: 3.5rem; /* Shrunk from 4.5 */
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin-bottom: 0px;
  letter-spacing: -1px;
}

.y-headline-big {
  font-size: 6.5rem; /* Shrunk from 8rem */
  font-weight: 900;
  line-height: 0.85;
  color: #dc2626;
  text-shadow: -2px 5px 15px rgba(0, 0, 0, 0.4);
  margin-left: -3px;
  letter-spacing: -2px;
}
img.y-badge-img {
  width: 25px;
  margin-top: -8px;
  margin-right: 5px;
}
.y-list {
  list-style: none;
  padding-bottom: 10px;
  margin-left: 0px; /* No margin since it's below now */
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.y-list li {
  display: flex;
}

.y-list li span {
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 15px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 2px;
  border-left: 3px solid #dc2626;
  text-transform: uppercase;
  transition: var(--transition);
}

.y-list li:hover span {
  background: #dc2626;
  border-left-color: #fff;
  transform: translateX(5px);
}

.y-list li.y-date span {
  font-size: 0.9rem;
  background: rgba(220, 38, 38, 0.2);
  border-left-color: #fff;
  letter-spacing: 1px;
}

.y-bottom-section {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-top: 20px;
}

.y-signature-area {
  margin-bottom: 5px;
}

.y-signature-img {
  height: 70px; /* Size like the signature in Image 1 */
  filter: invert(1);
  opacity: 0.9;
}

.y-action-box {
  background-color: #dc2626; /* Alperen Red button aesthetic from the image */
  padding: 18px 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--white);
}

.y-action-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.y-action-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.yazicioglu-image-container {
  flex: 0 0 500px;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: absolute; /* Changed to absolute to stay on the far right */
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.y-person-img {
  max-height: 115%;
  width: auto;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
  mask-image: linear-gradient(to top, transparent 0%, black 15%);
  filter: drop-shadow(-15px 0px 30px rgba(0, 0, 0, 0.5)); /* Shadow back */
  position: absolute;
  bottom: -30px;
  right: 0; /* Back to right */
  z-index: 1;
  opacity: 0;
  animation: fadeInRight 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

/* ----- Content Sections ----- */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
}

/* News Cards (Similar to Target) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}

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

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-category {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
  line-height: 1.4;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----- Footer ----- */
footer {
  background-color: var(--primary);
  color: #d1d5db;
  padding: 60px 0 20px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

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

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

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
  font-size: 0.85rem;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1200px) {
  .yazicioglu-content {
    padding-right: 350px;
  }
}

@media (max-width: 1024px) {
  .y-headline-small {
    font-size: 3.5rem;
  }
  .y-headline-big {
    font-size: 6.5rem;
  }
  .yazicioglu-content {
    padding-right: 0;
  }
  .yazicioglu-image-container {
    position: relative;
    flex: 0 0 350px;
    height: 500px;
    right: auto;
    top: auto;
    transform: none;
  }
  img.y-badge-img {
    width: 25px;
    margin-top: -8px;
    margin-right: 5px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .y-headline-small {
    font-size: 3rem;
  }
  .y-headline-big {
    font-size: 5rem;
  }
  img.y-badge-img {
    width: 25px;
    margin-top: -8px;
    margin-right: 5px;
  }
}

@media (max-width: 768px) {
  .yazicioglu-hero {
    min-height: auto;
    padding: 40px 0;
  }
  .yazicioglu-wrapper {
    flex-direction: column;
    text-align: left;
  }
  .yazicioglu-content {
    padding: 0;
    margin-bottom: 40px;
    z-index: 10;
  }
  .y-headline-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }
  .y-headline-small {
    font-size: 2.5rem;
  }
  .y-headline-big {
    font-size: 4rem;
  }
  .y-list li {
    font-size: 1.1rem;
  }
  .y-list {
    margin-left: 0;
    padding-bottom: 0px;
  }
  .y-bottom-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .y-action-box {
    width: 100%;
    border-left: none;
    border-bottom: 4px solid var(--white);
  }

  .yazicioglu-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    flex: none;
    margin-top: 20px;
    order: 2; /* Content first, then image on mobile */
  }
  .y-person-img {
    max-height: 100%;
    position: relative;
    bottom: 0;
    right: 50%;
    transform: translateX(50%) !important;
    animation: slideUp 1s ease-out forwards; /* Simpler animation for mobile */
  }
  img.y-badge-img {
    width: 25px;
    margin-top: -8px;
    margin-right: 5px;
  }
}

/* ----- Hakkımızda Page Styles ----- */
.page-hero {
  background: 
    linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)),
    url("../../images/logoresim.jpeg") no-repeat 40px center / 150px,
    url("../../images/anasayfa-muhsin-yazicioglu.png") no-repeat right center / contain,
    #0f172a;
  padding: 120px 0 80px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.premium-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--accent);
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ----- Alperenlik Section Styles ----- */
.alperenlik-box {
  text-align: center;
  margin-bottom: 50px;
}

.alperenlik-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 30px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.alperenlik-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20%;
  width: 60%;
  height: 4px;
  background: var(--accent);
}

.alperenlik-content {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.8;
}

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

.highlight-p {
  background: #fdf2f2;
  padding: 30px;
  border-radius: 8px;
  border-left: 5px solid var(--accent);
  font-style: italic;
}

.alperenlik-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.alperenlik-footer span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.alperenlik-footer i {
  color: var(--accent);
  margin-right: 10px;
}

/* ----- Smart Slider Styles ----- */
.slider-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.smart-slider {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slide-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(17, 24, 39, 0.4) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.slide-content {
  max-width: 600px;
  color: var(--white);
  animation: slideUp 0.8s ease-out;
}

.slide-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.slide-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.slide-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  line-height: 1.6;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition);
}

.slide-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateX(5px);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: 900;
}

.swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .smart-slider {
    height: 400px;
  }
  .slide-overlay {
    padding: 0 30px;
    background: rgba(17, 24, 39, 0.7);
  }
  .slide-title {
    font-size: 2rem;
  }
}

/* ----- Detail Page Styles ----- */
.detail-container {
  padding: 60px 0;
  background: #fff;
}

.detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 40px;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.detail-meta {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  color: #6b7280;
  font-size: 0.95rem;
}

.detail-meta i {
  color: var(--accent);
  margin-right: 5px;
}

.detail-image-box {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  cursor: zoom-in;
}

.detail-image-box img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.detail-image-box:hover img {
  transform: scale(1.03);
}

.detail-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
}

.detail-content p {
  margin-bottom: 25px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 30px;
  transition: 0.3s;
}

.back-btn:hover {
  color: var(--accent);
  transform: translateX(-5px);
}
/* ----- Content Text (Generic Pages) ----- */
.content-text ul, .content-text ol {
  margin-bottom: 30px;
  padding-left: 35px; /* Creates the indent seen in Image 2 */
}

.content-text li {
  margin-bottom: 12px;
  line-height: 1.8;
  padding-left: 5px;
}

.content-text ul {
  list-style-type: disc;
}

.content-text ol {
  list-style-type: decimal;
}

.content-text h2, .content-text h3 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 800;
}

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