* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: #050816;
    color: #e5e7eb;
}

.header {
    padding: 24px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    color: #a855f7;
}
.header a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}
.header a:hover { color: #e5e7eb; }

.gallery {
    max-width: 1200px;
    margin: 10px auto 40px;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card { perspective: 1200px; }
.card-inner {
    position: relative;
    width: 100%;
    padding-top: 130%;
    transform-style: preserve-3d;
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    cursor: pointer;
}
.card-inner.flip { transform: rotateY(180deg); }
.card-face {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    backface-visibility: hidden;
}
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-back {
    background: #0b1120;
    border: 1px solid #4b5563;
    transform: rotateY(180deg);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-back p { font-size: 14px; line-height: 1.5; }

.contact-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (max-width: 800px) {
    .contact-section { grid-template-columns: 1fr; }
}
.contact-card {
    background: #020617;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #1f2937;
}
.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    margin-bottom: 14px;
}
.contact-card button {
    width: 100%;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #a855f7, #22d3ee);
    color: #0b1120;
    font-weight: 600;
    cursor: pointer;
}

.footer {
    border-top: 1px solid #111827;
    padding: 16px 20px 24px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}
