:root {
    --bg: #0f0f10;
    --muted: #1a1a1c;
    --text: #f4f4f5;
    --sub: #b5b5b8;
    --accent: #ffffff;
    --ring: rgba(255, 255, 255, .25);
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

html,
body {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    background: radial-gradient(1200px 800px at 80% -10%, #1a1a1c 0%, #0f0f10 60%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--text);
    text-decoration: none
}

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

/* Wrapper */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.2) blur(6px);
    background: linear-gradient(180deg, rgba(15, 15, 16, .85), rgba(15, 15, 16, .55));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 24px;
    justify-content: space-between;
}

.title {
    position: relative;
    display: flex;
    flex-direction: column
}

.name {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700
}

.tag {
    font-size: 14px;
    color: var(--sub)
}

.spacer {
    flex: 1
}

@media(max-width: 640px) {
    .contact-number {
        font-size: smaller;
    }
}

@media(max-width:640px) {
    .contact-btn {
        width: 140px;
    }
}

.icons {
    display: flex;
    gap: 10px;
}

.arrow {
    margin-left: auto;
    margin-right: auto;
}

.contact-scroll {
    position: absolute;
    left: 20px;
    top: 90px;
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 10px 10px;
    backdrop-filter: saturate(1.2) blur(6px);
    background: linear-gradient(180deg, rgba(15, 15, 16, .85), rgba(15, 15, 16, .55));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    transition: transform .25s ease, .25s ease, box-shadow .25s ease;
}

.contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--muted);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    transition: transform .25s ease, .25s ease, box-shadow .25s ease;
}

.contact-btn:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px
}

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

.contact-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .08)
}

@media (min-width: 640px) {
    .contact-dot {
        border-radius: 50%;
    }
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    padding: 40px 24px 8px
}

.hero-card {
    background: linear-gradient(145deg, #111113, #0b0b0c);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.hero-image{
    width: 100%;
    height: auto;
}

.hero-card img {
    aspect-ratio: 16/10;
    object-fit: cover
}

.hero-body {
    padding: 24px;
   
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4.5vw, 42px)
}

.hero p {
    margin: 0;
    color: var(--sub)
}

/* Section */
section {
    padding: 40px 24px
}

.cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px
}

.card {
    grid-column: span 6;
    background: linear-gradient(160deg, #111113, #0c0c0d);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 0 0 6px
}

.card p {
    margin: 0;
    color: var(--sub)
}

@media (max-width: 840px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .card {
        grid-column: span 12
    }
}

/* Link animatsiyalari */
.link-underline {
    position: relative;
    display: inline-block
}

.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease
}

.link-underline:hover::after {
    transform: scaleX(1)
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
    transition: transform .2s ease, .2s ease
}

.contact-list a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .05)
}

.contact-list svg {
    flex: 0 0 20px
}

/* Drawer (kontaktlar) */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
}

.drawer[open] {
    display: block
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6)
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    background: #111112;
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.drawer-title {
    font-weight: 700
}

.drawer-body {
    padding: 18px;
    overflow: auto
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: var(--muted)
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important
    }

    .contact-btn,
    .contact-list a,
    .reveal {
        transition: none
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footerContainer {
    text-align: center;

}

.socials {
    display: flex;
    align-items: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
}


.end {
    font-family: 'Courier New', Courier, monospace;
    padding-bottom: 40px;
}

#myIframe {
    width: 100%;
}

@media (max-width: 640px) {
    #myIframe {
        width: 300px;
        height: 200px;
    }
}