* {
  box-sizing: border-box;
}

/* Genel Ayarlar */
body {
  margin: 0;
  padding-top: 90px;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  background: #FAF5F5;
  color: #333;
  font-size: 18px;
}
p {
  text-align: justify;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #8B3A3A;
  padding: 10px 20px;
  z-index: 1000;
  border-bottom: 2px solid #4A7C59;
}
.logo{
  margin-left: 15px;
}

.navbar img {
  height: 70px;
  width: 120px;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin: 0;
  padding: 0;
  flex: 1;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
}

.navbar a:hover {
  color: #4A7C59;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  color: #ecf0f1;
  background: #4A7C59;
  padding: 10px 14px;
  border-radius: 12px;
  margin-left: 15px;
  font-size: 20px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  flex: 1;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .hero {
    text-align: left;
    align-items: flex-start;
  }

  .hero-images {
    flex-direction: column;
    align-items: center;
  }

  .hero-images img {
    width: min(100%, 420px);
    max-width: 100%;
    height: auto;
  }

  .section {
    margin: 0 auto;
    padding: 30px 20px;
  }

  .compare-container div {
    width: 100%;
  }

  .btn {
    width: fit-content;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  .navbar {
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  #nav-toggle:checked + .nav-toggle-label + .nav-menu {
    max-height: 320px;
  }

  .hero-images {
    gap: 12px;
  }

  .hero-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .cards {
    position: static;
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
  }

  .card {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
    margin: 20px auto;
    background: #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  .carousel-wrapper {
    margin: 30px auto;
    width: 100%;
  }

  .carousel {
    height: auto;
    min-height: 240px;
  }

  .carousel li img {
    height: auto;
  }

  .toolbar {
    right: 10px;
    bottom: 10px;
  }

  .cardparagraph {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    min-height: auto;
  }

  .paragraph {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .location,
  .hak {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

  #posts {
    margin-left: 0;
    padding-left: 0;
  }
}

.text-scroll p {
    height: 20px;
    /*float: left;*/
    white-space: nowrap;
    position: relative;
    font-size: 40px;
    font-weight: bold;
    margin-top: 0%;
  }

  .text-scroll {
    max-height: 70px;
    max-width: none;
   /* margin: 0 auto;*/
    padding-left: 0%;
    float: none;
    margin:0 auto;
    font-family: 'Special Elite', cursive;
    font-size: 15px;
    color: #8B3A3A; /* dikkat çekici renk */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 50px; /* görselden önce boşluk */
  }
  
.text-scroll .fixed {
  margin-right: 15px;
 /* float: left;*/
}

  .scrolling-words {
    overflow: hidden;
    height: 60px;
    margin-top: 0;
    min-width: max-content;
  }

  .scrolling-words  p {
    position: relative;
    
    /*padding-top: 0px;*/
    white-space: nowrap;
    display: block;
    /*-webkit-animation: move 8s 1s infinite;
    -moz-animation: move 8s 1s infinite;
    -o-animation: move 8s 1s infinite;
    -ms-animation: move 8s 1s infinite;*/
    line-height: 60px;
    animation: move 8s 1s infinite;
    font-size: 43px;
    letter-spacing: 1px;
  }

  @-moz-keyframes move {
    0%  { top:  0px;   }
    20% { top: -56px;  }
    40% { top: -118px; }
    60% { top: -127px; }
    80% { top: 0px; }
    100% { top: 0px;   }
  }

  @-o-keyframes move {
        0%  { top:  0px;   }
    20% { top: -56px;  }
    40% { top: -118px; }
    60% { top: -127px; }
    80% { top: 0px; }
    100% { top: 0px;   }
  }

 @-ms-keyframes move {
       0%  { top:  0px;   }
    20% { top: -56px;  }
    40% { top: -118px; }
    60% { top: -127px; }
    80% { top: 0px; }
    100% { top: 0px;   }
  }

  @-webkit-keyframes move {
      0%  { top:  0px;   }
    20% { top: -56px;  }
    40% { top: -118px; }
    60% { top: -127px; }
    80% { top: 0px; }
    100% { top: 0px;   }
  }

  @keyframes move {
       0%  { top:  0px;   }
    20% { top: -56px;  }
    40% { top: -118px; }
    60% { top: -127px; }
    80% { top: 0px; }
    100% { top: 0px;   }
  }

/* Toolbar */
.toolbar {
  position: fixed;
  right: 20px;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.toolbar a {
  color: #ffffff;
  font-size: 20px;
  background: #4A7C59;
  padding: 15px;
  border-radius: 50%;
  text-align: center;
  transition: 0.3s;
}
.toolbar a:hover {
  background: #8B3A3A;
  color: white;
}

/* Floating Social Button */
.social-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  color: white;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

/* Sections */
.section {
  max-width: 1200px;
  min-height: 45vh;
  padding: 40px 20px;
  text-align: center;
  margin-left: 10%;
}
.hero {
  color: rgba(252, 255, 252, 0.696);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 10px; /* scroll yazısından sonra biraz boşluk */
}

.hero p{
  color: #4A7C59;
}
.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.hero-images img {
    
  width: 50%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-section {
  margin-top: 100px;
  text-align: center;
  font-size: 15px;
  font-style: oblique;
}

.hero b {
  color: #8B3A3A;
  font-size: 25px;
  font-family: 'Arial Narrow Bold', sans-serif;
}
.hero h1 {
  color: #0c0407;
}
.light {
  background: #FAF5F5;
  color: #333;
}

/* Compare Container */
.compare-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.compare-container div {
  flex: 1 1 300px;
}

/* Buttons */
.btn {
  background: #8B3A3A;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 15px;
  margin: 20px auto;
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.btn:hover {
  background: #4A7C59;
  transform: scale(1.05);
}

.paragraph {
  display: flex;
  flex-direction: row;    /* column → row */
  flex-wrap: wrap;        /* Taşarsa alt satıra geçsin */
  align-items: flex-start;
  justify-content: center;
}

.cardparagraph {
  background-color: #4a7c593a;
  flex: 1 1 calc(50% - 40px);
  max-width: 600px;
  min-width: 300px;
  padding: 20px;
  margin: 20px;
  border-radius: 10px;
  height: 500px;
}
.cardparagraph h1 {
  color: #8B3A3A;
  font-size: 28px;
  margin-bottom: 15px;
}

@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@800&display=swap");

/* ── Yardımcı sınıflar ── */
.flex {
  display: flex;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  width: 100%;
}

/* ── Carousel wrapper ── */
.carousel-wrapper {
  display: flex;
  position: relative;
  max-width: 600px;
  margin: 50px;
}

.carousel-wrapper input {
  display: none;
}

/* ── Carousel / Slider ── */
.carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  height: 400px; /* Sabit yükseklik ekledim */
}

.carousel ul {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  list-style: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 300%; /* 100% * 3 slides */
  transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel li {
  width: 100%;
}

.carousel li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: black;
  border-radius: 15px;
}

/* ── Navigation Dots ── */
.nav-dot {
  position: absolute;
  cursor: pointer;
  margin-left: -7.5px;
  bottom: -10px;
  width: 15px;
  height: 15px;
  opacity: 0.5;
  background-color: rgb(17, 11, 11);
  border-radius: 50%;
  transition: 0.4s;
}

.nav-dot:hover {
  opacity: 0.8;
  transform: scale(1.2);
}

.nav-dot:active {
  transform: scale(0.9);
}

/* ── Nav dot pozisyonları (3 slide için) ── */
.nav-dot[for="slide1"] { left: calc(50% + ((-1) * 10%)); }
.nav-dot[for="slide2"] { left: calc(50% + ((0) * 10%)); }
.nav-dot[for="slide3"] { left: calc(50% + ((1) * 10%)); }

/* ── Slide seçilince carousel hareketi ── */
#slide1:checked ~ .carousel ul { left: 0%; }
#slide2:checked ~ .carousel ul { left: -100%; }
#slide3:checked ~ .carousel ul { left: -200%; }

/* ── Aktif dot vurgusu ── */
#slide1:checked ~ .nav-dot[for="slide1"],
#slide2:checked ~ .nav-dot[for="slide2"],
#slide3:checked ~ .nav-dot[for="slide3"] {
  opacity: 1;
}

/* ── Oklar ── */
.left-arrow,
.right-arrow {
  display: none;
  position: absolute;
  cursor: pointer;
  font-weight: bolder;
  text-shadow: 0 0 7.5px rgba(0, 0, 0, 0.7);
  top: 50%;
  z-index: 1;
  opacity: 0.7;
  margin-top: -25px;
  height: 50px;
  font-size: 50px;
  transition: 0.2s;
  color:white;
}

.left-arrow:hover,
.right-arrow:hover {
  opacity: 1;
  transform: scale(1.2);
}

.left-arrow:active,
.right-arrow:active {
  transform: scale(0.9);
}

.left-arrow  { left: 15px; }
.right-arrow { right: 15px; }

/* ── Ok görünürlüğü (slide başına) ── */
#slide1:checked ~ .left-arrow[for="slide3"],
#slide1:checked ~ .right-arrow[for="slide2"] { display: block; }

#slide2:checked ~ .left-arrow[for="slide1"],
#slide2:checked ~ .right-arrow[for="slide3"] { display: block; }

#slide3:checked ~ .left-arrow[for="slide2"],
#slide3:checked ~ .right-arrow[for="slide1"] { display: block; }



/* Posts List */
#posts {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 50px;
  text-align: justify;
}

/* Cards */
.cards {
  position: relative;
  list-style-type: none;
  padding: 0;
  max-width: 34em;
  margin: 2em auto 0;
  min-height: 550px;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: #ccc;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 0 40px #000;
  transform: translateY(0) rotate(4deg) translateX(25px) scale(1);
  transform-origin: 0 0;
  transition: transform 0.6s cubic-bezier(0.8, 0.2, 0.1, 0.8) 0.1s,
      background 0.4s linear;
  cursor: pointer;
  user-select: none;
}

.card :last-child {
  margin-bottom: 0;
}

.card--next {
  z-index: 5;
  transform: translateY(-25px) rotate(4deg) translateX(25px) scale(1);
}

.card--out {
  animation: card-out 0.6s cubic-bezier(0.8, 0.2, 0.1, 0.8);
  transform: translateY(-50px) rotate(8deg) translateX(55px) scale(0.95);
  z-index: 1;
  background: #bbb;
}

@keyframes card-out {
  0% {
    z-index: 20;
    transform: translateY(0px) rotate(-4deg);
  }
  50% {
    transform: translateY(-120%) rotate(-5deg) translateX(-40px);
  }
  80% {
    z-index: 1;
  }
  100% {
    transform: translateY(-50px) rotate(8deg) translateX(55px) scale(0.95);
  }
}

.card--current {
  cursor: auto;
  user-select: auto;
  position: relative;
  z-index: 10;
  opacity: 1;
  background: #eee;
  transform: rotate(-1deg) translateX(0%) scale(1);
}

.section.light {
  overflow: hidden;
}

/* Map */
.map {
  margin-top: 20px;
  padding: 20px;
  border: 4px solid #4A7C59;
  border-radius: 20px;
  box-shadow: 0 0 0 5px #8B3A3A;
}

/* Footer */
footer {
  background-color: #8B3A3A;
  padding: 1rem;
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.location {
  text-align: left;
}

.hak {
  text-align: right;
}
.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
}
.social-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  visibility: visible;
}
.social-icons a:hover img {
  transform: scale(1.1);
}

.social-icons .fa-map-marker-alt {
  color: #e0e3e7;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding-top: 110px;
  }

  .navbar {
    padding: 10px 15px;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle-label {
    display: block;
    align-self: flex-end;
    margin-top: 10px;
  }

  .nav-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
  }

  .nav-menu li a {
    display: block;
    padding: 14px 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  #nav-toggle:checked + .nav-toggle-label + .nav-menu {
    max-height: 500px;
  }

  .hero {
    text-align: left;
    align-items: flex-start;
    padding: 0 10px;
  }

  .hero-images {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .section {
    margin-left: 0;
    padding: 30px 15px;
    min-height: auto;
  }

  .compare-container div {
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    margin: 20px auto;
  }

  .cards {
    position: static;
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
    padding: 0 10px;
  }

  .card {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    width: 100%;
    margin: 20px auto;
    background: #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  .carousel-wrapper {
    margin: 30px auto;
    width: 100%;
  }

  .carousel {
    height: auto;
    min-height: 240px;
  }

  .carousel li img {
    height: auto;
  }

  .toolbar {
    right: 10px;
    bottom: 10px;
  }

  .cardparagraph {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    min-height: auto;
  }

  .paragraph {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .location,
  .hak {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  #posts {
    margin-left: 0;
    padding-left: 0;
  }

  .container-fluid {
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }

  .container-fluid > div {
    min-width: unset;
    width: 100%;
  }

  .map iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .navbar img {
    height: 55px;
  }

  .nav-toggle-label {
    font-size: 18px;
    padding: 10px 12px;
  }

  .text-scroll {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .text-scroll p {
    font-size: 32px;
  }

  .scrolling-words p {
    font-size: 32px;
  }

  .btn {
    padding: 10px 16px;
  }

  .cardparagraph {
    padding: 15px;
    margin: 10px 0;
    height: auto;
  }

  .toolbar a {
    padding: 12px;
    font-size: 18px;
  }
}

/* Eklenen LESS uyarlaması */
.media {
  background-position: center;       /* ortala */
  background-size: contain;          /* resim alanın içine sığacak şekilde küçülür */
  background-repeat: no-repeat;      /* tekrar etmesin */
  background-color: #4a5b4b89;         /* boşluk kalan kısımları bu renkle doldur */
  height: 100%;
  position: absolute;
  transition: all 0.3s ease;
  width: 100%;
}


figure {
  height: 400px;
  overflow: hidden;
  position: relative;
}

figure a {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
}

figure:hover .media {
  transform: scale(1.25);
}

figcaption {
  color: #252830;
  height: calc(100% - 30px);
  margin: 15px;
  left:0; 
  position: absolute;
  top: 0;
  width: 250px;
}

.body {
  background-color: white;
  bottom: 0;
  padding: 10px;
  position: absolute;
  width: 100%;
}

svg {
  height:initial;
  width: 100%;
}

svg text {
  text-anchor:middle;
}

svg #alpha {
  fill: white;
}

svg .title {
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 3px;
}

svg #base {
  fill: #8B3A3A; /* yazılar bu renkle görünür */
  -webkit-mask: url(#mask);
  mask: url(#mask);
}


.container-fluid {
  display: flex;
  flex-wrap: wrap; /* küçük ekranlarda alta geçsin */
  gap: 20px;       /* iki div arasında boşluk */
}

.container-fluid > div {
  flex: 1;         /* her div eşit genişlik alsın */
  min-width: 300px; /* mobilde daralmayı sınırla */
}
.location{
  text-align: left;
}
.hak{
  text-align: right;
}

