:root {
--font1: "Rubik", Helvetica, Arial, sans-serif;
--primary-orange: #1800ad;
--radius: 3px;
}:root {
--bg-color: #f8f9ff;
--yellow: #5170ff;
--white: #ffffff;
--text-gray: #6b7280;
--text-dark: #1f2937;/* İstenilen Hover Renkleri */
--hover-color-1: #1800ad;
--hover-color-2: #5170ff;
}body {
font-family: var(--font1);
padding: 0px;
margin: 0px;
color: var(--text-dark);
}body.menu-open {
overflow: hidden;
}.container {
max-width: 1250px;
}h1,
h2,
h3,
h4,
h5,
h6,
p {
margin: 0;
padding: 0;
}/* --- 1. GENEL KAPSAYICI VE AKILLI SCROLL AYARLARI --- */
.header-genel-kapsayici {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
transition: transform 0.4s cubic-bezier(0.3, 0, 0.2, 1);
}/* Aşağı kaydırınca menüyü gizleme */
.header-genel-kapsayici.is-hidden {
/*transform: translateY(-100%);*/
}/* --- 2. ÜST İNCE BAR (LACİVERT) --- *//* --- 2. ÜST İNCE BAR (İletişim & Sosyal Medya) --- */
.top-bar {
background-color: #5c95e2;
padding: 5px 30px;
display: flex;
justify-content: space-between; /* İki yana yaslamak için güncellendi */
align-items: center;
transition: all 0.4s ease;
max-height: 50px;
overflow: hidden;
opacity: 1;
}.top-bar .container {
display: flex;
justify-content: space-between; /* İki yana yaslamak için güncellendi */
align-items: center;
transition: all 0.4s ease;
}/* Sol Alan: Telefon ve Adres */
.top-bar-left {
display: flex;
align-items: center;
gap: 15px;
margin-left: auto;
margin-right: 15px;
}.top-bar-left .top-link,
.top-bar-left .top-text {
color: var(--primary-orange);
font-size: 13px;
font-weight: 500;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
transition: color 0.3s;
}.top-bar-left .top-link:hover {
color: var(--primary-orange); /* Hover'da sitenizin turuncu rengi olur */
}/* Telefon ve Konum İkonlarının Boyutu */
.top-bar-left svg {
width: 14px;
height: 14px;
color: var(--primary-orange);
opacity: 0.8;
}/* İki bilgi arasındaki dikiz çizgisi */
.top-divider {
color: #1800ad47;
font-size: 14px;
margin-top: -2px;
}/* Sağ Alan: Sosyal Medya Linkleri */
.social-links {
display: flex;
gap: 10px;
align-items: center;
}.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background-color: rgba(
255,
255,
255,
0.1
); /* Yarı saydam yuvarlak arka plan */
fill: #fff;
transition: all 0.3s ease;
}/* Sosyal medya ikonu üstüne gelince */
.social-links a {
background-color: var(--primary-orange);
transform: translateY(0px); /* Hafif yukarı zıplama efekti */
}.social-links svg {
width: 13px;
height: 13px;
}/* Yukarı kaydırmada 'full beyaz' modunda ince barı yok et */
.header-genel-kapsayici.is-scrolled .top-bar {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}/* --- 3. ANA MENÜ (KAPSÜL TASARIMI) --- */
.site-header {
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 50px;
padding: 20px 0px;
box-sizing: border-box;
transition:
margin 0.4s ease,
border-radius 0.4s ease,
padding 0.4s ease,
box-shadow 0.4s ease;
}.site-header .container {
display: flex;
justify-content: space-between;
}/* Full beyaz moda geçince köşeleri düzleştir ve tam ekran yap */.site-header .logo {
flex-shrink: 0;
display: flex;
align-items: center;
text-decoration: none;
position: relative;
}.site-header .logo img {
height: 50px;
width: auto;
display: block;
filter: brightness(0) invert(1); /* Resmi tamamen beyaza çevirir */
}/* Linkler ve Dikey Gri Çizgi */
.site-header .main-nav {
flex-grow: 1;
display: flex;
justify-content: flex-end;
margin-left: 30px;
}.site-header .main-nav ul#main-menu {
display: flex;
list-style: none;
gap: 35px;
margin: 0;
padding: 0;
align-items: center;
}.site-header .main-nav li:nth-child(3) {
display: none;
}.site-header .main-nav a {
color: #fff;
font-weight: 500;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
padding: 10px 0;
position: relative;
transition: color 0.3s ease;
display: flex;
align-items: center;
}.site-header .main-nav a:hover {
color: var(--hover-color-2);
}.site-header .main-nav a svg {
width: 18px;
height: 18px;
}/* Alt Menü (Açılır Menü) Ayarları */
.site-header .nav-item.nav-submenu {
position: relative;
}.site-header .nav-submenu > a::after {
content: "▼";
font-size: 0.6em;
margin-left: 8px;
display: inline-block;
transition: transform 0.3s ease-in-out;
}.site-header .nav-submenu ul {
list-style: none;
padding: 10px;
margin: 0;
margin-top: 15px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
min-width: 220px;
position: absolute;
top: 100%;
left: 0;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition:
opacity 0.3s ease,
transform 0.3s ease,
visibility 0.3s ease;
z-index: 10;
}.site-header .nav-submenu ul a {
padding: 12px 15px;
font-size: 13px;
text-transform: none;
color: #333;
}.site-header .nav-submenu ul a:hover {
background-color: #f8f9fa;
color: #e31837;
}.site-header .nav-item.nav-submenu:hover > ul {
opacity: 1;
visibility: visible;
transform: translateY(0);
}.site-header .nav-item.nav-submenu:hover > a::after {
transform: rotate(180deg);
}/* --- 4. MOBİL MENÜ İKONU VE ARKAPLAN --- */
.site-header .menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 5px;
margin-left: 20px;
z-index: 1001;
}.site-header .menu-toggle .bar {
display: block;
width: 25px;
height: 3px;
background-color: #000;
margin: 5px 0;
transition: all 0.4s;
}.site-header .menu-toggle.is-active .bar:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.site-header .menu-toggle.is-active .bar:nth-child(2) {
opacity: 0;
}
.site-header .menu-toggle.is-active .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}.nav-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
z-index: 998;
opacity: 0;
visibility: hidden;
transition:
opacity 0.5s ease,
visibility 0.5s ease;
}.nav-overlay.is-active {
opacity: 1;
visibility: visible;
}.header-genel-kapsayici .site-header {
margin: 0;
border-radius: 0;
width: 100%;
background: #fff;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}.header-genel-kapsayici .site-header .logo img {
filter: none;
}.header-genel-kapsayici .site-header .main-nav a {
color: var(--text-dark);
}/* --- 5. MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 1200px) {
.top-bar {
display: none;
}.site-header {
margin: 10px;
padding: 10px 10px;
border-radius: 30px;
}.site-header .main-nav {
border-left: none;
margin-left: 0;
}
.site-header .menu-toggle {
display: block;
}.site-header .main-nav ul#main-menu {
overflow-y: auto;
padding-bottom: 40px;
flex-direction: column;
position: fixed;
top: 0;
right: -100%;
width: 80%;
max-width: 320px;
height: 100vh;
background-color: #ffffff;
padding: 80px 30px 40px;
align-items: flex-start;
gap: 15px;
transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
z-index: 999;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}.site-header .main-nav ul#main-menu.is-active {
right: 0;
}
.site-header .main-nav ul a {
font-size: 16px;
width: 100%;
}
.site-header .main-nav ul li {
width: 100%;
position: relative;
}
.site-header .main-nav ul li .mobil-logo {
margin-bottom: 25px;
display: block !important;
}.site-header .nav-submenu > a::after {
position: absolute;
right: 0;
font-size: 1em;
}.site-header .nav-submenu ul {
position: static;
width: 100%;
opacity: 1;
visibility: visible;
transform: none;
box-shadow: none;
background-color: #f5f5f5;
padding: 0 0 0 15px;
margin-top: 0;
border-radius: 8px;
max-height: 0;
overflow: hidden;
transition:
max-height 0.4s ease-in-out,
padding 0.4s ease-in-out;
}.site-header .nav-submenu.submenu-open > ul {
max-height: 500px;
padding-top: 10px;
padding-bottom: 10px;
margin-top: 10px;
}
}.mobilbuttonlar {
display: none;
}@media (max-width: 1024px) {
.btn {
border-radius: 0;
display: flex;
justify-content: center;
align-items: center;
padding: 10px 20px;
width: 100%;
}.btn svg {
width: 24px;
height: 24px;
fill: currentColor;
}.mobilbuttonlar {
position: fixed;
width: 100%;
bottom: 0;
z-index: 999;
display: flex;
}.btn1 {
background: #1800ad;
border-color: #1800ad;
color: #fff;
}.btn2 {
background: #160391;
border-color: #160391;
color: #fff;
}.btn3 {
background: #11036e;
border-color: #11036e;
color: #fff;
}
}.whatsapp-btn {
position: fixed;
bottom: 20px; /* Ekranın altından mesafe */
left: 20px; /* Ekranın sağından mesafe */
z-index: 9999; /* Diğer elementlerin üstünde durması için */
display: flex;
align-items: center;
gap: 10px;
background-color: #25d366;
color: white;
font-size: 16px;
font-weight: bold;
padding: 12px 20px;
border-radius: 50px;
text-decoration: none;
box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}.whatsapp-btn:hover {
background-color: #1ebe57;
transform: translateY(-4px); /* Üzerine gelince yukarı zıplama */
box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
color: white;
}/* Mobilde yazıyı gizleyip sadece ikonu göstermek isterseniz (Opsiyonel) */
@media (max-width: 600px) {
.whatsapp-btn {
bottom: 60px;
padding: 15px; /* Sadece ikon için kare/daire formuna dönüştürür */
border-radius: 50%; /* Tam yuvarlak yapar */
}
.whatsapp-btn .wp-text {
display: none; /* Mobilde yerden tasarruf için yazıyı gizler */
}
}/* --- FOOTER MOBİL AYAR (SADECE ALT BANT) --- */
@media (max-width: 768px) {
/* Footer'ın ana gövdesini, widget alanlarını ve üst kısımlarını gizler */
footer .footer-main,
footer .footer-top,
footer .footer-widgets,
.footer-content {
display: none !important;
}/* Sadece en alttaki siyah/gri şeridi (copyright alanı) görünür bırakır */
.footer-bottom,
.footer-copyright,
.footer-bar,
.alt-bant {
display: block !important;
padding: 15px 0 !important;
text-align: center !important;
}
/* Eğer varsa alt bant içindeki sosyal medya ikonlarını merkeze alır */
.footer-bottom .container {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
}/* Sayfa en altında mobil butonlar (WhatsApp vs) varsa çakışmaması için padding */
@media (max-width: 1024px) {
body {
padding-bottom: 40px; /* Alttaki butonların içeriği kapatmaması için */
}
.site-header .logo img {
height: 25px;
}
}