/* --- GENEL AYARLAR --- */:root {
--primary-orange: #df0000;
--mgm-red: #df0000;
--mgm-dark: #111111;
--bg-top-bar: #f4f4f4;
--text-dark: #2a2a2a;
--text-gray: #4a4a4a;
--border-light: #f2f2f2;
--logo-font: "Arial Black", Helvetica, Arial, sans-serif;
--font2: "Urbanist", Helvetica, Arial, sans-serif;
--font3: "Inter", Helvetica, Arial, sans-serif;
}body.menu-open {
overflow: hidden;
}body {
font-family: var(--font2);
padding: 0px;
margin: 0px;
}body.menu-open {
overflow: hidden;
}svg {
width: 14px;
height: 14px;
}/* --- GENEL DEĞİŞKENLER & FONT --- */.container {
max-width: 1250px;
}.site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: #f2f2f2;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
padding-bottom: 8px;
}.header-container {
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
box-sizing: border-box;
}body.menu-open {
overflow: hidden;
}/* --- 1. KATMAN: ÜST GRİ BAR VE BUTONLAR --- */
.header-top {
background-color: var(--bg-top-bar);
border-bottom: 1px solid var(--border-light);
position: relative;
z-index: 5;
}
.header-top .header-container {
height: 45px;
}
.top-left,
.top-right {
display: flex;
align-items: center;
height: 100%;
}/* Ön Plandaki Aksiyon Butonları */
.top-action-links {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 10px;
}
.btn-action {
display: flex;
align-items: center;
gap: 6px;
text-decoration: none;
font-size: 13px;
font-weight: 700;
padding: 8px 16px;
border-radius: 4px;
transition: all 0.3s ease;
}/* Gönderi Takip (Kırmızı - En Dikkat Çekici) */
.btn-red {
background-color: var(--mgm-red);
color: #fff;
}
.btn-red:hover {
background-color: #c91422;
box-shadow: 0 3px 8px rgba(227, 24, 40, 0.3);
}/* Kurye Takip (Açık Gri) */
.btn-gray {
background-color: #e5e5e5;
color: var(--text-dark);
}
.btn-gray:hover {
background-color: #d4d4d4;
}/* Teklif Al (Çerçeveli) */
.btn-outline {
background-color: transparent;
border: 2px solid var(--mgm-red);
color: var(--mgm-red);
padding: 6px 14px;
}
.btn-outline:hover {
background-color: var(--mgm-red);
color: #fff;
}/* Sağ Taraf Linkleri ve Telefon */
.top-nav-links {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
.secondary-links a {
color: var(--text-gray);
font-size: 13px;
font-weight: 600;
text-decoration: none;
margin-left: 15px;
transition: color 0.2s;
}
.secondary-links a:hover {
color: var(--mgm-red);
}.divider {
width: 1px;
height: 20px;
background-color: #d1d1d1;
margin: 0 20px;
}
.utility-link {
display: flex;
align-items: center;
gap: 6px;
text-decoration: none;
color: var(--text-dark);
font-size: 14px;
font-weight: 700;
transition: color 0.2s;
}
.utility-link:hover {
color: var(--mgm-red);
}
.lang-selector {
margin-right: 25px;
}/* Telefon Numarası Vurgusu */
.phone-link {
color: var(--mgm-red);
font-size: 15px;
font-weight: 800;
letter-spacing: 0.5px;
}/* --- 2. KATMAN: ALT BEYAZ BAR --- */
.header-bottom {
background-color: #ffffff;
position: relative;
z-index: 4;
}
.header-bottom .header-container {
height: 75px;
}/* Logo */
.site-header .logo {
display: flex;
align-items: center;
text-decoration: none;
gap: 12px;
}
.site-header .logo img {
height: 50px;
width: auto;
margin-top: 10px;
}
.brand-name {
font-size: 26px;
font-weight: 800;
color: var(--mgm-red);
letter-spacing: -0.5px;
font-family: var(--logo-font);
}/* Ana Menü */
.site-header .main-nav {
flex-grow: 1;
margin-left: 40px;
}
.site-header .main-nav ul#main-menu {
display: flex;
list-style: none;
gap: 35px;
margin: 0;
padding: 0;
align-items: center;
justify-content: end;
}
.site-header .main-nav > ul > li:nth-child(3) {
display: none;
}.site-header .main-nav > ul > li.home a svg {
width: 15px;
height: 15px;
}.site-header .main-nav > ul > li > a {
color: var(--text-dark);
font-weight: 600;
font-size: 15px;
text-decoration: none;
padding: 28px 0;
display: flex;
align-items: center;
transition: color 0.2s;
}
.site-header .main-nav > ul > li > a:hover {
color: var(--mgm-red);
}/* Dropdown (Alt menüleri aynen koruduk) */
.site-header .nav-item.nav-submenu > a::after {
content: "";
display: inline-block;
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid currentColor;
margin-left: 8px;
transition: transform 0.3s;
}
.site-header .nav-item.nav-submenu:hover > a::after {
transform: rotate(180deg);
}
.site-header .nav-submenu ul {
position: absolute;
top: 100%;
left: 0;
list-style: none;
background-color: #fff;
border: 1px solid var(--border-light);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
min-width: 260px;
padding: 10px 0;
margin: 0;
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 10;
border-top: 3px solid var(--mgm-red);
}
.site-header .nav-submenu:hover > ul {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.site-header .nav-submenu ul a {
padding: 12px 25px;
display: block;
font-size: 14px;
color: var(--text-gray);
transition: all 0.2s;
font-weight: 500;
}
.site-header .nav-submenu ul a:hover {
background-color: #f9f9f9;
color: var(--mgm-red);
padding-left: 30px;
}/* Arama Butonu */
.bottom-tools {
display: flex;
align-items: center;
gap: 20px;
}
.search-btn-circle {
background-color: var(--bg-top-bar);
border: none;
cursor: pointer;
color: var(--text-dark);
width: 45px;
height: 45px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.search-btn-circle:hover {
background-color: var(--mgm-red);
color: #fff;
transform: scale(1.05);
}/* --- 3. KATMAN: AÇILIR ARAMA PANELİ (Sihir Burada) --- */
.search-panel {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: #ffffff;
border-top: 1px solid var(--border-light);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
padding: 25px 0;
z-index: 3;
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Çok yumuşak süzülme efekti */
}/* Body'e search-active class'ı eklenince arama paneli aşağı kayar */
.site-header.search-active .search-panel {
transform: translateY(0);
opacity: 1;
visibility: visible;
}.search-form {
display: flex;
align-items: center;
width: 100%;
max-width: 900px;
margin: 0 auto;
position: relative;
}
.search-icon {
position: absolute;
left: 15px;
color: var(--text-gray);
}
.search-form input {
width: 100%;
padding: 15px 15px 15px 50px;
font-size: 18px;
border: 2px solid var(--border-light);
border-radius: 8px;
outline: none;
font-family: inherit;
font-weight: 500;
transition: border-color 0.3s;
}
.search-form input:focus {
border-color: var(--mgm-red);
}
.close-search-btn {
margin-left: 20px;
background: none;
border: none;
font-size: 15px;
font-weight: 700;
color: var(--text-gray);
cursor: pointer;
transition: color 0.2s;
white-space: nowrap;
}
.close-search-btn:hover {
color: var(--mgm-red);
}/* --- MOBİL GÖRÜNÜM --- */
.mobile-logo-item {
display: none;
}
.site-header .menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 5px;
z-index: 1001;
}
.site-header .menu-toggle .bar {
display: block;
width: 24px;
height: 2px;
background-color: var(--mgm-dark);
margin: 5px 0;
transition: all 0.3s;
}
.site-header .menu-toggle.is-active .bar:nth-child(1) {
transform: translateY(7px) 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(-7px) rotate(-45deg);
}@media (max-width: 1100px) {
.d-desktop {
display: none !important;
}
.site-header .menu-toggle {
display: block;
}
.header-bottom .header-container {
height: 65px;
padding: 0 20px;
}
.site-header .logo img {
height: 32px;
}
.brand-name {
font-size: 20px;
}
.site-header .main-nav {
margin-left: 0;
}/* Mobil Menü Konumu */
.site-header .main-nav ul#main-menu {
flex-direction: column;
position: fixed;
top: 0;
left: -100%;
width: 320px;
height: 100vh;
background-color: #fff;
padding: 30px 20px;
align-items: flex-start;
gap: 0;
transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
z-index: 999;
overflow-y: auto;
box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
}
.site-header .main-nav ul#main-menu.is-active {
left: 0;
}/* Mobilde Aksiyon Butonlarını Menü İçine Almak İçin Ekstra Düzenleme Gerekirse Diye */
.mobile-logo-item {
display: block;
width: 100%;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-light);
padding-bottom: 15px;
}
.site-header .main-nav > ul > li {
width: 100%;
border-bottom: 1px solid #f0f0f0;
}
.site-header .main-nav > ul > li > a {
padding: 16px 0;
font-size: 16px;
font-weight: 600;
justify-content: space-between;
}
.site-header .nav-submenu > a::after {
border-top: 6px solid var(--text-gray);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
margin-left: auto;
}
.site-header .nav-submenu ul {
position: static;
width: 100%;
opacity: 1;
visibility: visible;
transform: none;
box-shadow: none;
border: none;
background-color: var(--bg-top-bar);
padding: 0;
margin-top: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
border-top: none;
}
.site-header .nav-submenu.submenu-open > ul {
max-height: 400px;
}
.site-header .nav-submenu.submenu-open > a::after {
transform: rotate(180deg);
color: var(--mgm-red);
border-top-color: var(--mgm-red);
}
.site-header .nav-submenu ul a {
padding: 12px 20px;
}
}.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.4s ease;
}
.nav-overlay.is-active {
opacity: 1;
visibility: visible;
}/* Buton */
.btn-genel {
align-self: flex-start;
display: inline-flex;
align-items: center;
gap: 15px;
background: #ffffff;
color: #000000;
padding: 12px 20px 12px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 700;
font-size: 16px;
transition: all 0.3s ease;
border: solid 1px #ffffff;
}.btn-genel:hover {
background: #df0000;
border-color: #df0000;
color: #ffffff;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(227, 24, 40, 0.35);
}.btn-genel .icon-arrow {
width: 38px;
height: 38px;
background: #f1f5f9;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #000;
font-size: 18px;
transition: all 0.3s ease;
}.btn-genel:hover .icon-arrow {
background: rgba(255, 255, 255, 0.2);
color: #fff;
}/* Ana Buton Tasarımı ve Konumu (Sol Alt) */
.WhatsApp1 {
position: fixed;
bottom: 20px;
left: 20px; /* Sol alt köşe için left kullanıyoruz */
width: 50px;
height: 50px;
background-color: #25d366; /* WhatsApp Orijinal Yeşili */
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
z-index: 9999; /* Sayfadaki diğer her şeyin üstünde görünmesi için */
text-decoration: none;
transition: all 0.3s ease-in-out;
animation: pulse-whatsapp 2s infinite; /* Dikkat çekici nabız animasyonu */
}/* İçindeki SVG İkonunun Tasarımı */
.WhatsApp1 svg {
width: 22px;
height: 22px;
fill: #ffffff; /* İkon rengini beyaz yapıyoruz */
transition: transform 0.3s ease;
}/* Hover (Üzerine Gelme) Efekti */
.WhatsApp1:hover {
background-color: #128c7e; /* Üzerine gelince biraz koyulaşsın */
transform: scale(1.1); /* Hafifçe büyüsün */
box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
animation: none; /* Üzerine gelince animasyon dursun */
}.WhatsApp1:hover svg {
transform: rotate(15deg); /* İkon çok hafif dönsün */
}/* "Bize Ulaşın" Baloncuğu (Tooltip) - İsteğe Bağlı */
.WhatsApp1::before {
content: "Bize Ulaşın";
position: absolute;
left: 80px; /* Butonun sağ tarafında çıkacak */
background-color: #ffffff;
color: #333333;
padding: 8px 15px;
border-radius: 20px;
font-family: Arial, sans-serif;
font-size: 14px;
font-weight: 600;
white-space: nowrap;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
opacity: 0;
visibility: hidden;
transform: translateX(-10px);
transition: all 0.3s ease-in-out;
pointer-events: none;
}.WhatsApp1:hover::before {
opacity: 1;
visibility: visible;
transform: translateX(0);
}/* Nabız (Pulse) Animasyonu */
@keyframes pulse-whatsapp {
0% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
}
70% {
box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
}
}/* Mobil Cihazlar İçin Ufak Ayar (Çok yer kaplamaması için) */
@media (max-width: 768px) {
.WhatsApp1 {
bottom: 20px;
left: 20px;
width: 50px;
height: 50px;
}
.WhatsApp1 svg {
width: 28px;
height: 28px;
}
.WhatsApp1::before {
display: none; /* Mobilde yazıyı gizle, sadece ikon kalsın */
}
}.mobile-bottom-nav-container *,
.mobile-bottom-nav-container *::before,
.mobile-bottom-nav-container *::after {
box-sizing: border-box;
}.mobile-bottom-nav-container {
position: fixed;
bottom: 25px;
/* Ekranın en altından biraz yukarıda (Yüzen efekt) */
left: 50%;
transform: translateX(-50%);
width: calc(100% - 40px);
/* Kenarlardan boşluk */
max-width: 450px;
background: rgba(255, 255, 255, 0.95);
/* Hafif şeffaf arkaplan */
backdrop-filter: blur(12px);
/* Arkasını hafif buzlu gösterir (Glassmorphism) */
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.8);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
/* Yumuşak ve geniş gölge */
display: flex;
justify-content: space-around;
align-items: center;
padding: 10px 5px;
z-index: 9999;
border-radius: 24px;
/* Tamamen oval modern köşeler */
}.mobile-bottom-nav-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
color: #737373;
font-size: 11px;
font-weight: 600;
transition: all 0.3s ease;
-webkit-tap-highlight-color: transparent;
flex: 1;
position: relative;
}.mobile-bottom-nav-icon {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
font-size: 20px;
border-radius: 50%;
margin-bottom: 5px;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
/* Yaylanma efekti */
border: solid 1px #f1f1f1;
}.mobile-bottom-nav-icon svg {
width: 25px;
height: 25px;
}/* Hover (Üzerine Gelme) ve Aktif Durumlar */
.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:active {
color: #df0000;
}.mobile-bottom-nav-item:hover .mobile-bottom-nav-icon,
.mobile-bottom-nav-item:active .mobile-bottom-nav-icon {
color: #df0000;
background: rgba(223, 0, 0, 0.08);
}/* Teklif Al Butonu (Özel Kırmızı Vurgu) */
.mobile-bottom-nav-item.mobile-bottom-nav-highlight {
color: #df0000;
}.mobile-bottom-nav-item.mobile-bottom-nav-highlight .mobile-bottom-nav-icon {
background: #df0000;
color: #ffffff;
width: 58px;
height: 58px;
font-size: 24px;
margin-top: -38px;
/* Mobilde dışarı (yukarı) taşma efekti */
border: 4px solid #ffffff;
box-shadow: 0 2px 5px rgba(223, 0, 0, 0.35);
/* Kırmızı parlama gölgesi */
}.mobile-bottom-nav-item.mobile-bottom-nav-highlight:hover
.mobile-bottom-nav-icon,
.mobile-bottom-nav-item.mobile-bottom-nav-highlight:active
.mobile-bottom-nav-icon {
background: #b80000;
/* Tıklanınca biraz daha koyu kırmızı */
color: #ffffff;
transform: translateY(-4px) scale(1.05);
}/* =========================================
MASAÜSTÜ/WEB GÖRÜNÜMÜ (Sağda Sabit)
========================================= */
@media (min-width: 768px) {
.mobile-bottom-nav-container {
top: 50%;
/* Dikeyde ortala */
bottom: auto;
right: 10px;
/* Ekranın sağına sabitle */
left: auto;
transform: translateY(-50%);
flex-direction: column;
/* Dikey sırala */
width: 80px;
/* Sabit genişlik */
max-width: none;
padding: 0px 0;
font-size: 12px;
}.mobile-bottom-nav-item {
margin: 15px 0;
/* Butonlar arası dikey boşluk */
width: 100%;
}.mobile-bottom-nav-text {
text-align: center;
line-height: 1.2;
padding: 0 5px;
}/* Web'de Teklif Al butonunun dışarı (sola) taşması */
.mobile-bottom-nav-item.mobile-bottom-nav-highlight .mobile-bottom-nav-icon {
margin-top: 0;
/* Yukarı taşmayı iptal et */
margin-left: 0px;
/* Webde sola doğru menüden dışarı taşır */
}/* Web'de hover efekti yönünü sola doğru ayarla */
.mobile-bottom-nav-item.mobile-bottom-nav-highlight:hover
.mobile-bottom-nav-icon,
.mobile-bottom-nav-item.mobile-bottom-nav-highlight:active
.mobile-bottom-nav-icon {
transform: translateX(0px) scale(1.05);
}
}/* --- MOBİL MODERNİZASYON (768px ve altı) --- */@media (max-width: 768px) {
/* 1. Üst Barı Gizle veya Daralt (Ekran alanı kazanmak için) */
.header-top {
display: none; /* Mobilde üstteki gri barı gizlemek daha temiz bir görüntü sağlar */
}.site-header {
padding-bottom: 0;
}.header-bottom .header-container {
height: 60px; /* Header'ı biraz daraltalım */
padding: 0 15px;
}/* 2. Logo ve Font Ayarı */
.brand-name {
font-size: 18px;
letter-spacing: -1px;
}/* 3. Yan Menü (Drawer) Tasarımı */
.site-header .main-nav ul#main-menu {
width: 280px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(15px); /* Arkayı bulanıklaştır */
-webkit-backdrop-filter: blur(15px);
border-right: 1px solid rgba(0,0,0,0.05);
padding-top: 60px;
}.site-header .main-nav > ul > li > a {
font-size: 15px;
padding: 15px 20px;
color: var(--mgm-dark);
border-bottom: 1px solid #f8f8f8;
}/* 4. WhatsApp Butonu Konumu (Alt bar ile çakışmaması için) */
.WhatsApp1 {
display: none;
bottom: 95px; /* Alt barın üzerinde durması için yükselttik */
left: 15px;
width: 45px;
height: 45px;
box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}/* 5. Alt Navigasyon (Yüzen Bar) İyileştirmesi */
.mobile-bottom-nav-container {
bottom: 15px; /* Kenara daha yakın */
width: calc(100% - 30px);
border-radius: 20px;
padding: 8px 5px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}.mobile-bottom-nav-icon {
width: 35px;
height: 35px;
}.mobile-bottom-nav-item.mobile-bottom-nav-highlight .mobile-bottom-nav-icon {
width: 52px;
height: 52px;
margin-top: -35px; /* Daha dengeli bir taşma efekti */
border-width: 5px;
}.mobile-bottom-nav-text {
font-size: 10px;
margin-top: 2px;
}/* 6. Arama Paneli (Mobilde Tam Ekran) */
.search-panel {
padding: 15px 0;
}
.search-form {
padding: 0 15px;
flex-direction: column;
gap: 10px;
}.search-form input {
font-size: 16px;
padding: 12px 15px 12px 45px;
}.close-search-btn {
margin-left: 0;
width: 100%;
text-align: center;
padding: 10px;
background: #f4f4f4;
border-radius: 8px;
}/* 7. Hamburger Menü İkonu */
.site-header .menu-toggle .bar {
width: 22px;
margin: 4px 0;
}
}@media(max-width:1024px){
.site-header .logo{
width: 50%;
}.phone-link{
margin-right: 15px;
}.site-header .main-nav ul#main-menu{
justify-content: start;
}
}/* Küçük Ekranlar İçin Ekstra (iPhone SE vb.) */
@media (max-width: 380px) {
.brand-name {
display: none; /* Çok küçük ekranlarda sadece logo kalsın */
}
.mobile-bottom-nav-text {
display: none; /* Sadece ikonlar kalsın */
}
.mobile-bottom-nav-container {
padding: 12px 5px;
}
.mobile-bottom-nav-item.mobile-bottom-nav-highlight .mobile-bottom-nav-icon {
margin-top: 0; /* Küçük ekranda taşma yapmasın */
}
}