@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
    --blue: #85B2D7;
    --text: #555B6B;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    padding: 20px 5vw 105px;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--text);

    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #F7FAFC 12%,
        #DCEAF4 40%,
        #85B2D7 100%
    );

    background-attachment: fixed;
}

/* LOGO */
.site-header {
    position: relative;
    z-index: 10;
    height: 90px;

}

.logo-link {
    display: inline-block;
}

.logo {
    display: block;
    width: 250px;
    height: auto;
    margin-left: -40px;
}

/* GLASS */
.glass-card {
    background: linear-gradient(
        180deg,
        rgba(250, 252, 254, 0.68),
        rgba(183, 211, 231, 0.76)
    );

    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 65px;

    box-shadow:
        0 16px 22px rgba(58, 86, 107, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card h1,
.glass-card h2 {
    margin-top: 0;
    font-weight: 500;
}

.glass-card h1 {
    font-size: clamp(42px, 4vw, 58px);
}

.glass-card h2 {
    font-size: clamp(32px, 3vw, 43px);
}

.glass-card p {
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.5;
}

/* ANA SAYFA */
.page-content {
    width: min(1200px, 100%);
    margin: 10px auto 0;
}

/* Ana sayfanın ilk ekranda daha rahat görünmesi için
   yalnızca ana sayfadaki kartları kompakt tutuyoruz. */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.home-grid .glass-card {
    border-radius: 45px;
}

.home-grid .glass-card h1 {
    font-size: clamp(36px, 3.4vw, 50px);
    margin-bottom: 18px;
}

.home-grid .glass-card h2 {
    font-size: clamp(28px, 2.6vw, 38px);
    margin-bottom: 14px;
}

.home-grid .glass-card p {
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.35;
    margin: 0;
}

.about-card {
    padding: 32px 38px;
}

.side-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.small-card {
    padding: 28px 32px;
}

/* İLETİŞİM */
.center-content {
    display: flex;
    justify-content: center;
}

.contact-card {
    width: min(700px, 100%);
    padding: 50px 70px;
}

.contact-card p {
    margin: 22px 0;
}

.contact-card a {
    color: inherit;
}

/* Yalnızca E-posta, Tel ve Fax iletişim bilgileri - ana metinden tam %20 büyük */
.contact-card p.contact-detail {
    font-size: clamp(20px, 2.04vw, 20px) !important;
    line-height: 1.5;
}

.contact-card p.contact-detail a {
    font-size: inherit !important;
}

/* ÜRÜNLER */
.products-card {
    width:75%;
    min-height: 450px;
    padding: 55px;
    text-align: center;
}

.product-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    margin-top: 55px;
    
}

.product-links a {
    min-width: 210px;
    padding: 18px 25px;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    font-size: 21px;
padding: 30px 38px;
    background: rgba(220, 232, 241, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 40px;

    box-shadow: 0 12px 18px rgba(58, 86, 107, 0.20);
}

/* ÜRÜN DETAY ŞABLONU */
.product-detail-card {
    width: min(1100px, 100%);
    height: min(68vh, 720px);
    margin: 0 auto;
    padding: 45px 55px;
    overflow-y: auto;
}

.product-detail-card::-webkit-scrollbar {
    width: 8px;
}

.product-detail-card::-webkit-scrollbar-thumb {
    background: rgba(85, 91, 107, 0.30);
    border-radius: 10px;
}

/* ALT NAVİGASYON */
.bottom-navigation {
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);

    width: min(500px, calc(100vw - 40px));
    min-height: 70px;
    padding: 12px 25px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 65px;

    background: rgba(184, 211, 231, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 45px;

    box-shadow: 0 12px 20px rgba(58, 86, 107, 0.22);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bottom-navigation a {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    white-space: nowrap;
}

.bottom-navigation a:hover {
    opacity: 0.65;
}

/* MOBİL */
@media (max-width: 800px) {
    body {
        padding: 20px 20px 110px;
    }

    .site-header {
        height: 110px;
    }

    .logo {
        width: 240px;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-grid .glass-card h1 {
        font-size: 36px;
    }

    .home-grid .glass-card h2 {
        font-size: 29px;
    }

    .home-grid .glass-card p {
        font-size: 18px;
        line-height: 1.4;
    }

    .about-card,
    .small-card,
    .contact-card,
    .products-card,
    .product-detail-card {
        padding: 30px;
        border-radius: 40px;
    }

    .side-cards {
        gap: 20px;
    }

    .bottom-navigation {
        gap: 25px;
    }

    .bottom-navigation a {
        font-size: 17px;
    }
}


/* KARİYER / CV */
.career-divider {
    width: 85%;
    height: 1px;
    margin: 40px auto;
    background: rgba(85, 91, 107, 0.20);
}

.career-section {
    text-align: center;
}

.career-section h2 {
    margin-bottom: 15px;
}

.career-note {
    font-size: 18px !important;
}

.cv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 18px 0;
    padding: 15px 35px;

    color: var(--text);
    text-decoration: none;
    font-family: inherit;
    font-size: 20px;

    background: rgba(220, 232, 241, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 35px;

    box-shadow: 0 10px 16px rgba(58, 86, 107, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cv-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 20px rgba(58, 86, 107, 0.23);
}

.cv-warning {
    max-width: auto;
    font-size: 16px !important;
    opacity: 0.78;
}

@media (max-width: 800px) {
    .career-divider {
        width: 100%;
        margin: 30px auto;
    }

    .cv-button {
        width: 100%;
        max-width: 300px;
    }
}


/* DİĞER SAYFALAR - daha kompakt container ve yazı ölçüleri */
body.compact-page .page-content {
    width: min(1080px, 100%);
}

body.compact-page .glass-card {
    padding: 26px 32px;
    border-radius: 38px;
}

body.compact-page .glass-card h1 {
    font-size: clamp(32px, 3vw, 44px);
    margin-bottom: 14px;
}

body.compact-page .glass-card h2 {
    font-size: clamp(25px, 2.4vw, 34px);
    margin-bottom: 12px;
}

body.compact-page .glass-card p,
body.compact-page .glass-card li {
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.4;
}

/* İLETİŞİM - adres ve harita */
.address-section {
    margin-top: 28px;
    text-align: center;
}

.address-section h2 {
    margin-bottom: 12px;
}

.map-container {
    width: 100%;
    max-width: 760px;
    height: 260px;
    margin: 18px auto 12px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 18px rgba(58, 86, 107, 0.16);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
}

.map-link:hover {
    opacity: 0.65;
}

@media (max-width: 800px) {
    body.compact-page .page-content {
        width: 100%;
    }

    body.compact-page .glass-card {
        padding: 22px 24px;
        border-radius: 34px;
    }

    .map-container {
        height: 220px;
        border-radius: 22px;
    }
}

/* =========================================================
   ÜRÜNLER - MODÜLER ÜRÜN SİSTEMİ
   ========================================================= */

.product-link-disabled {
    min-width: 210px;
    padding: 18px 25px;
    color: rgba(85, 91, 107, 0.55);
    text-align: center;
    font-size: 21px;
    background: rgba(220, 232, 241, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 40px;
    box-shadow: 0 8px 14px rgba(58, 86, 107, 0.10);
    cursor: default;
}

.product-list-card {
    width: min(1100px, 100%);
    padding: 42px 48px !important;
}

.product-page-heading {
    text-align: left;
    margin-bottom: 28px;
}

.urun-ust-kategori {
    margin: 0 0 4px !important;
    font-size: 18px !important;
    opacity: 0.72;
}

.product-page-heading h1 {
    margin: 0;
}

.urun-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.urun-karti {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 14px 14px 18px;
    color: var(--text);
    text-decoration: none;
    background: rgba(220, 232, 241, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 32px;
    box-shadow: 0 10px 18px rgba(58, 86, 107, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.urun-karti:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 22px rgba(58, 86, 107, 0.20);
}

.urun-karti-gorsel {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.40);
}

.urun-karti-gorsel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.urun-karti h3 {
    margin: 15px 6px 3px;
    font-size: 24px;
    font-weight: 500;
}

.urun-karti p {
    margin: 0 6px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    opacity: 0.72;
}

.urun-yukleniyor,
.urun-hata {
    text-align: center;
    width: 100%;
    padding: 35px 0;
}

/* Tek bir ürün için ortak detay şablonu */
.product-detail-card {
    width: min(1120px, 100%);
    height: min(72vh, 780px);
    padding: 42px 48px !important;
    overflow-y: auto;
}

.urun-detay-baslik {
    text-align: left;
    margin-bottom: 28px;
}

.urun-detay-baslik h1 {
    margin: 0 0 3px;
}

.urun-alt-kategori {
    margin: 0 !important;
    font-size: 21px !important;
    font-style: italic;
    opacity: 0.78;
}

.urun-galeri {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.urun-detay-gorsel {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.68);
}

.urun-detay-gorsel img {
    width: 100%;
    height: auto;
    display: block;
}

.urun-bilgi {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(85, 91, 107, 0.18);
}

.urun-bilgi h2 {
    margin-bottom: 8px;
}

.urun-bilgi p {
    margin-top: 8px;
}

.urun-notu {
    font-size: 16px !important;
    opacity: 0.70;
}

@media (max-width: 950px) {
    .urun-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .product-list-card,
    .product-detail-card {
        padding: 28px 24px !important;
    }

    .urun-grid {
        grid-template-columns: 1fr;
    }

    .urun-karti h3 {
        font-size: 22px;
    }

    .product-detail-card {
        height: auto;
        max-height: none;
    }
}


/* YAYIN ONCESI URUN GRUBU DUZENI */
.product-links a { padding: 16px 22px; font-size: clamp(16px, 1.25vw, 19px); }


/* Ürün grubu / alt grup butonları - yaklaşık %25 büyütüldü */
.product-links a,
.product-links .product-link-disabled {
    font-size: 1.25em;
    padding: 1.25em 1.6em;
    min-height: 1.25em;
}


