/* ═══════════════════════════════════════════
   TemasLink — Ortak Stiller (style.css)
   ═══════════════════════════════════════════ */

:root {
    --bg-primary: #050505;
    --bg-secondary: #0A0A0A;
    --bg-card: #101010;
    --accent: #FFFFFF;
    --accent-dim: #999999;
    --border: #1A1A1A;
    --border-hover: #333333;
    --text-main: #FFFFFF;
    --text-muted: #777777;
    --text-subtle: #444444;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.35s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Navbar ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav.scrolled {
    padding: 12px 6%;
    background: rgba(5, 5, 5, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}
.logo span { color: var(--accent-dim); font-weight: 600; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-main); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 340px;
    height: 100vh;
    background: #0A0A0A;
    border-left: 1px solid var(--border);
    padding: 100px 32px 40px;
    transition: right 0.35s ease;
    z-index: 999;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
    display: block;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--text-main); }

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--text-main);
    color: var(--bg-primary);
}
.btn-primary:hover {
    background: #d0d0d0;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--text-main);
    transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── Container & Section ── */
section { padding: 100px 6%; }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 48px;
}

.section-center { text-align: center; }
.section-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 6%;
}

/* ── Phone Mockup (shared) ── */
.phone-mockup { display: flex; justify-content: center; }

.phone-frame {
    width: 310px;
    background: #080808;
    border-radius: 36px;
    border: 2px solid #1a1a1a;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #080808;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: #0c0c0c;
    border-radius: 28px;
    overflow: hidden;
    overflow-y: auto;
    margin-top: -12px;
}

/* ── vCard ── */
.vcard { text-align: center; }

.vcard-header {
    background: linear-gradient(180deg, #151515 0%, #0c0c0c 100%);
    padding: 36px 20px 20px;
    position: relative;
}
.vcard-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: #181818;
}

.vcard-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid #222;
    margin: 0 auto 14px;
    overflow: hidden;
    position: relative; z-index: 1;
    background: #111;
}
.vcard-avatar img { width: 100%; height: 100%; object-fit: cover; }

.vcard-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
    position: relative; z-index: 1;
}
.vcard-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    position: relative; z-index: 1;
}
.vcard-company {
    font-size: 0.7rem;
    color: var(--text-subtle);
    position: relative; z-index: 1;
}

.vcard-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
}
.vcard-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 10px;
    cursor: pointer;
    transition: background var(--transition);
}
.vcard-action-btn:hover { background: #181818; }
.vcard-action-btn i { font-size: 14px; }

.vcard-info { padding: 0 20px 20px; }
.vcard-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition);
    word-break: break-all;
}
.vcard-info-item:hover { background: #181818; }
.vcard-info-item i {
    color: var(--text-main);
    width: 16px;
    flex-shrink: 0;
    text-align: center;
    font-size: 12px;
}

.vcard-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 6px 20px 24px;
}
.vcard-social a {
    width: 38px; height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}
.vcard-social a:hover { color: var(--text-main); }

.vcard-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background: var(--text-main);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background var(--transition);
}
.vcard-save-btn:hover { background: #d0d0d0; }

.vcard-branding {
    text-align: center;
    padding: 0 20px 16px;
    font-size: 9px;
    color: var(--text-subtle);
}
.vcard-branding span { font-weight: 600; }

/* ── Footer ── */
footer {
    padding: 48px 6% 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 260px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    color: var(--text-muted);
    font-size: 16px;
    transition: color var(--transition);
}
.footer-social a:hover { color: var(--text-main); }

.footer-column h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 5px 0;
    transition: color var(--transition);
}
.footer-column a:hover { color: var(--text-main); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-subtle);
    font-size: 0.78rem;
}

/* ── Responsive — Common ── */
@media (max-width: 768px) {
    .nav-links, .nav-cta .btn-outline { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .phone-frame { width: 280px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
