
/* =====================================================
   PNOTERM.COM.TR
   MODÜLER KURUMSAL & PNÖMATİK KATALOG TASARIMI
   ===================================================== */

/* 01 - RENKLER VE TEMEL AYARLAR */

:root {
    --primary: #102b4b;
    --primary-dark: #0a1e35;
    --primary-light: #174a76;
    --accent: #1479d1;
    --accent-hover: #0862b0;
    --background: #f5f8fc;
    --surface: #ffffff;
    --text: #172b43;
    --muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --container-width: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 9999;
    background: #fff;
    color: #000;
    padding: 10px 16px;
}

.skip-link:focus {
    top: 10px;
}

/* 02 - ÜST MENÜ VE LOGO */

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(15,35,60,.04);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 86px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}

.site-brand__wordmark {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list > li {
    position: relative;
}

.site-nav__list > li.site-nav__item--mega {
    position: static;
}

.site-nav__list > li > a,
.site-nav__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px;
    background: transparent;
    border: 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.site-nav__list > li > a:hover,
.site-nav__trigger:hover,
.site-nav__list > li.is-open > .site-nav__trigger {
    color: var(--accent);
}

/* 03 - KURUMSAL AÇILIR MENÜ */

.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    width: 310px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 18px 35px rgba(16,43,75,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity .2s,
        transform .2s,
        visibility .2s;
}

.site-nav__dropdown a {
    display: block;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    white-space: normal;
}

.site-nav__dropdown a:hover {
    background: var(--background);
    color: var(--accent);
}

.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown,
.site-nav__item--dropdown.is-open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* 04 - ÜRÜNLER MEGA MENÜ */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 40px rgba(16,43,75,.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity .2s,
        transform .2s,
        visibility .2s;
}

.site-nav__item--mega:hover .mega-menu,
.site-nav__item--mega:focus-within .mega-menu,
.site-nav__item--mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.mega-menu__column {
    min-width: 0;
}

.mega-menu__heading {
    display: block;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.mega-menu__heading:hover {
    color: var(--accent);
}

.mega-menu__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu__column li + li {
    margin-top: 8px;
}

.mega-menu__column li a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    transition: color .2s;
}

.mega-menu__column li a:hover {
    color: var(--accent);
}

.mega-menu__all {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

/* 05 - MOBİL MENÜ BUTONU */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 22px;
}

/* 06 - ANA SAYFA HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        125deg,
        #0a1e35 0%,
        #102b4b 57%,
        #174a76 100%
    );
    color: #fff;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 50px;
    min-height: 500px;
    padding-top: 75px;
    padding-bottom: 75px;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.home-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #75c5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-hero h1 {
    max-width: 750px;
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.home-hero h1 span {
    display: block;
    color: #70bdff;
}

.home-hero__content > p {
    max-width: 590px;
    margin: 0;
    color: #c7d9e9;
    font-size: 16px;
    line-height: 1.9;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* 07 - BUTONLAR */

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        background-color .2s,
        border-color .2s,
        transform .2s;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn--primary {
    background: var(--accent);
    color: #fff;
}

.home-btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.home-btn--outline {
    border-color: rgba(255,255,255,.45);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.home-btn--outline:hover {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.home-btn--white {
    background: #fff;
    color: var(--primary);
}

.home-btn--white:hover {
    background: #e8f4ff;
    color: var(--primary);
}

/* 08 - HERO GÖRSEL ALANI */

.home-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 330px;
}

.home-hero__visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(100%, 360px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 32px;
    background: linear-gradient(
        140deg,
        rgba(255,255,255,.11),
        rgba(255,255,255,.025)
    );
    box-shadow: 0 25px 70px rgba(0,0,0,.18);
    transform: rotate(-5deg);
}

.home-hero__visual-symbol {
    color: #79c6ff;
    font-size: 110px;
    line-height: 1.2;
}

.home-hero__visual-inner strong {
    font-size: 28px;
    letter-spacing: 3px;
    color: #fff;
}

.home-hero__visual-inner > span:last-child {
    color: #b7d5ea;
    font-size: 11px;
    letter-spacing: 2px;
}

/* 09 - ANA SAYFA BÖLÜMLERİ */

.home-section {
    padding-top: 75px;
    padding-bottom: 75px;
    background: #fff;
}

.home-section--light {
    background: var(--background);
}

.home-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}

.home-section__eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.home-section__heading h2,
.home-about h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.25;
    letter-spacing: -.6px;
}

.home-section__heading p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.home-section__link {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.home-section__link:hover {
    color: var(--accent-hover);
}

/* 10 - KATEGORİ KARTLARI */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 245px;
    padding: 27px 23px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 26px rgba(16,43,75,.035);
    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}

.home-category-card:hover {
    transform: translateY(-5px);
    border-color: #acd5f5;
    box-shadow: 0 16px 35px rgba(16,43,75,.1);
}

