/* =========================================================
   MaX Tava Kaplama
   Global Design System v1.1
   File: assets/css/max-global.css
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
    /* Brand Colors */
    --max-blue: #0057B8;
    --max-blue-light: #0077E6;
    --max-dark: #1E2A36;
    --max-text: #4A5560;
    --max-light: #F4F6F8;
    --max-white: #FFFFFF;

    /* Utility Colors */
    --max-whatsapp: #25D366;
    --max-whatsapp-hover: #1EBE5D;
    --max-border: #E3E8EE;

    /* Border Radius */
    --max-radius-sm: 8px;
    --max-radius-md: 14px;
    --max-radius-lg: 24px;

    /* Shadows */
    --max-shadow-sm:
        0 4px 18px rgba(30, 42, 54, 0.08);

    --max-shadow-md:
        0 12px 35px rgba(30, 42, 54, 0.12);

    --max-shadow-blue:
        0 8px 22px rgba(0, 87, 184, 0.24);

    /* Layout */
    --max-container: 1200px;

    /* Animation */
    --max-transition: 0.25s ease;
}


/* =========================================================
   02. RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--max-text);
    background-color: var(--max-white);

    font-family: "Inter", Arial, sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    transition:
        color var(--max-transition),
        background-color var(--max-transition),
        border-color var(--max-transition),
        box-shadow var(--max-transition),
        transform var(--max-transition);
}


/* =========================================================
   03. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--max-dark);

    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

p {
    line-height: 1.7;
}


/* =========================================================
   04. GLOBAL LAYOUT
   ========================================================= */

.max-container {
    width: 100%;
    max-width: var(--max-container);

    margin-left: auto;
    margin-right: auto;
}

.max-section {
    width: 100%;

    padding-top: 90px;
    padding-right: 24px;
    padding-bottom: 90px;
    padding-left: 24px;
}

.max-section--light {
    background-color: var(--max-light);
}

.max-section--dark {
    color: var(--max-white);
    background-color: var(--max-dark);
}


/* =========================================================
   05. SECTION HEADINGS
   ========================================================= */

.max-section-title {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}

.max-section-title h2 {
    margin-bottom: 16px;

    font-size: clamp(30px, 4vw, 44px);
}

.max-section-title p {
    margin: 0;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   06. GLOBAL BUTTON SYSTEM
   ========================================================= */

.max-btn {
    display: inline-flex;

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

    gap: 9px;

    min-height: 50px;

    padding: 13px 24px;

    border: 0;
    border-radius: var(--max-radius-sm);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        color var(--max-transition),
        background-color var(--max-transition),
        box-shadow var(--max-transition),
        transform var(--max-transition);
}

.max-btn:hover {
    transform: translateY(-2px);
}


/* Primary Button */

.max-btn--primary {
    color: var(--max-white) !important;

    background:
        linear-gradient(
            135deg,
            var(--max-blue),
            var(--max-blue-light)
        );

    box-shadow: var(--max-shadow-blue);
}

.max-btn--primary:hover {
    color: var(--max-white) !important;

    box-shadow:
        0 12px 28px rgba(0, 87, 184, 0.32);
}


/* WhatsApp Button */

.max-btn--whatsapp {
    color: var(--max-white) !important;
    background-color: var(--max-whatsapp);
}

.max-btn--whatsapp:hover {
    color: var(--max-white) !important;
    background-color: var(--max-whatsapp-hover);
}


/* =========================================================
   07. ASTRA HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
}

.main-header-bar {
    background-color: rgba(255, 255, 255, 0.98);

    border-bottom:
        1px solid var(--max-border);

    box-shadow:
        0 4px 18px rgba(30, 42, 54, 0.05);
}

.main-header-bar .ast-container {
    width: 100%;
    max-width: var(--max-container);

    min-height: 88px;
}


/* =========================================================
   08. HEADER LOGO
   ========================================================= */

.site-branding img,
.custom-logo-link img {
    width: auto;

    max-width: 280px;
    max-height: 74px;

    object-fit: contain;
}


/* =========================================================
   09. HEADER NAVIGATION
   ========================================================= */

.main-header-menu > .menu-item > .menu-link {
    position: relative;

    padding-left: 15px;
    padding-right: 15px;

    color: var(--max-dark);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
    color: var(--max-blue);
}


/* Menu Underline Animation */

.main-header-menu > .menu-item > .menu-link::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 18px;

    height: 2px;

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

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform var(--max-transition);
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .current-menu-item > .menu-link::after {
    transform: scaleX(1);
}


/* =========================================================
   10. HEADER CTA
   ========================================================= */

.max-header-cta {
    display: inline-flex;

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

    gap: 8px;

    min-height: 46px;

    padding: 12px 19px;

    color: var(--max-white) !important;

    background:
        linear-gradient(
            135deg,
            var(--max-blue),
            var(--max-blue-light)
        );

    border-radius: var(--max-radius-sm);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;

    text-decoration: none !important;

    box-shadow:
        0 7px 20px rgba(0, 87, 184, 0.22);

    transition:
        color var(--max-transition),
        box-shadow var(--max-transition),
        transform var(--max-transition);
}

.max-header-cta:hover {
    color: var(--max-white) !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 87, 184, 0.30);
}


