@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap');


/* stil özellikleri*/
.underline {
  color: black;
  text-decoration: none;
}

.night-mode .underline {
  color: white;
}

.underline:hover {
  text-decoration: underline;
}

/* ekran boyutları */
header {
  background-size: cover;
  background-position: center;
}

header {
  width: auto;
  height: 240px;
  background-image: url("images/fethiye_su_tesisatcisi_tab.png");
}


@media only screen and (min-width: 767px) {
  footer {
    margin-top: 1px;
    border-top: 1px solid #e8e8e8;
    padding: 15px;
    height: 44px;
  }


  main {
    max-width: 90%;
    margin: 0 auto;
  }

  main p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin-top: 7px;
    margin-bottom: 15px;
  }
}


@media only screen and (max-width: 767px) {

  main {
    max-width: 96.8%;
    margin-left: 7px;
  }

  main p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin-left: 1px;
    font-size: 16px;
    line-height: 1.3;
    margin-top: 7px;
    margin-bottom: 15px;
  }
}

.logo {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.logochanged {
  display: none;
}


.header-bar {
  position: fixed;
  width: 100%;
  height: 65px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  top: -65px; 
  transition: top 0.1s;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%px;
}

button span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #f7f7f7;
}

.night-mode button span {
  background-color: #131313;
}

@media only screen and (min-width: 1025px) {
  main {
    max-width: 77%;
    margin: 0 auto;
  }
}


/* gece modu */
.night-mode {
  background-color: #0F0F0F;
  color: #ffffff;
}

#moon-icon {
  display: none;
}

.night-mode #sun-icon {
  display: none;
}

.night-mode #moon-icon {
  display: inline-block;
  color: #ffffff;
}


/* içerik */
.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  background-color: #f3f3f338;
  border-radius: 10px;
  margin: 10px;
  padding: 20px;
  width: 240px;
  text-align: center;
  border: 1px solid #3a3a3a2b;
}

.night-mode .box {
  background-color: #4b4b4b30;
}

.box h2 {
  margin-top: 0;
  color: black;
}

.night-mode .box h2 {
  color: white;
}

.box p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 11px;
}

.box:hover {
  box-shadow: 0 5px 10px #2f2f2f20;
  transition: all 0.2s ease-in-out;
}

.night-mode .box:hover {
  box-shadow: 0 5px 10px #5d5d5d2b;
  transition: all 0.2s ease-in-out;
}

* {
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

.night-mode footer {
  border-top: 1px solid #181818;
}

/* button */
.contact-buttons {
  display: none;
}

@media only screen and (max-width: 767px) {
  footer {
    margin-top: 1px;
    border-top: 1px solid #e8e8e8;
    padding: 15px;
    height: 90px;
  }

  .contact-buttons {
    font-family: "Ubuntu";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
  }

  .contact-buttons a {
    flex-basis: 50%;
    text-decoration: none;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
  }

  .contact-buttons a i {
    margin-right: 10px;

  }

  .contact-buttons p {
    font-family: "Ubuntu";
    font-weight: bold;
    font-size: 18px;
    font-weight: 700;
    margin-top: -7px;
    margin-bottom: 1px;
  }

  .contact-buttons .whatsapp {
    position: relative; /* Görüntülenecek içeriğin z-index yönetimi için */
  }
  
  .contact-buttons .whatsapp:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: #1cac53ec; 
    z-index: -1; /* İçeriğin önünde, içeriği blurlu yapmak için */
  }
  
  .contact-buttons .phone {
    position: relative; /* Görüntülenecek içeriğin z-index yönetimi için */
  }
  
  .contact-buttons .phone:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: #243141ec;
    z-index: -1;
  }
  
  dekor {
    font-weight: 100;
    font-size: 13.5px;
  }
  
}

#divider {
  border: 1px solid #e4e4e4e5;
  border-radius: 10px;
  padding: 6px;
}

.night-mode #divider {
  border: 1px solid #2e2e2e;
}

#divider-ok {
  background: linear-gradient(to left, #007fad, #1a97c4);
  border-radius: 30px;
  padding: 6px;
  cursor: pointer;
  text-align: center;
}

#p1-title {
  font-size: 25px;
  font-weight: 500;
  text-decoration: double;
}

.title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  margin-top: 130px;
  margin-left: 10px;
  font-size: 70px;
  color: white;
}

.gradient-title a {
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  margin-right: 3%;
}

.gradient-title {
  border: 1px solid #e4e4e4e5;
  border-radius: 10px;
  padding: 8px;
}

.night-mode .gradient-title {
  border: 1px solid #2e2e2e;
}

/* footer */
.footer-button {
  display: flex;
}

.footer-button a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  position: relative;
}

.footer-button span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
}

.footer-button a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-button span.fa-facebook:hover {
  background-color: #004aad;
  color: white;
}

.footer-button span.fa-phone {
  color: black;
  background-color: #e8e8e8d1;
}

.footer-button span.fa-facebook {
  color: black;
  background-color: #e8e8e8d1;
}

.night-mode span.fa-facebook,
.night-mode span.fa-phone {
  color: white;
  background-color: #181818;
}

.night-mode .footer-button span.fa-facebook:hover {
  background-color: #004aad;
  color: white;
}

.s_text a {
  color: #6a6a6a;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
}

.s_text a:hover {
  text-decoration: underline;
}

.night-mode .s_text a {
  color: #5a5a5a;
}

.footer-button {
  display: flex;
  justify-content: flex-end;
}

.s_text {
  position: absolute;
  margin-top: -31px;
}


/*gizlilik politikası*/
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #00000081;
}


.modal-content {
  background-color: #f3f3f3;
  margin: 2% auto;
  padding: 20px;
  width: 85%;
}

.night-mode .modal-content{
  background-color: #232323;
}

.close {
  color: #ffffff;
  font-weight: bold;
}
