/* =========================================
GENEL AYARLAR VE RESET
========================================= */
*,
*::before,
*::after {
box-sizing: border-box;
}:root {
--font1: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
--font2: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
--primary-orange: #881188;
--radius: 3px;
}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 .1s ease-out 0s;
-moz-transition: all .1s ease-out 0s;
-ms-transition: all .1s ease-out 0s;
-o-transition: all .1s ease-out 0s;
transition: all .1s ease-out 0s;
color: #fff;
align-items: center;
justify-content: center;
animation: whatsapp infinite 2s linear;
z-index: 9999
}a.WhatsApp1 svg {
width: 24px;
height: 24px;
fill: white;
}@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
}
}@media(max-width:1024px){
a.WhatsApp1 {
bottom: 60px
}
}body {
margin: 0;
font-family: var(--font1);
}/* =========================================
HEADER ANA KAPSAYICI (.header-menu)
Tüm classlar bu prefix ile başlar ki çakışma olmasın.
========================================= */
.header-menu {
--primary-color: #7e027e;
/* Ulta Turuncusu */
--text-dark: #1f1f1f;
--text-light: #595959;
--border-color: #e5e5e5;
--bg-white: #ffffff;
--bg-gray: #f9f9f9;
width: 100%;
background-color: var(--bg-white);
position: fixed;
z-index: 1000;
top: 0px;
}.header-menu a {
text-decoration: none;
color: var(--text-dark);
}.header-menu ul {
list-style: none;
margin: 0;
padding: 0;
}/* =========================================
ÜST BAR (Top Utility Bar)
========================================= */
.header-menu__top-bar {
background-color: #d4bad433;
border-bottom: 1px solid var(--border-color);
padding: 8px 40px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
}.header-menu__promo {
color: #7d037d;
font-weight: 500;
}.header-menu__top-bar a {
color: #881188;
}.header-menu__utility-nav {
display: flex;
gap: 20px;
}.header-menu__utility-nav a:hover {
text-decoration: underline;
}/* =========================================
ANA BAR (Main Nav Bar)
========================================= */
.header-menu__main-bar {
padding: 4px 40px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-color);
}.header-menu__logo {
display: flex;
align-items: center;
}.header-menu__logo img {
height: 82px;
}/* Ana Linkler */
.header-menu__main-nav {
display: flex;
align-items: center;
margin-left: auto;
margin-right: 27px;
}.header-menu__nav-list {
display: flex;
gap: 30px;
}.header-menu__nav-list > li > a {
font-size: 15px;
font-weight: 500;
padding: 10px 0;
display: inline-flex;
transition: color 0.2s;
align-items: center;
}.header-menu__nav-list > li > a svg {
width: 20px;
height: 20px;
margin-right: 12px;
stroke: currentColor;
fill: none;
stroke-width: 1.5;
}.header-menu__nav-list > li > a:hover {
color: var(--primary-color);
}/* Dropdown (Shop Menüsü İçin Ürünler) */
.header-menu__dropdown-trigger {
position: relative;
}.header-menu__dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background-color: var(--bg-white);
border: 1px solid var(--border-color);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
min-width: 260px;
padding: 10px 0;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.3s ease;
}.header-menu__dropdown-trigger:hover .header-menu__dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}.header-menu__dropdown-menu li a {
display: flex;
align-items: center;
padding: 12px 20px;
font-size: 14px;
transition: background 0.2s;
}.header-menu__dropdown-menu li a:hover {
background-color: var(--bg-gray);
color: var(--primary-color);
}.header-menu__dropdown-menu svg {
width: 20px;
height: 20px;
margin-right: 12px;
stroke: currentColor;
fill: none;
stroke-width: 1.5;
}/* Sağ Taraf İkonlar ve Arama */
.header-menu__actions {
display: flex;
align-items: center;
gap: 27px;
}.header-menu__search {
position: relative;
display: flex;
align-items: center;
width: 250px;
}.header-menu__search svg {
position: absolute;
left: 0;
width: 20px;
height: 20px;
color: var(--text-dark);
}.header-menu__search input {
width: 100%;
border: none;
border-bottom: 1px solid var(--text-dark);
padding: 8px 8px 8px 30px;
font-size: 15px;
outline: none;
background: transparent;
}.header-menu__search input:focus {
border-bottom: 2px solid var(--primary-color);
}.header-sosyal {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
gap: 15px;
}.header-sosyal svg {
width: 17px;
height: 17px;
fill: #881188;
}.header-menu__hamburger {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 0;
}.header-menu__hamburger svg {
width: 28px;
height: 28px;
stroke: var(--text-dark);
}/* =========================================
MOBİL MENÜ (Off-Canvas)
========================================= */
.header-menu__mobile-sidebar {
position: fixed;
top: 0;
left: -100%;
width: 300px;
height: 100vh;
background-color: var(--bg-white);
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
transition: left 0.3s ease;
z-index: 1001;
overflow-y: auto;
display: flex;
flex-direction: column;
}.header-menu__mobile-sidebar.is-active {
left: 0;
}.header-menu__overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}.header-menu__overlay.is-active {
opacity: 1;
visibility: visible;
}.header-menu__mobile-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid var(--border-color);
}.header-menu__close-btn {
background: none;
border: none;
font-size: 30px;
line-height: 1;
cursor: pointer;
}/* JavaScript ile Klonlanan Mobil Menü İçeriği Stilleri */
.header-menu__mobile-content {
padding: 20px;
}.header-menu__mobile-content ul {
display: flex;
flex-direction: column;
gap: 15px;
}.header-menu__mobile-content > ul:first-child {
border-bottom: 1px solid var(--border-color);
padding-bottom: 20px;
margin-bottom: 20px;
}.header-menu__mobile-content a {
font-size: 16px;
font-weight: 500;
display: flex;
align-items: center;
}.header-menu__mobile-content .header-menu__dropdown-menu {
position: static;
opacity: 1;
visibility: visible;
box-shadow: none;
border: none;
transform: none;
padding-left: 20px;
display: none;
/* Mobilde tıklandığında açılması için kapalı başlasın */
}.header-menu__mobile-content
.header-menu__dropdown-trigger.is-open
.header-menu__dropdown-menu {
display: block;
margin-top: 10px;
}/* =========================================
RESPONSIVE (MOBİL UYUM)
========================================= */
@media (max-width: 1024px) {
.header-menu__top-bar,
.header-menu__main-nav {
display: none;
}.header-menu__main-bar {
padding: 15px 20px;
}.header-menu__hamburger {
display: block;
}.header-menu__search {
display: none;
/* Mobilde arama barını gizleyip sadece ikonu bırakabiliriz ama Ulta'da logo ortadadır. Basit tuttuk. */
}
}.phone-container {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 8px 24px 8px 8px; /* Sol tarafı ikon için daha dar */
background-color: #ffffff;
border: 2px solid #f0f4f4;
border-radius: 50px;
text-decoration: none;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}/* İkonun içindeki daire */
.phone-icon-circle {
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
background-color: #eaf6f6;
border-radius: 50%;
color: #2ba6a6;
transition: all 0.3s ease;
}/* Telefon Numarası Yazısı */
.phone-text {
display: flex;
flex-direction: column;
}.phone-label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
color: #718096;
margin-bottom: -2px;
}.phone-number {
font-size: 16px;
font-weight: 700;
color: #2d3748;
transition: all 0.3s ease;
}/* HOVER (Üzerine Gelince) EFEKTLERİ */
.phone-container:hover {
border-color: #2ba6a6;
transform: scale(1.03);
box-shadow: 0 10px 20px rgba(43, 166, 166, 0.15);
}.phone-container:hover .phone-icon-circle {
background-color: #2ba6a6;
color: #ffffff;
}.phone-container:hover .phone-number {
color: #2ba6a6;
}/* Telefon Çalma Animasyonu */
.phone-container:hover .svg-icon {
animation: phone-wiggle 0.5s infinite;
}@keyframes phone-wiggle {
0% {
transform: rotate(0deg);
}
25% {
transform: rotate(-15deg);
}
50% {
transform: rotate(15deg);
}
75% {
transform: rotate(-15deg);
}
100% {
transform: rotate(0deg);
}
}/* Küçük ekranlar için numara fontunu biraz küçültelim */
@media (max-width: 480px) {
.phone-number {
font-size: 15px;
}
.phone-container {
padding: 6px 16px 6px 6px;
}
}.header-top-dil {
display: flex;
align-items: center;
gap: 10px;
}.header-top-dil span {
display: none;
}/* Mobil Özel Düzenlemeler */
@media (max-width: 1024px) {
/* Ana barı daha dengeli yapalım */
.header-menu__main-bar {
padding: 10px 15px;
display: grid;
grid-template-columns: 50px 1fr auto; /* Hamburger - Logo - Sağ Taraf */
align-items: center;
}.header-menu__logo {
justify-content: center;
}.header-menu__logo img {
height: 50px; /* Mobilde logoyu biraz küçültelim */
}/* Sağ taraftaki aksiyonlar (Telefon ve Dil) */
.header-menu__actions {
gap: 10px;
}/* Mobilde telefonun sadece ikonunu gösterelim (opsiyonel ama şık durur) */
.phone-text {
display: none; /* Sadece numara gizlenir, daire kalır */
}
.phone-container {
padding: 6px;
border-radius: 50%;
}.header-top-dil {
gap: 5px;
}/* Mobil Panel İçindeki Liste Tasarımı */
.header-menu__mobile-content ul {
list-style: none;
padding: 0;
margin: 0;
}.header-menu__mobile-content ul li a {
padding: 15px 0;
border-bottom: 1px solid #f0f0f0;
width: 100%;
color: var(--text-dark);
font-size: 16px;
display: flex;
align-items: center;
}.header-menu__mobile-content ul li a svg {
margin-right: 15px;
width: 20px;
height: 20px;
color: var(--primary-color);
}/* Üst bar linklerini mobilde alta ayır */
#mobile-cloned-utility {
margin-top: 30px;
border-top: 2px solid var(--primary-color);
padding-top: 20px;
}#mobile-cloned-utility li a {
font-size: 14px;
color: var(--text-light);
border: none;
padding: 8px 0;
}
}/* Sosyal Medya İkonlarını Mobilde Gizle veya Sidebar'a ekle */
@media (max-width: 768px) {
.header-menu__actions .header-sosyal {
display: none; /* Mobilde ekran kalabalığını önler */
}
}.mobilbuttonlar {
display: none;
}@media (max-width: 1024px) {
a.WhatsApp1 {
bottom: 60px;
}.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: #8E078E;
border-color: #8E078E;
color: #fff;
}.btn2 {
background: #730573;
border-color: #730573;
color: #fff;
}.btn3 {
background: #5e045e;
border-color: #5e045e;
color: #fff;
}
}