/* ============== GENEL & RESET STYLES ============== */
:root {
  --color-primary: #8b0000;
  --color-secondary: #a52a2a;
  --color-accent: #c41e3a;
  --color-text: #1a1a1a;
  --color-text-light: #4a4a4a;
  --color-bg-light: #f5f5f5;
  --color-border: #e0e0e0;
  --transition-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  overflow-x: hidden;
  background: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============== HEADER STYLES ============== */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.menu-items {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
}

.menu-item {
  position: relative;
}

.menu-link {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  padding: 25px 20px;
  display: block;
  transition: all 0.3s ease;
  font-size: 14px;
}

.menu-link:hover,
.menu-link.active {
  color: #c41e3a;
}

/* Language Selector */
.menu-item.language-selector .current-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #8b0000;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.menu-item.language-selector .current-lang:hover {
  background: #a52a2a;
}

.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2c2c2c;
  min-width: 280px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 10px 0;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: #3a3a3a;
  color: #c41e3a;
  border-left-color: #8b0000;
}

/* Language Options Dropdown */
.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: #2c2c2c;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  z-index: 1000;
  border: 1px solid #8b0000;
}

.language-selector:hover .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.lang-option:hover {
  background: #3a3a3a;
  color: #ffffff;
  border-left-color: #8b0000;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #000000;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ============== NEDEN GAZILER STONE SAYFASI ÖZEL STYLLERİ ============== */
.why-rande-hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(139, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-content p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.hero-content nav[aria-label="breadcrumb"] {
  margin-bottom: 20px;
}

.hero-content nav ol {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.hero-content nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-content nav a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.hero-content nav li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  opacity: 0.8;
}

.hero-content nav span {
  opacity: 0.9;
}

.content-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.content-row:not(:last-child) {
  margin-bottom: 80px;
}

.content-row.row-reverse .text-block {
  order: 2;
}

.text-block h3 {
  font-size: 32px;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
  font-weight: 600;
}

.text-block p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.image-block img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-block img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 0, 0, 0.25);
}

/* ============== FOOTER ÜSTÜ CTA ŞERİDİ ============== */
.quick-cta {
  background-color: #2c2c2c;
  padding: 60px 0;
}

.quick-cta .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cta-box {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms ease-in-out;
  border: 2px solid #8b0000;
}

.cta-box:hover,
.cta-box:focus-visible {
  background-color: #8b0000;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(139, 0, 0, 0.4);
  border-color: #a52a2a;
}

.cta-box:focus-visible {
  outline: 3px solid #8b0000;
  outline-offset: 4px;
}

.cta-icon {
  margin-bottom: 20px;
}

.cta-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
  color: #ffffff;
}

.cta-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #ffffff;
}

.cta-box p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

/* ============== SITE FOOTER ============== */
.site-footer {
  background-color: #1a1a1a;
  color: #b0b0b0;
  padding: 80px 0 0;
  font-size: 15px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-col ul a:hover,
.footer-col ul a:focus-visible {
  color: #8b0000;
  outline: none;
}

.footer-social {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #2c2c2c;
}

.footer-social a {
  color: #b0b0b0;
  margin: 0 12px;
  transition: color 200ms ease, transform 200ms ease;
  display: inline-block;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #8b0000;
  transform: scale(1.1);
  outline: none;
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  font-size: 13px;
  color: #808080;
}

.footer-legal-links a {
  color: #b0b0b0;
  text-decoration: none;
  margin-left: 20px;
  transition: color 200ms ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #8b0000;
  outline: none;
}

/* ============== ANIMASYON STYLES ============== */
@media (prefers-reduced-motion: reduce) {
  .anim {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.anim {
  transition: opacity 700ms var(--transition-ease),
    transform 700ms var(--transition-ease);
}

.anim.slide-left,
.anim[data-anim="slide-left"]:not(.is-inview) {
  opacity: 0;
  transform: translateX(-60px);
}

.anim.slide-right,
.anim[data-anim="slide-right"]:not(.is-inview) {
  opacity: 0;
  transform: translateX(60px);
}

.anim.fade-up,
.anim[data-anim="fade-up"]:not(.is-inview) {
  opacity: 0;
  transform: translateY(40px);
}

.anim.is-inview {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.anim-item {
  transition: opacity 600ms var(--transition-ease),
    transform 600ms var(--transition-ease);
  opacity: 0;
}

.anim.is-inview .anim-item {
  opacity: 1;
  transform: none;
}

/* Stagger animasyon gecikmesi */
.anim[data-anim-stagger] .anim-item:nth-child(1) {
  transition-delay: 0ms;
}
.anim[data-anim-stagger] .anim-item:nth-child(2) {
  transition-delay: 150ms;
}
.anim[data-anim-stagger] .anim-item:nth-child(3) {
  transition-delay: 300ms;
}

/* ============== RESPONSIVE STYLES ============== */
@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }
  .content-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .content-row.row-reverse .text-block {
    order: 0;
  }
  .image-block {
    margin-bottom: 20px;
  }
  .quick-cta .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .why-rande-hero {
    height: 350px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .text-block h3 {
    font-size: 28px;
  }
  .text-block p {
    font-size: 16px;
  }
  .quick-cta .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-legal-links a {
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .why-rande-hero {
    height: 300px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .text-block h3 {
    font-size: 24px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
