/* ========================================
   MAIN SITE CSS - Nathalie van Barneveld
   Modern, clean, artistic website
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #b89476;
    --color-primary-dark: #a07d62;
    --color-primary-light: #d2b48c;
    --color-bg: #fff;
    --color-bg-warm: #f8f6f3;
    --color-bg-accent: #f1e4d1;
    --color-text: #2a2a2a;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e8e8e8;
    --color-success: #27ae60;
    --color-error: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Content wrapper - main page area */
.content {
    flex: 1;
    padding: 40px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 60px 0 32px;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    background: var(--color-primary);
    color: #fff;
}

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 148, 118, 0.35);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.center-btn {
    text-align: center;
    margin-top: 32px;
}

/* Cards - Generic */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* ========================================
   PORTFOLIO GRID
   ======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.portfolio-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.03);
}

.portfolio-item-content {
    padding: 24px;
}

.portfolio-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.portfolio-item p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.portfolio-item p strong {
    color: var(--color-text);
}

/* Materials badges */
.materials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-bg-warm);
    color: var(--color-text);
}

.badge-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
}

.sold-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 16px;
}

/* ========================================
   ARTICLES / BLOG GRID
   ======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .badge {
    align-self: flex-start;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.article-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.article-card .btn {
    align-self: flex-start;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-light);
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--color-bg-warm);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    text-align: left;
}

.about-content {
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

.about-content p {
    margin-bottom: 20px;
}

.about-content strong,
.about-content b {
    color: var(--color-text);
}

.about-content em {
    color: var(--color-text-light);
}

/* ========================================
   SINGLE ARTICLE PAGE
   ======================================== */
.article-single {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 32px;
}

.article-header .badge {
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.article-featured-image {
    width: 100%;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2, .article-body h3 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    max-width: 700px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--color-bg-warm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(184, 148, 118, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-container .btn {
    width: 100%;
    padding: 16px 28px;
    font-size: 16px;
}

/* Contact Info Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--color-bg-warm);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-info-card svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-info-card p {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

/* ========================================
   THANK YOU / SUCCESS PAGE
   ======================================== */
.success-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.success-content {
    max-width: 500px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4edda, #a8dfb5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-success);
}

.success-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.success-content p {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

/* ========================================
   404 PAGE
   ======================================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-bg-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.error-content p {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 24px;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .content {
        padding: 24px 16px;
    }

    .section-title {
        margin: 40px 0 24px;
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .portfolio-grid,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item img {
        height: 240px;
    }

    .contact-form-container {
        padding: 28px 20px;
    }

    .video-container {
        border-radius: var(--radius-lg);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations for grid items */
.portfolio-item,
.article-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.portfolio-item:nth-child(1), .article-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2), .article-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3), .article-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4), .article-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5), .article-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6), .article-card:nth-child(6) { animation-delay: 0.6s; }
</style>
