/* =========================================
GENEL AYARLAR VE RESET
========================================= */
*,
*::before,
*::after {
box-sizing: border-box;
}:root {
--font1: "Dosis", Helvetica, Arial, sans-serif;
--font2: "Dosis", Helvetica, Arial, sans-serif;
--primary-orange: #000;
--radius: 3px;
}svg {
width: 30px;
height: 30px;
}body {
margin: 0;
font-family: var(--font1);
font-size: 16px;
}/* =========================================
HEADER ANA KAPSAYICI (.header-menu)
Tüm classlar bu prefix ile başlar ki çakışma olmasın.
========================================= */
.header-menu {
--primary-color: #86754a;
/* 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;
}.header-phone-compact {
display: inline-flex;
align-items: center;
gap: 8px; /* Dar alan için boşluk azaltıldı */
text-decoration: none;
padding: 4px 10px 4px 4px; /* Çok daha dar iç boşluklar */
border-radius: 40px;
transition: background-color 0.3s ease;
}/* Hover efekti dar alanda sadece hafif bir gri arkaplan verir */
.header-phone-compact:hover {
background-color: #f1f5f9;
}/* İkon çerçevesi: Küçültüldü */
.phone-icon-box {
display: flex;
align-items: center;
justify-content: center;
width: 22px; /* 40px'den 34px'e düşürüldü */
height: 22px; /* 40px'den 34px'e düşürüldü */
background-color: #000;
color: #fff;
border-radius: 50%;
transition: all 0.3s ease;
}.header-phone-compact:hover .phone-icon-box {
background-color: #000;
color: #ffffff;
}.phone-icon-box svg {
width: 14px; /* İkon boyutu dar alana uygun olarak küçültüldü */
height: 14px;
}/* Numara: Metin boyutu header için optimize edildi */
.phone-number {
font-size: 15px;
font-weight: 600;
color: #334155; /* Soft koyu gri */
letter-spacing: 0.2px;
transition: color 0.3s ease;
}.header-phone-compact:hover .phone-number {
color: #86754a; /* Hover durumunda tatlı bir kurumsal mavi */
}/* =========================================
ÜST BAR (Top Utility Bar)
========================================= */
.header-menu__top-bar {
background-color: #f9f9f9;
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: #000;
font-weight: 500;
font-size: 15px;
}.header-menu__top-bar a {
color: #000;
font-size: 15px;
}.header-menu__utility-nav {
display: flex;
gap: 20px;
margin-left: auto !important;
margin-right: 20px !important;
}.header-menu__utility-nav a:hover {
text-decoration: underline;
}/* =========================================
ANA BAR (Main Nav Bar)
========================================= */
.header-menu__main-bar {
padding: 15px 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: 52px;
}/* 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: 16px;
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: #86754a;
}.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: #f1f1f1;
border-radius: 50%;
color: #86754a;
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: #86754a;
transform: scale(1.03);
box-shadow: 0 10px 20px rgba(43, 166, 166, 0.15);
}.phone-container:hover .phone-icon-circle {
background-color: #86754a;
color: #ffffff;
}.phone-container:hover .phone-number {
color: #86754a;
}/* 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: 1200px) {
.phone-number {
font-size: 15px;
}
.phone-container {
padding: 6px 16px 6px 6px;
}.header-menu__nav-list > li > a {
font-size: 16px;
font-weight: 500;
padding: 0px 0;
display: inline-flex;
transition: color 0.2s;
align-items: center;
}.header-sosyal {
display: none;
}.page-baslik1 {
margin-top: 86px!important;
}
}.header-top-dil {
display: flex;
align-items: center;
gap: 10px;
}.header-top-dil span {
display: none;
}.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: #86754a;
border-color: #86754a;
color: #fff;
}.btn2 {
background: #6c5d38;
border-color: #6c5d38;
color: #fff;
}.btn3 {
background: #524628;
border-color: #524628;
color: #fff;
}
}