Files
batuhanerkek-site/styles.css
2026-01-30 00:53:50 +03:00

364 lines
5.8 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");
:root {
color-scheme: dark;
--bg: #05070d;
--bg-alt: #0a0f1f;
--primary: #0c1b3a;
--primary-strong: #10224f;
--accent: #1f3a7a;
--text: #e6ecff;
--muted: #a3b1d4;
--border: rgba(125, 140, 180, 0.2);
--glow: rgba(35, 70, 150, 0.35);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Manrope", system-ui, -apple-system, sans-serif;
background: radial-gradient(circle at top left, #0c1b3a 0%, #05070d 40%, #000 100%);
color: var(--text);
line-height: 1.6;
}
a {
color: inherit;
text-decoration: none;
}
.site-header {
position: sticky;
top: 0;
z-index: 10;
backdrop-filter: blur(12px);
background: rgba(5, 7, 13, 0.7);
border-bottom: 1px solid var(--border);
}
.nav {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 26px 24px;
}
.logo {
font-weight: 700;
letter-spacing: 0.5px;
font-size: 1.2rem;
}
.nav-links {
display: flex;
gap: 20px;
font-size: 1.05rem;
color: var(--muted);
}
.nav-links a {
transition: color 0.2s ease;
}
.nav-links a:hover {
color: var(--text);
}
main {
max-width: 1100px;
margin: 0 auto;
padding: 60px 24px 80px;
}
.hero {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 40px;
padding: 40px;
border-radius: 28px;
background: linear-gradient(135deg, rgba(16, 34, 79, 0.9), rgba(5, 7, 13, 0.95));
box-shadow: 0 25px 80px rgba(2, 6, 20, 0.7);
border: 1px solid var(--border);
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.75rem;
color: var(--muted);
}
.hero h1 {
font-size: clamp(2.6rem, 4vw, 3.6rem);
margin: 12px 0;
white-space: nowrap;
}
.subtitle {
font-size: 1.05rem;
color: var(--muted);
max-width: 520px;
}
.hero-actions {
display: flex;
gap: 16px;
margin: 24px 0;
flex-wrap: wrap;
}
.btn {
padding: 12px 22px;
border-radius: 999px;
border: 1px solid transparent;
font-weight: 600;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.primary {
background: linear-gradient(120deg, #1f3a7a, #10224f);
box-shadow: 0 10px 30px var(--glow);
}
.btn.ghost {
border: 1px solid var(--border);
color: var(--muted);
}
.btn:hover {
transform: translateY(-2px);
}
.hero-badges {
display: flex;
gap: 16px;
flex-wrap: wrap;
color: var(--muted);
font-size: 0.9rem;
}
.hero-media {
display: grid;
align-content: center;
gap: 12px;
justify-items: end;
}
.avatar {
width: 220px;
height: 220px;
border-radius: 50%;
overflow: hidden;
background: radial-gradient(circle at top right, #1f3a7a, #0a0f1f);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: inset 0 0 30px rgba(31, 58, 122, 0.4), 0 20px 40px rgba(0, 0, 0, 0.5);
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.media-note {
font-size: 0.85rem;
color: var(--muted);
}
.section {
margin-top: 80px;
}
.section-header {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 28px;
}
.section-header h2 {
font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}
.section-header p {
color: var(--muted);
}
.grid {
display: grid;
gap: 20px;
}
.grid.two {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid.three {
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid.four {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.card {
background: var(--bg-alt);
border: 1px solid var(--border);
border-radius: 18px;
padding: 22px;
box-shadow: 0 15px 35px rgba(4, 8, 20, 0.5);
transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.15);
}
.card h3 {
margin-bottom: 10px;
font-size: 1.1rem;
}
.card p {
color: var(--muted);
}
.card.compact {
text-align: center;
font-weight: 600;
}
.link-card span {
display: inline-block;
margin-top: 12px;
color: var(--text);
font-weight: 600;
}
.list {
display: grid;
gap: 8px;
color: var(--muted);
list-style: none;
margin-bottom: 14px;
}
.inline-link {
font-weight: 600;
color: var(--text);
}
.footer {
margin-top: 100px;
padding: 50px 24px 60px;
border-top: 1px solid var(--border);
background: rgba(5, 7, 13, 0.8);
}
.footer > div {
max-width: 1100px;
margin: 0 auto;
}
.footer h2 {
margin-bottom: 8px;
}
.socials {
display: flex;
flex-direction: row;
align-items: center;
gap: 18px;
flex-wrap: wrap;
margin: 20px auto 30px;
max-width: 1100px;
color: var(--muted);
}
.socials a {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 16px 16px;
border-radius: 999px;
border: 1px solid rgba(125, 140, 180, 0.2);
background: rgba(10, 15, 31, 0.4);
transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.socials .icon {
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.socials .icon svg {
width: 100%;
height: 100%;
display: block;
}
.socials a:hover {
color: var(--text);
transform: translateY(-2px);
border-color: rgba(255, 255, 255, 0.2);
}
.copyright {
max-width: 1100px;
margin: 0 auto;
color: var(--muted);
font-size: 0.85rem;
}
.reveal {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.6s ease, transform 0.6s ease;
will-change: opacity, transform;
}
.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
@media (max-width: 720px) {
.nav {
flex-direction: column;
gap: 12px;
}
.nav-links {
flex-wrap: wrap;
justify-content: center;
}
.hero {
padding: 30px;
}
.avatar {
width: 180px;
height: 180px;
}
.logo {
font-size: 1.1rem;
}
.nav-links {
font-size: 1rem;
}
}