/* Header CTA Icon */

.max-header-cta__icon {
    display: inline-flex;

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

    flex: 0 0 auto;
}

.max-header-cta__icon svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: currentColor;
}


/* =========================================================
   11. GLOBAL CARDS
   ========================================================= */

.max-card {
    height: 100%;

    padding: 30px;

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

    border:
        1px solid var(--max-border);

    border-radius: var(--max-radius-md);

    box-shadow: var(--max-shadow-sm);

    transition:
        border-color var(--max-transition),
        box-shadow var(--max-transition),
        transform var(--max-transition);
}

.max-card:hover {
    border-color:
        rgba(0, 87, 184, 0.25);

    box-shadow: var(--max-shadow-md);

    transform: translateY(-5px);
}


/* =========================================================
   12. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .max-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .site-branding img,
    .custom-logo-link img {
        max-width: 230px;
    }

}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .max-section {
        padding:
            55px 18px;
    }

    .max-section-title {
        margin-bottom: 35px;
    }

    .max-section-title h2 {
        font-size: 30px;
    }

    .site-branding img,
    .custom-logo-link img {
        max-width: 190px;
        max-height: 60px;
    }

    .max-btn {
        width: 100%;
    }

}

/* =========================================================
   14. HEADER WHATSAPP ICON
   ========================================================= */

.max-header-cta {
    gap: 9px;
}

.max-wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: #FFFFFF;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    transform: rotate(-15deg);
}

/* =========================================================
   14. HERO
   ========================================================= */

.max-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 24px 80px;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(0, 119, 230, 0.13),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F4F8FC 55%,
            #EDF4FA 100%
        );
}

.max-hero__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 70px;
    align-items: center;
}


/* Hero Content */

.max-hero__content {
    position: relative;
    z-index: 2;
}

.max-hero__eyebrow {
    display: inline-flex;

    margin-bottom: 20px;
    padding: 8px 14px;

    color: var(--max-blue);

    background:
        rgba(0, 87, 184, 0.08);

    border:
        1px solid rgba(0, 87, 184, 0.15);

    border-radius: 50px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.max-hero h1 {
    max-width: 720px;

    margin-bottom: 24px;

    font-size:
        clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.max-hero h1 span {
    display: block;

    color: var(--max-blue);
}

.max-hero__description {
    max-width: 650px;

    margin-bottom: 30px;

    color: var(--max-text);

    font-size: 18px;
    line-height: 1.75;
}


/* Hero Buttons */

.max-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 38px;
}

.max-hero__phone {
    color: var(--max-dark) !important;

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

    border:
        1px solid var(--max-border);

    box-shadow: var(--max-shadow-sm);
}

.max-hero__phone:hover {
    color: var(--max-blue) !important;

    border-color:
        rgba(0, 87, 184, 0.35);
}


/* Hero Features */

.max-hero__features {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    max-width: 680px;

    padding-top: 25px;

    border-top:
        1px solid var(--max-border);
}

.max-hero__features > div {
    position: relative;

    padding-right: 18px;
}

.max-hero__features > div:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 3px;
    right: 12px;

    width: 1px;
    height: 34px;

    background-color:
        var(--max-border);
}

