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

:root {
    --charcoal: hsl(215, 25%, 27%);
    --soft-cream: hsl(30, 15%, 95%);
    --rose-gold: hsl(15, 50%, 65%);
    --sage-green: hsl(100, 20%, 80%);
    --warm-gray: hsl(20, 10%, 50%);
    --light-gray: hsl(0, 0%, 95%);
    --white: hsl(0, 0%, 100%);
    --shadow: hsla(215, 25%, 27%, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--soft-cream);
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    color: var(--rose-gold);
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--rose-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
}

.section.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sage-green), var(--soft-cream));
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--warm-gray);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--rose-gold);
    color: white;
}

.btn-primary:hover {
    background-color: hsl(15, 50%, 55%);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--charcoal);
    color: white;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--soft-cream);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.feature-card p {
    color: var(--warm-gray);
}

/* Blog Section */
.blog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-gray);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--rose-gold);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    background-color: var(--sage-green);
    color: var(--charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.blog-card-excerpt {
    color: var(--warm-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--warm-gray);
}

/* Search and Filters */
.search-container {
    margin-bottom: 2rem;
    text-align: center;
}

.search-container input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.search-container input:focus {
    outline: none;
    border-color: var(--rose-gold);
}

.duft-controls {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 600;
    color: var(--charcoal);
}

.control-group select,
.control-group input {
    padding: 0.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
}

.control-group select:focus,
.control-group input:focus {
    outline: none;
    border-color: var(--rose-gold);
}

.duft-stats {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--warm-gray);
}

/* Tables */
.duft-table-container {
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.duft-table {
    width: 100%;
    border-collapse: collapse;
}

.duft-table th {
    background-color: var(--charcoal);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.duft-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.duft-table tr:hover {
    background-color: var(--soft-cream);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-number {
    background-color: var(--rose-gold);
    color: white;
}

.badge-family {
    background-color: var(--light-gray);
    color: var(--warm-gray);
}

/* Shops Grid */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.shop-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-5px);
}

.shop-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.shop-country {
    display: inline-block;
    background-color: var(--sage-green);
    color: var(--charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.shop-description {
    color: var(--warm-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.shop-website {
    color: var(--rose-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.shop-website:hover {
    color: hsl(15, 50%, 55%);
}

.shop-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-website-btn {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background-color: #065f46;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.7rem;
    transition: background-color 0.2s;
}

.shop-website-btn:hover {
    background-color: #047857;
    text-decoration: none;
}

.family-tag {
    background-color: #f3e8ff;
    color: #7c3aed;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Shop Filter Buttons (wie in React-Version) */
.shop-filter-section {
    margin-bottom: 2rem;
}

.shop-filter-section .subtitle {
    color: var(--warm-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.shop-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.shop-filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    background-color: white;
    color: var(--charcoal);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-filter-btn:hover {
    border-color: var(--rose-gold);
    background-color: rgba(217, 156, 124, 0.1);
}

.shop-filter-btn.active {
    background-color: var(--rose-gold);
    border-color: var(--rose-gold);
    color: white;
}

.search-container-duft {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.search-container-duft input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.2s ease;
}

.search-container-duft input:focus {
    outline: none;
    border-color: var(--rose-gold);
}

.search-container-duft input::placeholder {
    color: var(--warm-gray);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    color: var(--rose-gold);
}

.footer-section h4, .footer-section h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section ul li a:hover {
    color: var(--rose-gold);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .duft-controls {
        flex-direction: column;
        align-items: center;
    }

    .control-group {
        width: 100%;
        max-width: 300px;
    }

    .blog-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .duft-table th,
    .duft-table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}