:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main, section {
    flex: 1;
}

nav.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6d28d9;
    border-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.badge-primary {
    background-color: var(--primary);
}

.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section h1 {
    color: var(--text-dark);
    letter-spacing: -1px;
}

.features-section {
    background-color: var(--bg-light);
}

.card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    font-size: 2.5rem;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
}

.product-card img {
    object-fit: cover;
    height: 200px;
}

.product-card:hover {
    transform: translateY(-4px);
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 300px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.category-overlay h4 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-header h1 {
    color: var(--text-dark);
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.1rem;
}

.cookie-banner {
    background-color: #1f2937;
    color: white;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner a {
    color: var(--primary-light);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

footer {
    background-color: #1f2937;
    color: white;
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .features-section h2 {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .cookie-banner {
        position: relative;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}
