:root {
    --color-bg: #f8fbff;
    --color-text: #505c6e;
    --color-heading: #2c3e50;
    --color-primary: #4a90e2;
    --color-white: #ffffff;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius-card: 12px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.sample-header {
    background: var(--color-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    text-decoration: none;
}

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

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

.sample-nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.sample-nav-list a {
    color: var(--color-heading);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.sample-nav-list a:hover {
    color: var(--color-primary);
}

/* Gallery Grid */
.gallery-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-heading);
}

.gallery-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #888;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.sample-item {
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sample-item:hover {
    transform: translateY(-5px);
}

.sample-preview {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
}

.sample-preview.has-image {
    color: transparent;
}

/* Theme Colors for Previews */
.preview-corporate {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #555;
}

.preview-car {
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    color: #fff;
}

.preview-cleaning {
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    color: #fff;
}

.preview-cake {
    background: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
    color: #d66d75;
}

.preview-law {
    background: linear-gradient(to right, #243949 0%, #517fa4 100%);
    color: #d4af37;
}

.preview-cafe {
    background: linear-gradient(to right, #d7d2cc 0%, #304352 100%);
    color: #fff;
}

.preview-dentist {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
    color: #333;
}

.preview-psych {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
    color: #555;
}

.preview-nephro {
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    color: #4a90e2;
}

.sample-info {
    padding: 20px;
}

.sample-info h3 {
    margin-bottom: 5px;
    color: var(--color-heading);
}

.sample-info p {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sample-nav-list {
        flex-wrap: wrap;
        gap: 12px;
    }
}
