/* ==============================
   MEDODAT KURUMSAL RENKLER
   ============================== */

:root {
    /* Ana MedoDat arayüz mavisi */
    --navy: #1769AA;
    --blue: #1769AA;

    /* Açık mavi detaylar */
    --light-blue: #4AADE8;

    /* Metin renkleri */
    --text-dark: #172033;
    --text-gray: #667085;

    /* Arka plan ve çizgiler */
    --background: #F5F7FA;
    --white: #FFFFFF;
    --border: #E5E7EB;
}


/* ==============================
   TEMEL AYARLAR
   ============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}


/* ==============================
   ÜST MENÜ
   ============================== */

.navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}


/* ==============================
   ANA TANITIM
   ============================== */

.hero {
    min-height: 520px;
    background: var(--background);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 30px;

    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    color: var(--blue);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    margin-bottom: 15px;
}

.hero h1 {
    margin: 0;

    color: var(--navy);

    font-size: 62px;
    line-height: 1.1;
}

.hero h2 {
    max-width: 700px;

    margin: 20px auto 0;

    color: var(--text-dark);

    font-size: 30px;
    line-height: 1.35;
    font-weight: 500;
}

.hero-description {
    max-width: 650px;

    margin: 22px auto 32px;

    color: var(--text-gray);

    font-size: 18px;
}

.primary-button {
    display: inline-block;

    padding: 13px 24px;

    background: var(--blue);
    color: var(--white);

    text-decoration: none;
    font-weight: 600;

    border-radius: 8px;

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

.primary-button:hover {
    background: var(--navy);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(8, 43, 92, 0.18);
}


/* ==============================
   ORTAK BÖLÜM AYARLARI
   ============================== */

.section {
    padding: 85px 30px;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading span,
.about-content>span,
.contact-content>span {
    color: var(--blue);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    margin: 8px 0 12px;

    color: var(--navy);

    font-size: 36px;
}

.section-heading p {
    color: var(--text-gray);
}


/* ==============================
   ÜRÜNLER
   ============================== */

.products {
    background: var(--white);
}

.product-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.product-card {
    position: relative;
    overflow: hidden;

    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Kartın üstündeki ince kurumsal mavi çizgi */

.product-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--blue);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    border-color: #C9DDEE;

    box-shadow: 0 14px 35px rgba(23, 105, 170, 0.10);
}

.product-card:hover::before {
    opacity: 1;
}


/* ==============================
   ÜRÜN MONOGRAMLARI
   ============================== */

.product-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background: #F1F7FC;

    border: 1px solid #D7E7F4;
    border-radius: 14px;

    color: var(--blue);

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.product-card:hover .product-icon {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.product-card h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 22px;
}

.product-card p {
    min-height: 105px;

    color: var(--text-gray);
}

.product-status {
    display: inline-block;

    padding: 6px 12px;

    background: #F1F7FC;
    color: var(--blue);

    border: 1px solid #D7E7F4;
    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}


/* ==============================
   HAKKIMIZDA
   ============================== */

.about {
    background: var(--background);
}

.about-content {
    max-width: 760px;

    margin: 0 auto;
}

.about-content p {
    color: var(--text-gray);

    font-size: 17px;
}


/* ==============================
   İLETİŞİM
   ============================== */

.contact {
    text-align: center;

    background: var(--white);
}

.contact-content {
    max-width: 700px;

    margin: 0 auto;
}

.contact-content p {
    color: var(--text-gray);
}


/* ==============================
   FOOTER
   ============================== */

footer {
    background: var(--navy);
    color: var(--white);

    padding: 30px;
}

.footer-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;

    color: #D5E2F2;

    font-size: 14px;
}


/* ==============================
   TELEFON / TABLET
   ============================== */

@media (max-width: 768px) {

    /*
       Mobilde sticky menüyü kapatıyoruz.
       Böylece aşağı kaydırırken içeriklerin
       üzerine gelmeyecek.
    */

    .navbar {
        position: relative;
        top: auto;
    }

    .nav-container {
        padding: 20px 18px 22px;

        flex-direction: column;

        gap: 16px;
    }

    .brand img {
        height: 58px;
    }

    .nav-links {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        gap: 18px;

        flex-wrap: nowrap;
    }

    .nav-links a {
        font-size: 14px;

        white-space: nowrap;
    }


    /* ANA TANITIM */

    .hero {
        min-height: auto;

        padding: 70px 24px;
    }

    .hero-label {
        font-size: 12px;

        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero h2 {
        margin-top: 22px;

        font-size: 24px;
        line-height: 1.4;
    }

    .hero-description {
        margin-top: 24px;
        margin-bottom: 30px;

        font-size: 17px;
    }


    /* BÖLÜMLER */

    .section {
        padding: 65px 26px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 34px;
        line-height: 1.25;
    }


    /* ÜRÜNLER */

    .product-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .product-card {
        padding: 34px;
    }

    .product-card p {
        min-height: auto;
    }


    /* FOOTER */

    .footer-content {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }
}


/* ==============================
   DAR TELEFONLAR
   360 PX VE BENZERİ
   ============================== */

@media (max-width: 400px) {

    .nav-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand img {
        height: 54px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
    }


    /* HERO */

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .primary-button {
        padding: 12px 20px;

        font-size: 15px;
    }


    /* BÖLÜMLER */

    .section {
        padding: 55px 20px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 31px;
    }

    .about-content p {
        font-size: 16px;
    }


    /* ÜRÜN KARTLARI */

    .product-card {
        padding: 28px;
    }


    /* FOOTER */

    footer {
        padding: 26px 20px;
    }

    .footer-content p {
        font-size: 13px;
    }
}