@font-face {
    font-family: 'Resagokr';
    src: url('../fonts/ResagokrBold.otf') format('opentype');
}

:root {
    --glass-bg: rgba(30, 32, 38, 0.38);
    --glass-border: rgba(255,255,255,0.08);
    --accent: #6366f1;
}

html { scroll-behavior: smooth; }

body {
    background: #0f1014;
    color: #f1f1f5;
    overflow-x: hidden;
}

#about, #gallery, #contact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 0 20px black;
}

.resagokr {
    font-family: 'Resagokr', system-ui, sans-serif;
}

.navbar {
    background: rgba(15,16,20,0.72);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.brand-logo {
    font-family: 'Resagokr', system-ui, sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fd9b32, #3075dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo img {
    height: 4rem;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(15,16,20,0.65), rgba(15,16,20,0.92));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(99,102,241,0.12), transparent 40%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

/* ── Feature cards with fade + slide reveal ── */
.feature-card {
    height: 260px;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 10px black;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.23,1,0.32,1);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3.2rem;
    margin-bottom: 1.3rem;
    color: var(--accent);
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) translateY(-25px);
}

.feature-title {
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-title {
    transform: translateY(-25px);
}

.feature-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-size: 0.96rem;
    line-height: 1.5;
    color: #d1d5db;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
}

.feature-card:hover .feature-desc {
    opacity: 0.92;
    transform: translateY(0);
}

@media (hover: none) {
    .feature-desc {
        opacity: 0.92;
        transform: translateY(0);
        position: static;
        margin-top: 1rem;
    }
}

#gallery .container {
    display: flex;
    flex-direction: column;
}

.gallery {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.8rem;
    padding: 1rem 0;
    justify-items: center;
}

.gallery img {
    height: 100%;
    max-height: 500px;
    width: auto;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

@media (max-width: 920px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 780px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    
    .gallery img {
        max-width: 340px;
        border-radius: 24px;
    }
}

.contact-box {
    margin: auto;
    max-width: 640px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.8rem;
    box-shadow: 0 0 10px black;
}

.contact-box ::placeholder {
    color: #9ca3af;
    opacity: 0.5;
}

.contact-box ::-ms-input-placeholder {
    color: #9ca3af;
    opacity: 0.5;
}

.form-control {
    background: rgba(40,43,55,0.45);
    border: 1px solid rgba(255,255,255,0.09);
    color: #b3b9c6;
}

.form-control:focus {
    color: #b3b9c6;
    background: rgba(40,43,55,0.55);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(99,102,241,0.25);
}

footer {
    padding: 3rem 0 1.5rem;
}

.social-icons a {
    color: #9ca3af;
    font-size: 1.6rem;
    margin: 0 0.9rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #e5e7eb;
    transform: translateY(-3px);
}

.legal-link {
    text-decoration: none;
    font-size: 0.9rem !important;
}

.badge-wrapper img {
    height: 56px;
    margin: 0 0.8rem;
    transition: transform 0.3s ease;
}

.badge-wrapper img:hover { transform: translateY(-4px); }

.about-creator {
    text-align: center;
    font-size: 0.95rem;
    color: #b3b9c6;
    line-height: 1.6;
}

.about-creator p {
    max-width: 640px;
}

@media (max-width: 768px) {
    .feature-card { height: auto; min-height: 240px; }
    .hero { min-height: 640px; }
}