/* Main CSS File - Nockeby Pizzeria */

/* Import Variables */
@import './variables/_colors.css';
@import './variables/_typography.css';
@import './variables/_spacing.css';

/* Import Layout */
@import './layout/_base.css';
@import './layout/_header.css';
@import './layout/_footer.css';

/* Import Components */
@import './components/_hero.css';
@import './components/_menu.css';
@import './components/_pizza-news.css';
@import './components/_contact.css';

/* Import Utilities */
@import './utilities/_helpers.css';

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--text-primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: var(--fw-semibold);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Menu Search and Filters */
.menu-search {
    margin-bottom: var(--space-16);
    padding: var(--space-8);
    background: var(--bg-gradient-light);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    position: relative;
    margin-bottom: var(--space-8);
}

#menu-search {
    width: 100%;
    padding: var(--space-5) var(--space-6) var(--space-5) 3.5rem;
    font-size: var(--fs-lg);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-xl);
    background: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-container::before {
    content: '🔍';
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-xl);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

#menu-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-1px);
}

#menu-search::placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    border: 2px solid #e0e0e0;
    background: white;
    color: var(--text-secondary);
    border-radius: var(--radius-2xl);
    cursor: pointer;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.filter-btn:focus {
    outline: 3px solid var(--border-medium);
    outline-offset: 2px;
}

/* Special Offer */
.special-offer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--space-8);
    text-align: center;
    margin: var(--space-12) 0;
    border-radius: var(--radius-md);
}

.special-offer h3 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-4);
}

.special-offer p {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-4);
}

.quick-actions {
    margin-top: var(--space-6);
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-lg);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    width: 50px;
    height: 50px;
    font-size: var(--fs-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: var(--space-12) var(--space-8);
    color: var(--text-secondary);
    font-style: italic;
    display: none;
}

.no-results.show {
    display: block;
}

/* Allergi Note */
.allergi-note {
    background: var(--bg-gradient-light);
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: var(--space-5) var(--space-12);
    margin: var(--space-8) auto 0 auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-medium);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 90%;
}

.allergi-note p {
    margin: 0;
    font-style: inherit;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Special styling for category descriptions */
.menu-category > p,
.kebab-options > p,
.dressing-list {
    background: var(--bg-gradient-light);
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: var(--space-5) var(--space-12);
    margin: calc(-1 * var(--space-4)) auto var(--space-12) auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-medium);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 90%;
}

.dressing-list p {
    margin: 0;
    font-style: inherit;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Center DRESSINGAR section block */
.menu-category[data-category="other"] {
    text-align: center;
}

/* Special styling for kebab pricing */
.menu-item p[data-kebab-pricing] {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    color: #2c5282;
    font-weight: var(--fw-medium);
    font-size: var(--fs-base);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(44, 82, 130, 0.2);
    margin-top: var(--space-2);
    font-family: var(--font-primary);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.menu-item p[data-kebab-pricing]:hover {
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}