@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

html {
    scroll-behavior: smooth; 
}

body {
    font-family: "Raleway", sans-serif;
    font-size: 16px; 
    line-height: 1.6;
    color: #707070;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.tm-section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-transform: none; 
}

.tm-intro-text {
    font-size: 1.1rem !important;
    line-height: 1.8;
}

.whatsapp-number, .item-link span {
    font-feature-settings: "lnum"; 
    -webkit-font-feature-settings: "lnum";
    -moz-font-feature-settings: "lnum";
}

a {
  transition: all 0.3s ease;
  color: #38B;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {  
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
    padding-top: 130px !important;    
    padding-bottom: 100px !important; 
}

.tm-content-box {
    padding-top: 40px !important; 
    padding-bottom: 40px !important; 
}

.tm-text-primary { color: #37A; }
.tm-font-big { font-size: 1.25rem; }

.tm-btn-primary {
  color: white;
  background-color: #369;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

/* NAVBAR VE LOGO AYARLARI */
.tm-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center; 
    padding: 0;
    margin: 0;
}

.navbar-logo {
    height: 100px; /* PC İçin Büyük Boyut */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent; /* Şeffaf Arkaplan */
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

nav.navbar.tm-navbar .navbar-nav .nav-item a.nav-link.tm-nav-link{
    color: white !important;
}

nav.navbar.tm-navbar .navbar-nav .nav-item a.nav-link.tm-nav-link:hover{
    color: #3496d8 !important;
}

#tmNav .navbar-brand{
    color: white !important;
    transition: color 0.3s ease;
}

#tmNav .navbar-brand:hover{
    color: #3496d8 !important;
}

/* Hero */
#infinite {
  background-color: #222;
  background-image: url(../img/upper_wallpaper.png);
  background-repeat: no-repeat;
  background-size: 130% auto; 
  background-position: 15% 30%; 
  height: 100vh;
  min-height: 375px;
  position: relative;
  overflow: hidden;
}

@media (min-height: 830px) { #infinite { background-position: center -210px; } }
@media (min-height: 680px) and (max-height: 829px) { #infinite { background-position: center -300px; } }
@media (min-height: 500px) and (max-height: 679px) { #infinite { background-position: center -400px; } }
@media (max-height: 499px) { #infinite { background-position: center -450px; } }

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner { margin-top: -90px; }
.tm-hero-title { font-size: 3.5rem; text-shadow: 2px 2px 2px #333; }
.tm-hero-subtitle { text-shadow: 2px 2px 2px #333; }
.tm-intro-next { position: absolute; bottom: 100px; left: 0; right: 0; }

@media (max-height: 480px) {
  .tm-hero-text-container-inner { margin-top: -40px; }
  .tm-intro-next { bottom: 20px; }
}

.tm-down-arrow-link { display: block; margin-top: 18%; }

.tm-down-arrow {
  color: #FFF;
  cursor: pointer;
  background: #357;
  padding: 15px 40px;
  transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: #37A;
  padding: 20px 50px;
}

#introduction { padding-bottom: 100px; }
.tm-icon { display: block; color: #37A; }
.tm-continue { padding: 20px 0 30px 0; }

#testimonials, #contact {
    color: white;
    background-image: url(../img/lower_wallpaper.png) !important;
    background-size: 115% auto !important; 
    background-position: center top !important; 
    background-color: rgba(0, 0, 0, 0.5) !important; 
    background-blend-mode: multiply !important; 
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.contact-item { margin-left: 20px; margin-bottom: 50px; }

.item-link {
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.item-link i, .item-link span { color: white; transition: all 0.3s ease; }
.item-link:hover i, .item-link:hover span { color: #3496d8; }

.item-link:active, .item-link:focus {
    outline: 2px solid #3496d8;
    outline-offset: 5px;
    border-radius: 4px;
}

.tm-input {
  margin: 0 0 20px 0;
  width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
    font-size: 0.9em;
    color: #fff;
    background-color: #369; 
    width: 50%;
    margin-bottom: 60px;
    transition: all 0.3s ease;
    border: none;
}

.tm-btn-submit:hover, 
.tm-btn-submit:focus {
    background-color: #369 !important; 
    color: #9CF !important; 
    box-shadow: 0 0 10px rgba(0,0,0,0.5); 
} 

::placeholder { color: white; opacity: 1; }
:-ms-input-placeholder { color: white; }
::-ms-input-placeholder { color: white; }

.tm-footer {
  background-color: transparent !important; 
  position: relative !important;
  padding: 40px 0 !important;
  margin-top: -1px !important;
  width: 100%;
  clear: both;
}

.tm-footer a { color: #fff; }
.tm-footer a:hover { color: #9CF; }

.tm-footer-link { color: white; }
.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

p { line-height: 1.9; }

@media (min-width: 768px) {
  .tm-intro-text-container { padding-left: 0px; }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container { max-width: 1275px; }
  .tm-container-gallery { max-width: 1290px; }
  .tm-container-contact { max-width: 1063px; }
  #whatwedo .container { max-width: 1450px !important; }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .tm-btn-submit { margin-left: 0; margin-top: 20px; }
}

/* WhatsApp Buton Tasarımı */
.floating-contact-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column; 
    align-items: flex-end;   
    gap: 15px;               
    z-index: 9999;
}

.whatsapp-container {
  background-color: #25d366;
  color: white !important;
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative !important; 
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
}

.whatsapp-content { display: flex; align-items: center; gap: 10px; }
.whatsapp-container i { font-size: 30px; }

.whatsapp-number {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  font-feature-settings: "lnum"; 
  -moz-font-feature-settings: "lnum";
  -webkit-font-feature-settings: "lnum";
}

.whatsapp-container:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 3px 6px 20px rgba(0,0,0,0.4);
}

#contact h2, #contact p, #contact .item-link span {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8) !important;
    font-weight: 600; 
}


/* ========================================= */
/* MOBİL UYUM (767px VE ALTI CİHAZLAR İÇİN)  */
/* ========================================= */
@media (max-width: 767px) {
    /* 1. Arka plan resimlerinin mobilde bozulmasını (yakınlaşma/kalite kaybı) önleme */
    #infinite, #contact {
        background-attachment: scroll !important; 
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* 2. Hamburger menüyü gizleme ve linkleri görünür yapma */
    .navbar-toggler { display: none !important; }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        background-color: transparent !important; 
        padding: 0;
        justify-content: center;
    }
    
    .navbar-nav {
        flex-direction: row; 
        justify-content: center;
        gap: 15px; 
        max-width: 100%;
        text-align: center;
    }
    
    .navbar-collapse .nav-link {
        color: #fff !important;
        padding: 5px !important;
        font-size: 14px; 
    }
    
    /* 3. Logoyu mobile göre oranlama ve üstte ortalama */
    .tm-navbar .container {
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    .navbar-brand {
        display: flex;
        justify-content: center; 
        width: 100%;
        margin-bottom: 10px; 
    }

    .navbar-logo {
        height: 75px; /* Mobilde orantılı, temiz boyut */
        margin: 0 auto;
    }
}