@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Libre+Baskerville:wght@400;700&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/*Fontlar
    .cinzel-<uniquifier> {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;

    .libre-baskerville-regular {
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    } (Başlıklarda kullanılacak font)

    .libre-baskerville-bold {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-style: normal;
    }

    .playfair-display-<uniquifier> {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    }

    .mulish-<uniquifier> {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    }

    .raleway-<uniquifier> {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    }(Metinlerde kullanılacak olan font)
}

*/

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

ul {
  list-style: none;
}

a {
  color: var(--text-dark);
  text-decoration: none;
}

body {
  font-family: "Libre Baskerville", serif;
  background-color: var(--background-light);
}

button {
  border: none;
  padding: 10px;
  cursor: pointer;
}

h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 30px;
  font-weight: 700;
}

h5 {
  font-size: 25px;
}

p {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

/* HEADER */
.main-header {
  background: url("../assets/editli_bitirme/A7C00537.jpg") center/cover
    no-repeat; /* opsiyonel arka plan */
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo img {
  width: 130px;
  height: auto;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu-item a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.menu-item a:hover {
  color: var(--button-hover); /* Spa temalı ton */
}

.navbar-icons {
  display: flex;
  gap: 15px;
}

.navbar-icons a {
  color: var(--text-dark);
  font-size: 20px;
  transition: color 0.3s;
}

.navbar-icons a:hover {
  color: var(--button-hover);
}

.search-container {
  position: absolute;
  top: 80px;
  right: 60px;
  width: 300px;
  background: var(--background-light);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}

.search-container input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

.search-results .product-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.search-results .product-result:hover {
  background-color: #f3f3f3;
}

.search-results img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.product-result a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-result a:hover {
  background-color: transparent;
  border-radius: 6px;
}

/* HEADER İÇERİK ALANI */
.content-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  padding-bottom: 100px;
}

.content-header h2 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #f5f5f5;
}

.content-header p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f5f5f5;
}

/* HEADER BUTON */
.header-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--dbrown);
  color: var(--background-light);
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: absolute;
  right: 50px;
  bottom: 50px;
}

.header-button:hover {
  background-color: var(--button-hover);
}

/* CSS */
.services-section {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 60px 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.service {
  max-width: 220px;
}

.service i {
  font-size: 25px;
  margin-bottom: 5px;
  color: var(--button-cream);
}

.service h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dbrown);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.service p {
  font-size: 14px;
  color: var(--text-dark);
}

/*1*/
.program-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-light);
}

.program-section h2 {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.program-section h2 span {
  border-bottom: 3px solid var(--accent-red);
  padding-bottom: 5px;
}

.program-section h1 {
  color: var(--text-dbrown);
  font-size: 30px;
  padding: 50px;
  font-family: "Libre Baskerville", serif;
}

.programs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  row-gap: 20px;
}

.program-card {
  background-color: var(--background-dark);
  color: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.program-card h3 {
  margin: 20px 10px 10px;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.program-card button {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-light);
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.program-card button:hover {
  background: var(--background-light);
  color: var(--heading-dark);
}

.trending-products ul {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trending-products {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--background-light);
}

.trending-products h1 {
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.trending-products p {
  font-size: 20px;
  color: var(--text-dark);
  margin: 10px 0 40px;
  line-height: 1.5;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center; /* Merkezde hizala */
  align-items: flex-start;
  max-width: 1700px;
  margin: 0 auto;
}

.product-card {
  width: 300px;
  position: relative;
  border: 1px solid var(--background-cream);
  border-radius: 12px;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.product-card.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute; /* Yer kaplamasın */
}

.product-card.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-card a {
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-card h3 {
  margin: 10px;
  font-size: 16px;
}

.price {
  margin: 10px;
  font-weight: bold;
  color: var(--text-dark);
}

.buy-button {
  position: absolute;
  bottom: -25%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-white);
  text-align: center;
  padding: 10px 0;
  transition: bottom 0.3s ease;
  font-weight: bold;
  cursor: pointer;
}

/*favorite-button*/
.favorite-button {
  position: absolute;
  top: -40px;
  right: 10px;
  background-color: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease;
  cursor: pointer;
}

.favorite-button .iconbox {
  color: #cccccc;
  transition: color 0.3s ease;
}

.favorite-button i.added {
  color: #194f3c;
  cursor: default;
}

.favorite-button i {
  color: #84161a;
  font-size: 20px;
}

.product-card:hover .buy-button {
  bottom: 0;
}

.buy-button.added {
  background-color: #194f3c;
  cursor: default;
}

.product-card:hover .favorite-button {
  top: 10px;
}

.services-btn {
  width: 82%;
  display: flex; /* Flex container olması şart */
  justify-content: flex-end; /* İçeriği sağa hizalar */
}

.services-btn button {
  border: #000 solid 1px;
  background-color: transparent;
  border-radius: 15px;
  margin: 30px 0px;
  font-size: 13px;
  font-weight: 700;
}

.items-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

.items-btn .line {
  flex: 1;
  height: 2px;
  background-color: var(--background-dbrown);
  max-width: 500px;
}

.items-btn button {
  background-color: var(--dbrown);
  color: #f5f5f5;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.items-btn button:hover {
  background-color: var(--button-hover);
}

.services-btn i {
  font-size: 13px;
}

/* İletişim Bölümü */
.contact-section {
  padding: 60px 20px;
  background: #f7f7f7;
}

.contact-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* Sol - İletişim Bilgileri */
.contact-info {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dbrown);
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 16px;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.info-box {
  display: flex;
  gap: 15px;
  align-items: center;
}

.info-box i {
  font-size: 24px;
  color: var(--dbrown);
}

.info-box h5 {
  margin-bottom: 5px;
  font-size: 16px;
  color: var(--dbrown);
}

.info-box p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}

.map iframe {
  border: 0;
  border-radius: 8px;
  margin-top: 20px;
}

/* Sağ - İletişim Formu */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 24px;
  color: var(--dbrown);
  margin-bottom: 10px;
  text-align: center;
}

.contact-form p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.contact-form form .form-group {
  margin-bottom: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--dbrown);
}

.contact-form select {
  appearance: none;
  background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path fill="%23333" d="M7 10L3 6h8z"/></svg>')
    no-repeat right 15px center;
  background-size: 10px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: var(--dbrown);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--dbrown);
}

/* Sosyal Medya */
.social-media {
  margin-top: 30px;
  text-align: center;
}

.social-media p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-social-icons i {
  font-size: 24px;
  color: var(--dbrown);
  transition: color 0.3s ease;
  cursor: pointer;
}

.contact-social-icons i:hover {
  color: var(--dbrown);
}

/* Footer Style */
.footer {
  background-color: var(--background-dbrown);
  color: var(--text-cream);
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-grid img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.footer-section button {
  padding: 15px;
  margin: 15px 0;
  border: none;
  border-radius: 20px;
  background-color: var(--button-cream);
  color: var(--text-dbrown);
  cursor: pointer;
  font-size: 15px;
}

.footer-section button:hover {
  background-color: var(--button-cream-hover);
  cursor: pointer;
  font-size: 15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid var(--text-cream);
  padding-top: 20px;
}

.footer-bottom p {
  color: var(--text-cream);
}
