/* =========================================
   HYDAN – GLOBAL DESIGN SYSTEM
   Auto light/dark | Minimal | Elegant
========================================= */

:root {
    --bg: #ffffff;
    --bg-soft: #f4f4f4;
    --text: #111111;
    --muted: #666666;
    --accent: #000000;
    --border: rgba(0,0,0,0.08);
}
.site-logo {
    content: url("../static/hydan-02.svg");
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d0d0d;
        --text: #f2f2f2;
        --muted: #9a9a9a;
        --accent: #ffffff;
        --card: #161616;
    }

    .site-logo {
        content: url("../static/hydan-01.svg");
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
    opacity: 0;
    transition: opacity .4s ease;

}
body.loaded 
{
    opacity: 1;
}


a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   LAYOUT
========================================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 2.5rem 1.5rem;
}

.center-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: var(--bg-soft);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border);
}

/* =========================================
   TYPOGRAPHY
========================================= */
.brand {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* =========================================
   FORMS
========================================= */
input, textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    color: var(--text);
    margin-bottom: 0.9rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    font-size: 0.85rem;
    border: 1px solid var(--accent);
    transition: all 0.25s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--bg);
}

.btn.primary:hover {
    opacity: 0.85;
}

.btn.secondary:hover {
    background: var(--bg-soft);
}

/* =========================================
   ADMIN
========================================= */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--bg-soft);
    padding: 2rem;
    border-right: 1px solid var(--border);
}

.admin-content {
    padding: 2.5rem;
}

.admin-sidebar a {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.admin-sidebar a:hover {
    color: var(--text);
}

/* =========================================
   GALLERY
========================================= */
.masonry 
{
    column-count: 4;
    column-gap: 1.2rem;
}




.art-card:hover .art-overlay {
opacity: 1;
}


.art-info {
padding: 1rem;
width: 100%;
}


.art-info h3 {
margin: 0;
font-size: 1rem;
}


.art-info span {
font-size: 0.85rem;
opacity: 0.8;
}


.art-actions {
display: flex;
gap: 0.5rem;
margin-top: 0.6rem;
}


.art-actions a {
font-size: 0.75rem;
padding: 0.4rem 0.7rem;
border-radius: 999px;
background: rgba(255,255,255,.15);
text-decoration: none;
color: white;
}


.art-actions a.primary {
background: var(--accent);
color: #000;
}

/* ==============================
   SUCCESS PAGE UX
============================== */

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    margin: 0 auto 1rem;
    animation: popIn 0.6s ease-out;
}

.success-card {
    animation: fadeUp 0.7s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0.6); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

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

/* ==============================
   COMISSION
============================== */

.commission-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 2rem;
}

.commission-form label {
    display: block;
    margin-bottom: 1.2rem;
}

.commission-form input,
.commission-form select,
.commission-form textarea {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    border-radius: 6px;
}

.primary-btn {
    background: var(--accent);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #0f0f0f;
    color: #fff;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,.6);
}

.modal h2 {
    margin-top: 0;
    font-size: 1.4rem;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #aaa;
    cursor: pointer;
}

.terms-list {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.terms-list li {
    margin-bottom: .8rem;
    line-height: 1.5;
    color: #ddd;
}

.terms-note {
    font-size: .9rem;
    color: #999;
    margin-top: 1rem;
}

.terms-link {
    margin: 1rem 0;
}

.terms-link a {
    color: #aaa;
    text-decoration: underline;
    font-size: .9rem;
}