.max-hero__features strong,
.max-hero__features span {
    display: block;
}

.max-hero__features strong {
    margin-bottom: 3px;

    color: var(--max-dark);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.max-hero__features span {
    color: var(--max-text);

    font-size: 12px;
}


/* Hero Visual */

.max-hero__visual {
    position: relative;

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

    min-height: 520px;
}

.max-hero__glow {
    position: absolute;

    width: 430px;
    height: 430px;

    background:
        radial-gradient(
            circle,
            rgba(0, 119, 230, 0.30),
            rgba(0, 87, 184, 0.08) 45%,
            transparent 70%
        );

    border-radius: 50%;

    filter: blur(5px);
}

.max-hero__product-card {
    position: relative;
    z-index: 2;

    width: min(100%, 430px);

    padding: 40px;

    color: var(--max-white);

    background:
        linear-gradient(
            145deg,
            #172432,
            #0D1721
        );

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 28px;

    box-shadow:
        0 30px 70px rgba(20, 38, 55, 0.25);

    transform:
        rotate(2deg);
}

.max-hero__product-label {
    margin-bottom: 30px;

    color: #AFCFFF;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* Abstract Pan */

.max-hero__product-icon {
    position: relative;

    width: 210px;
    height: 210px;

    margin: 0 auto 30px;

    border:
        15px solid #59636D;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #46515B,
            #151C22 68%
        );

    box-shadow:
        inset 0 0 0 5px #11171D,
        0 18px 35px rgba(0, 0, 0, 0.28);
}

.max-hero__product-icon::before {
    content: "";

    position: absolute;

    top: 72px;
    left: -125px;

    width: 140px;
    height: 25px;

    background:
        linear-gradient(
            90deg,
            #1A2229,
            #3B4650
        );

    border-radius:
        18px 5px 5px 18px;

    transform:
        rotate(-18deg);

    transform-origin:
        right center;
}

.max-hero__product-icon span {
    position: absolute;

    inset: 18px;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 50%;
}

.max-hero__product-card h2 {
    margin-bottom: 15px;

    color: var(--max-white);

    font-size: 38px;
    line-height: 1.05;
}

.max-hero__product-card p {
    margin-bottom: 25px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 14px;
}


/* Mini Service Tags */

.max-hero__mini-services {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.max-hero__mini-services span {
    padding:
        7px 11px;

    color: #DDEEFF;

    background:
        rgba(0, 119, 230, 0.12);

    border:
        1px solid rgba(0, 119, 230, 0.25);

    border-radius: 50px;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .max-hero {
        padding-top: 70px;
    }

    .max-hero__grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .max-hero__content {
        text-align: center;
    }

    .max-hero h1,
    .max-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .max-hero__actions {
        justify-content: center;
    }

    .max-hero__features {
        margin-left: auto;
        margin-right: auto;
    }

    .max-hero__visual {
        min-height: 450px;
    }

}


@media (max-width: 767px) {

    .max-hero {
        padding:
            55px 18px 50px;
    }

    .max-hero h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }

    .max-hero__description {
        font-size: 16px;
    }

    .max-hero__actions {
        flex-direction: column;
    }

    .max-hero__features {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px;
    }

    .max-hero__features > div::after {
        display: none;
    }

    .max-hero__visual {
        min-height: auto;
    }

    .max-hero__product-card {
        padding: 30px 24px;

        transform: none;
    }

    .max-hero__product-icon {
        width: 165px;
        height: 165px;
    }

    .max-hero__product-icon::before {
        top: 58px;
        left: -98px;

        width: 110px;
        height: 22px;
    }

    .max-hero__product-card h2 {
        font-size: 32px;
    }

}