/* Atelier Doreen - Vibrant & Professional Styling */

:root {
    --primary-color: #d94862;
    --primary-hover: #b8324a;
    --accent-color: #f7a072;
    --bg-light: #fdfbf7;
    --card-bg: #ffffff;
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --border-color: #f0e6df;
    --shadow-soft: 0 10px 30px rgba(217, 72, 98, 0.08);
    --shadow-hover: 0 15px 35px rgba(217, 72, 98, 0.15);
    --radius: 16px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigatie */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    background-color: #fff0f3;
    color: var(--primary-color);
    font-weight: 600;
}

.admin-link-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.login-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.login-link:hover {
    color: var(--primary-color);
}

.btn-admin, .btn-logout {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-admin {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-logout {
    background-color: #e0e0e0;
    color: #333;
}

/* Hero banner */
.hero-banner {
    text-align: center;
    padding: 3.5rem 1.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #fff5f6 0%, #fff0ea 100%);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.hero-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.hero-banner p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Main content */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
}

/* Galerie Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.art-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.art-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.art-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 80%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background-color: #f7f7f7;
}

.art-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-card:hover .art-image-wrapper img {
    transform: scale(1.04);
}

.badge-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.art-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.art-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.art-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.art-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f5f5f5;
}

.art-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
}

.btn-order {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 72, 98, 0.25);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 72, 98, 0.35);
}

/* Formulier & Admin Styling */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Admin Tabel */
.admin-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: #fff0f3;
    color: var(--primary-color);
    font-weight: 600;
}

.admin-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.btn-delete {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.btn-delete:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #2b2d42;
    color: white;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #a0a0a0;
}
