@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --primary: #03045e;
    --bg: #f8f9fa;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: rgba(3, 4, 94, .08);
    --soft-border: rgba(3, 4, 94, .14);
    --radius: 16px;
    --shadow: 0 12px 30px rgba(17, 24, 39, .06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 249, 250, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo strong {
    display: block;
    color: var(--primary);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.logo span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu a {
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}

.menu a:hover {
    color: var(--primary);
}

.mobile-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-ghost {
    background: var(--card);
    color: var(--primary);
    border-color: var(--soft-border);
}

/* HERO */

.hero {
    padding: 92px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    background: var(--soft);
    border: 1px solid var(--soft-border);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
    color: var(--primary);
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -.07em;
    margin-bottom: 22px;
    font-weight: 850;
}

.hero p,
.page-hero p {
    color: var(--muted);
    max-width: 760px;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.visual-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 20px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.visual-box {
    min-height: 330px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(3,4,94,.94), rgba(3,4,94,.68)),
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 36%);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.visual-box::before {
    content: "Gülmüş Soft";
    position: absolute;
    left: 26px;
    bottom: 26px;
    color: #ffffff;
    font-weight: 850;
    font-size: 28px;
    letter-spacing: -.05em;
}

.visual-box::after {
    content: "Web Tasarım • Sosyal Medya • Reklam";
    position: absolute;
    left: 26px;
    bottom: 68px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 650;
}

/* SECTIONS */

.section {
    padding: 78px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-title h2 {
    color: var(--primary);
    font-size: clamp(30px, 4.8vw, 48px);
    line-height: 1.1;
    letter-spacing: -.05em;
    margin: 10px 0 13px;
    font-weight: 850;
}

.section-title p {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card h3 {
    color: var(--primary);
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 9px;
    font-weight: 800;
}

.card p {
    color: var(--muted);
}

.card small {
    color: var(--primary);
    font-weight: 800;
}

/* SERVICE ICONS */

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: var(--soft);
    border: 1px solid var(--soft-border);
    color: var(--primary);
    font-size: 20px;
}

.card:hover .service-icon {
    background: var(--primary);
    color: #ffffff;
}

/* PAGE HERO */

.page-hero {
    padding: 82px 0 48px;
    border-bottom: 1px solid var(--line);
}

/* FORMS */

.form-card {
    border: 1px solid var(--line);
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: var(--primary);
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--text);
    outline: none;
    font-size: 14px;
}

textarea {
    min-height: 132px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--soft);
}

/* FOOTER */

.footer {
    border-top: 1px solid var(--line);
    padding: 52px 0 24px;
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 28px;
}

.footer h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 10px;
}

.footer p,
.footer a {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 14px;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 23px;
    box-shadow: 0 18px 40px rgba(3,4,94,.22);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .mobile-btn {
        display: grid;
        place-items: center;
    }

    .menu {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        padding: 20px 4%;
        background: rgba(248,249,250,.98);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
    }

    .menu.show {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .cards,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 70px 0 58px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ==============================
   OPENING ANIMATION
============================== */

@keyframes gsFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gsFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    animation: gsFadeIn .3s ease both;
}

.hero,
.page-hero,
.section-title,
.card,
.form-card,
.visual-card {
    animation: gsFadeUp .42s ease both;
}

.card:nth-child(1) { animation-delay: .04s; }
.card:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3) { animation-delay: .12s; }
.card:nth-child(4) { animation-delay: .16s; }
.card:nth-child(5) { animation-delay: .20s; }
.card:nth-child(6) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* ==============================
   FRONT MOBILE RESPONSIVE UPGRADE
============================== */

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 1024px) {
    .container {
        width: min(94%, 960px);
    }

    .hero {
        padding: 72px 0 58px;
    }

    .hero-grid {
        gap: 30px;
    }

    .visual-box {
        min-height: 280px;
    }

    .section {
        padding: 58px 0;
    }
}

@media (max-width: 900px) {
    .nav {
        min-height: 66px;
    }

    .menu {
        top: 66px;
        gap: 12px;
    }

    .menu a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(34px, 9vw, 52px);
    }

    .hero p,
    .page-hero p {
        font-size: 15px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .container {
        width: 92%;
    }

    .logo strong {
        font-size: 19px;
    }

    .logo span {
        font-size: 11px;
    }

    .hero {
        padding: 54px 0 44px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 36px;
        letter-spacing: -.05em;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .visual-card {
        padding: 12px;
        border-radius: 20px;
    }

    .visual-box {
        min-height: 220px;
        border-radius: 16px;
    }

    .visual-box::before {
        left: 18px;
        bottom: 18px;
        font-size: 22px;
    }

    .visual-box::after {
        left: 18px;
        bottom: 51px;
        font-size: 11px;
    }

    .section {
        padding: 46px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .cards,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 19px;
    }

    .page-hero {
        padding: 54px 0 34px;
    }

    .form-card {
        padding: 18px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        font-size: 12px;
    }

    .whatsapp {
        width: 50px;
        height: 50px;
        right: 16px;
        bottom: 16px;
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .page-hero h1 {
        font-size: 31px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .badge {
        font-size: 12px;
    }

    input,
    select,
    textarea {
        font-size: 13px;
    }
}