.home-category-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: #eaf5ff;
    border-radius: 14px;
    color: var(--accent);
    font-size: 31px;
}

.home-category-card h3 {
    margin: 0 0 9px;
    color: var(--primary);
    font-size: 17px;
    line-height: 1.4;
}

.home-category-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.home-category-card > span {
    margin-top: auto;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

/* 11 - ÜRÜN KARTLARI */

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition:
        transform .2s,
        box-shadow .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16,43,75,.1);
}

.home-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #edf4fa, #f9fbfd);
    border-bottom: 1px solid var(--border);
}

.home-product-card__image span {
    font-size: 80px;
    line-height: 1;
    color: #b9cfe2;
}

.home-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.home-product-card__category {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-card h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 16px;
    line-height: 1.5;
}

.home-product-card h3 a:hover {
    color: var(--accent);
}

.home-product-card__body p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.home-product-card__body p strong {
    color: var(--text);
}

.home-product-card__button {
    display: inline-flex;
    justify-content: center;
    margin-top: auto;
    padding: 11px 15px;
    border-radius: 7px;
    background: #eaf5ff;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.home-product-card__button:hover {
    background: var(--accent);
    color: #fff;
}

/* 12 - HAKKIMIZDA */

.home-about {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 65px;
}

.home-about p {
    max-width: 630px;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.home-about__panel {
    padding: 28px;
    border-radius: 18px;
    background: #f0f6fc;
    border: 1px solid #e0ebf5;
}

.home-about__panel > div {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 21px 12px;
}

.home-about__panel > div + div {
    border-top: 1px solid #d7e5f1;
}

.home-about__panel span {
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
}

.home-about__panel strong {
    color: var(--primary);
    font-size: 16px;
}

/* 13 - TEKLİF ALANI */

.home-cta {
    background: linear-gradient(
        120deg,
        var(--primary),
        #174f7d
    );
    color: #fff;
}

.home-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.home-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(23px, 3vw, 31px);
}

.home-cta p {
    margin: 0;
    color: #d1e0ec;
    font-size: 14px;
}

/* 14 - FOOTER */

.site-footer {
    margin-top: 70px;
    background: var(--primary-dark);
    color: #d7e3f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 42px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.footer-column {
    min-width: 0;
}

.footer-brand {
    margin: 0 0 20px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.footer-column h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer-column p {
    margin: 0 0 15px;
    color: #c3d1df;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #c3d1df;
    font-size: 14px;
    transition: color .2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 11px 18px;
    background: #178a56;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 700;
}

.footer-whatsapp:hover {
    background: #116a41;
}

/* 15 - FOOTER ALT ALAN */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 75px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-bottom p {
    margin: 0;
    color: #aebfd1;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-bottom-links a {
    color: #aebfd1;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* 16 - TABLET */

@media (max-width: 991px) {

    .site-header__inner {
        min-height: 72px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        padding-bottom: 18px;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        display: block;
    }

    .site-nav__list > li > a,
    .site-nav__trigger {
        display: flex;
        width: 100%;
        padding: 13px 4px;
        justify-content: space-between;
    }

    .site-nav__dropdown,
    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border-radius: 8px;
        transition: none;
    }

    .site-nav__item--dropdown:hover .site-nav__dropdown,
    .site-nav__item--dropdown:focus-within .site-nav__dropdown,
    .site-nav__item--mega:hover .mega-menu,
    .site-nav__item--mega:focus-within .mega-menu {
        display: none;
    }

    .site-nav__item--dropdown.is-open .site-nav__dropdown,
    .site-nav__item--mega.is-open .mega-menu {
        display: block;
    }

    .mega-menu__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 35px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .home-hero__visual {
        min-height: 250px;
    }

    .home-hero__visual-inner {
        width: 250px;
    }

    .home-hero__visual-symbol {
        font-size: 75px;
    }

    .home-category-grid,
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .site-footer {
        margin-top: 50px;
    }
}

/* 17 - MOBİL */

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .site-brand__wordmark {
        font-size: 23px;
    }

    .mega-menu__inner {
        grid-template-columns: 1fr;
    }

    .home-hero__inner {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .home-hero h1 {
        font-size: 34px;
        letter-spacing: -.8px;
    }

    .home-hero__content > p {
        font-size: 14px;
    }

    .home-hero__visual {
        display: none;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .home-section__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .home-category-grid,
    .home-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-category-card {
        min-height: 205px;
    }

    .home-about__panel {
        padding: 15px;
    }

    .home-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-brand {
        font-size: 25px;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer-bottom-links {
        gap: 18px;
    }

    .site-footer {
        margin-top: 40px;
    }
}

/* 18 - ERİŞİLEBİLİRLİK */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .home-btn:hover,
    .home-category-card:hover,
    .home-product-card:hover {
        transform: none;
    }
}
