/* Stanley Water — Evsel ortak stiller */

:root {
    --sw-blue-900: #1e3a8a;
    --sw-blue-700: #1d4ed8;
    --sw-blue-600: #3b82f6;
    --sw-blue-500: #60a5fa;
    --sw-gray-50: #f9fafb;
    --sw-gray-100: #f3f4f6;
    --sw-gray-900: #111827;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.sw-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid #f1f5f9;
}

.sw-header__nav {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.sw-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #3b82f6;
    text-decoration: none;
    flex-shrink: 0;
}

.sw-logo span {
    font-weight: 300;
    color: #1e3a8a;
    margin-left: 0.25rem;
}

.sw-nav-links {
    display: none;
    align-items: center;
    gap: 2.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #475569;
}

@media (min-width: 900px) {
    .sw-nav-links { display: flex; }
}

.sw-nav-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
    position: relative;
}

.sw-nav-links a:hover { color: #2563eb; }
.sw-nav-links a.is-active { color: #2563eb; }
.sw-nav-links a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

.sw-nav-links a.sw-divider {
    color: #475569;
    border-left: 1px solid #e2e8f0;
    padding-left: 2rem;
}
.sw-nav-links a.sw-divider:hover { color: #0f172a; }

/* Ürünler dropdown */
.sw-nav-dropdown {
    position: relative;
}

.sw-nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    transition: color 0.18s ease;
    position: relative;
}

.sw-nav-dropdown__trigger:hover { color: #2563eb; }
.sw-nav-dropdown__trigger.is-active { color: #2563eb; }
.sw-nav-dropdown__trigger.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

.sw-nav-dropdown__chevron {
    font-size: 0.55rem;
    transition: transform 0.2s ease, color 0.18s ease;
}

.sw-nav-dropdown:hover .sw-nav-dropdown__chevron,
.sw-nav-dropdown:focus-within .sw-nav-dropdown__chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.sw-nav-dropdown__panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.85rem);
    transform: translateX(-50%) translateY(6px);
    min-width: 19rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 120;
}

.sw-nav-dropdown__panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.85rem;
    height: 0.85rem;
}

.sw-nav-dropdown:hover .sw-nav-dropdown__panel,
.sw-nav-dropdown:focus-within .sw-nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sw-nav-dropdown__heading {
    margin: 0 0 0.5rem;
    padding: 0.35rem 0.75rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #3b82f6;
}

.sw-nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.9rem;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: #0f172a;
    transition: background 0.18s ease, border-color 0.18s ease;
    border: 1px solid transparent;
}

.sw-nav-dropdown__item + .sw-nav-dropdown__item {
    margin-top: 0.25rem;
}

.sw-nav-dropdown__item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.sw-nav-dropdown__item--active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.sw-nav-dropdown__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.sw-nav-dropdown__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sw-nav-dropdown__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.sw-nav-dropdown__desc {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

.sw-nav-dropdown__arrow {
    font-size: 0.65rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.18s ease, color 0.18s ease;
}

.sw-nav-dropdown__item:hover .sw-nav-dropdown__arrow {
    color: #2563eb;
    transform: translateX(2px);
}

/* Mobil — Ürünler alt menü */
.sw-mobile-products-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.sw-mobile-products-btn.is-open,
.sw-mobile-products-btn.is-active {
    color: #2563eb;
}

.sw-mobile-products-btn i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.sw-mobile-products-btn i.is-rotated {
    transform: rotate(180deg);
}

.sw-mobile-products-list {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.sw-mobile-products-list.is-open {
    display: flex;
}

.sw-mobile-products-list a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 0.75rem;
    border-bottom: none !important;
    border-radius: 0.5rem;
    background: #f8fafc;
}

.sw-mobile-products-list a:hover {
    background: #eff6ff;
}

.sw-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.sw-wa-link {
    display: none;
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.18s ease;
}
.sw-wa-link:hover { transform: scale(1.04); }

@media (min-width: 640px) { .sw-wa-link { display: inline-flex; align-items: center; gap: 0.4rem; } }

.sw-buy-btn {
    background: #1e3a8a;
    color: white;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.25);
    transition: background 0.18s ease, transform 0.18s ease;
}
.sw-buy-btn:hover { background: #1e40af; transform: translateY(-1px); }

@media (min-width: 768px) { .sw-buy-btn { font-size: 0.85rem; padding: 0.6rem 1.5rem; } }

.sw-menu-btn {
    display: inline-flex;
    background: none;
    border: none;
    color: #1e3a8a;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
}
@media (min-width: 900px) { .sw-menu-btn { display: none; } }

.sw-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    padding: 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.sw-mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.sw-mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #475569;
}
.sw-mobile-menu nav a {
    color: inherit;
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}
.sw-mobile-menu nav a:last-child { border-bottom: none; }
.sw-mobile-menu nav a.is-active { color: #2563eb; }

/* Footer */
.sw-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 1.5rem 2.5rem;
}
.sw-footer__inner {
    max-width: 80rem;
    margin: 0 auto;
}
.sw-footer__grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 3rem;
}
@media (min-width: 768px) {
    .sw-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}
.sw-footer h4 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    margin: 0 0 1.4rem;
}
.sw-footer__brand .sw-footer__logo {
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.sw-footer__brand .sw-footer__logo span { color: #3b82f6; }
.sw-footer__brand .sw-footer__tag {
    color: #60a5fa;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    margin-bottom: 1rem;
}
.sw-footer__brand p {
    max-width: 22rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.sw-footer__brand .sw-cross {
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}
.sw-footer__brand .sw-cross:hover { color: white; }

.sw-footer ul { list-style: none; padding: 0; margin: 0; }
.sw-footer li { margin-bottom: 0.85rem; }
.sw-footer li a {
    color: inherit;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.18s ease;
}
.sw-footer li a:hover { color: white; }

.sw-footer__pay {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0.8;
    flex-wrap: wrap;
}
.sw-footer__pay i { font-size: 1.7rem; color: #cbd5e1; }
.sw-footer__pay i:hover { color: white; }
.sw-footer__pay .sw-iyzico {
    background: white;
    color: #1e293b;
    padding: 0.25rem 0.65rem;
    border-radius: 0.4rem;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.sw-footer__bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.sw-footer__bottom .sw-social { display: flex; gap: 1rem; font-size: 1rem; }
.sw-footer__bottom .sw-social a { color: #94a3b8; transition: color 0.18s ease; text-decoration: none; }
.sw-footer__bottom .sw-social a:hover { color: white; }

/* Genel: scroll-padding (sticky header için) */
html { scroll-padding-top: 6rem; }
