:root {
--font1: "Montserrat", Helvetica, Arial, sans-serif;
--dark-color: #1a1a1a;
--text-color: #333;
--primary-orange: #e30613;
--radius: 3px;
}body {
font-family: var(--font1);
padding: 0px;
margin: 0px;
}body.menu-open {
overflow: hidden;
}
/**/svg {
width: 32px;
height: 32px;
}.yil {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 10000;
animation: fadeIn 1s ease-in-out;
}@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}/* Genel Ayarlar ve Değişkenler */
:root {
--dark-color: #1a1a1a;
--text-color: #333;
--light-text-color: #f1f1f1;
--border-color: #e0e0e0;
--header-height: 140px; /* Toplam header yüksekliği */
}* {
margin: 0;
padding: 0;
box-sizing: border-box;
}/* HEADER-MENU ANA STİLLERİ */
.header-menu {
position: relative;
width: 100%;
z-index: 1000;
background-color: #fff;
transition: transform 0.4s ease-in-out;
}/* Scroll Davranışı için Sınıflar */
.header-menu.is-hidden {
transform: translateY(-100%);
}
.header-menu.is-sticky {
position: fixed;
top: 0;
left: 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
animation: slideDown 0.5s ease-out forwards;
}@keyframes slideDown {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}/* Üst Bar */
.header-menu__top-bar {
background-color: var(--dark-color);
color: var(--light-text-color);
text-align: center;
padding: 8px 15px;
font-size: 0.8rem;
letter-spacing: 0.5px;
}/* Ana Header */
.header-menu__main-container {
padding: 0px 40px;
border-bottom: 1px solid var(--border-color);
}.header-menu__main {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0px;
max-width: 1600px;
margin: 0 auto;
}.header-menu__left,
.header-menu__right {
flex: 1;
}.header-menu__right {
display: flex;
justify-content: flex-end;
}.header-menu__center {
flex: 2;
display: flex;
justify-content: center;
}.header-menu__logo img {
max-height: 50px;
width: auto;
}/* Hamburger Menü */
.header-menu__hamburger {
background: none;
border: none;
cursor: pointer;
padding: 10px;
}
.header-menu__hamburger span {
display: block;
width: 25px;
height: 2px;
background-color: var(--text-color);
margin: 5px 0;
transition: all 0.3s ease;
}/* Sağ Taraf Aksiyonları */
.header-menu__actions {
display: flex;
align-items: center;
gap: 20px;
}
.header-menu__action-icon {
font-size: 1.2rem;
color: var(--text-color);
text-decoration: none;
position: relative;
}.header-menu__action-icon svg {
width: 22px; /* SVG ikon genişliği */
height: 22px; /* SVG ikon yüksekliği */
stroke-width: 1.5; /* İkon çizgi kalınlığı */
}.header-menu__cart-count {
position: absolute;
top: -5px;
right: -8px;
background-color: var(--dark-color);
color: white;
font-size: 0.7rem;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}/* Dil Seçici */
.header-menu__lang-switcher {
position: relative;
}
.header-menu__lang-btn {
background: none;
border: 1px solid var(--border-color);
border-radius: 20px;
padding: 5px 12px;
cursor: pointer;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 5px;
}
.header-menu__lang-btn .fa-chevron-down {
font-size: 0.7rem;
transition: transform 0.3s ease;
}
.header-menu__lang-dropdown {
position: absolute;
top: 120%;
right: 0;
background-color: white;
border: 1px solid var(--border-color);
border-radius: 5px;
list-style: none;
padding: 5px 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.3s ease;
}
.header-menu__lang-switcher:hover .header-menu__lang-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.header-menu__lang-switcher:hover .header-menu__lang-btn .fa-chevron-down {
transform: rotate(180deg);
}
.header-menu__lang-dropdown li a {
display: block;
padding: 8px 20px;
color: var(--text-color);
text-decoration: none;
font-size: 0.9rem;
}
.header-menu__lang-dropdown li a:hover {
background-color: #f7f7f7;
}/* Masaüstü Navigasyon */
.header-menu-nav {
display: flex;
justify-content: center;
gap: 33px;
padding-top: 12px;
padding-bottom: 12px;
border-top: 1px solid #564a4730;
}.header-menu-nav li {
list-style: none;
}.header-menu-nav a {
color: var(--text-color);
text-decoration: none;
font-size: 16px;
font-weight: 600;
padding: 5px 0;
position: relative;
}.header-menu-nav a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background-color: var(--dark-color);
transition: width 0.3s ease;
}
.header-menu-nav a:hover::after {
width: 100%;
}/* OFFCANVAS - SOLDAN AÇILAN MENÜ */
.header-menu__offcanvas-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2000;
pointer-events: none;
}
.header-menu__offcanvas-overlay {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 0.4s ease;
}
.header-menu__offcanvas-menu {
position: absolute;
top: 0;
left: 0;
width: 100%;
max-width: 750px;
height: 100%;
background-color: var(--dark-color);
color: var(--light-text-color);
transform: translateX(-100%);
transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
display: flex;
}
/* Açık Durum */
.header-menu__offcanvas-container.is-open {
pointer-events: auto;
}
.header-menu__offcanvas-container.is-open .header-menu__offcanvas-overlay {
opacity: 1;
}
.header-menu__offcanvas-container.is-open .header-menu__offcanvas-menu {
transform: translateX(0);
}/* Offcanvas İçeriği */
.header-menu__offcanvas-content {
flex: 1;
padding: 30px;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.header-menu__offcanvas-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
}
.header-menu__offcanvas-title {
font-size: 1.8rem;
font-weight: 300;
}
.header-menu__offcanvas-close {
background: none;
border: none;
color: var(--light-text-color);
font-size: 2.5rem;
cursor: pointer;
line-height: 1;
}/* Offcanvas Navigasyon */
.header-menu__offcanvas-nav ul {
list-style: none;
}
.header-menu__offcanvas-nav ul li {
margin-bottom: 10px;
}
.header-menu__offcanvas-main-link {
color: var(--light-text-color);
text-decoration: none;
font-size: 1.3rem;
font-weight: 500;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
transition: color 0.3s;
padding: 25px 0px;
border-top: 1px solid #ffffff0f;
}
.header-menu__offcanvas-main-link:hover {
color: #aaa;
}.header-menu__offcanvas-main-link .arrow {
width: 1rem; /* font-size yerine width/height kullanıyoruz */
height: 1rem;
stroke: currentColor; /* Linkin rengini miras alır */
transition: transform 0.3s ease;
flex-shrink: 0; /* Küçülmesini engeller */
transform: rotate(-90deg);
}.header-menu__offcanvas-nav .submenu {
list-style: none;
padding-left: 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease-in-out;
}
.header-menu__offcanvas-nav .submenu a {
color: #ccc;
text-decoration: none;
display: block;
padding: 10px 0;
font-size: 1.1rem;
transition: color 0.3s;
}
.header-menu__offcanvas-nav .submenu a:hover {
color: white;
}
/* Alt Menü Açık Durum */
.header-menu__offcanvas-nav li.is-open > .submenu {
max-height: 500px; /* Yeterince büyük bir değer */
}
.header-menu__offcanvas-nav li.is-open > a .arrow {
transform: rotate(180deg);
}/* Offcanvas Alt Kısım */
.header-menu__offcanvas-bottom {
margin-top: auto;
padding-top: 20px;
}
.header-menu__offcanvas-search {
position: relative;
margin-bottom: 20px;
}
.header-menu__offcanvas-search i {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #aaa;
}.header-menu__offcanvas-search svg {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #aaa;
width: 18px; /* Boyutunu belirliyoruz */
height: 18px;
}.header-menu__offcanvas-search input {
width: 100%;
background: none;
border: 1px solid #555;
border-radius: 5px;
padding: 12px 15px 12px 40px;
color: white;
font-size: 1rem;
}
.header-menu__offcanvas-login,
.header-menu__offcanvas-contact a {
color: #ccc;
text-decoration: none;
font-size: 1rem;
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
transition: color 0.3s;
}
.header-menu__offcanvas-login:hover,
.header-menu__offcanvas-contact a:hover {
color: white;
}.header-menu__offcanvas-login svg,
.header-menu__offcanvas-contact a svg {
width: 20px;
height: 20px;
stroke-width: 1.5;
flex-shrink: 0;
}.header-menu__offcanvas-contact {
border-top: 1px solid #444;
padding-top: 20px;
margin-top: 20px;
}
.header-menu__offcanvas-lang {
margin-top: 20px;
}
.header-menu__offcanvas-lang button {
background: none;
border: 1px solid #555;
color: #ccc;
padding: 5px 10px;
cursor: pointer;
margin-right: 5px;
}
.header-menu__offcanvas-lang button.active {
border-color: white;
color: white;
}/* Offcanvas Resim Alanı */
.header-menu__offcanvas-image-preview {
flex: 0 0 380px; /* Genişliği sabit */
position: relative;
overflow: hidden;
}
.header-menu__offcanvas-image-preview img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.header-menu__offcanvas-image-preview img.is-visible {
opacity: 1;
}/* MOBİL GÖRÜNÜM (RESPONSIVE) */
@media (max-width: 992px) {
.header-menu-nav {
display: none;
}
.header-menu__actions {
gap: 15px;
}
.header-menu__lang-switcher {}
.header-menu__action-icon{
display: none;
}
.header-menu__center {
flex: 3;
}
.header-menu__main {
padding: 15px;
}
}@media (max-width: 768px) {
.header-menu__offcanvas-menu {
max-width: 100%;
}
.header-menu__offcanvas-image-preview {
display: none; /* Mobilde resim alanını gizle */
}
.header-menu__action-icon:not(:last-child) {
display: none; /* Sadece sepet ikonu görünsün */
}
.header-menu__center {
order: -1; /* Logoyu sola al */
flex: none;
justify-content: flex-start;
}
.header-menu__left {
flex: none;
}
.header-menu__main-container {
padding: 0px 0px;
}
.header-menu__right {
order: 1; /* Sağdaki ikonları en sağa al */
}
.header-menu__hamburger {
display: block;
order: 2;
margin-left: 20px;
}
.header-menu__main {
justify-content: space-between;
}
}/**/.container {
max-width: 1250px;
}a.WhatsApp1 {
display: flex;
font-size: 18px;
background: #2eb843;
font-weight: 600;
width: 51px;
height: 51px;
position: fixed;
bottom: 20px;
left: 20px;
border-radius: 50%;
-webkit-transition: all 0.1s ease-out 0s;
-moz-transition: all 0.1s ease-out 0s;
-ms-transition: all 0.1s ease-out 0s;
-o-transition: all 0.1s ease-out 0s;
transition: all 0.1s ease-out 0s;
color: #fff;
align-items: center;
justify-content: center;
animation: whatsapp infinite 2s linear;
z-index: 9999;
}@keyframes whatsapp {
0% {
box-shadow: 0 0 0 0 #2eb843;
}50% {
box-shadow: 0 0 0 10px #015dc700;
}100% {
box-shadow: 0 0 0 0 #015dc700;
}
}a.WhatsApp1 svg {
fill: #fff;
width: 40%;
height: 40%;
}.mobilbuttonlar {
display: none;
}@media (max-width: 1024px) {
.header-menu__logo img {
max-height: 30px;
}.header-menu__right .banner-btn.btn-siyah {
padding: 12px 10px;
}
.header-menu__offcanvas-nav ul li a{
color: #ccc;
text-decoration: none;
font-size: 1rem;
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
transition: color 0.3s;
text-align: center;
justify-content: center;
font-size: 25px;
}a.WhatsApp1 {
bottom: 80px;
}.yil {
bottom: 80px;
}.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: #e30613;
border-color: #e30613;
color: #fff;
}.btn2 {
background: #c00510;
border-color: #c00510;
color: #fff;
}.btn3 {
background: #a3030c;
border-color: #a3030c;
color: #fff;
}
}/**/.banner-btn {
padding: 12px 40px;
background: transparent;
border: 2px solid #fff;
color: #fff;
text-decoration: none;
font-weight: 500;
display: inline-flex;
justify-content: center;
transition: 0.3s;
}.banner-btn:hover {
background: #fff;
color: #000;
}.banner-btn.btn-siyah {
padding: 12px 40px;
background: transparent;
border: 2px solid #e30613;
color: #e30613;
text-decoration: none;
font-weight: 500;
display: inline-flex;
justify-content: center;
transition: 0.3s;
}.banner-btn.btn-siyah:hover {
background: #e30613;
color: #fff;
}