/* Modern CSS for Råbyrian Pizzeria */

/* CSS Variables */
:root {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --accent-color: #FFA726;
    --accent-dark: #FF9800;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.18);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.25);
    --shadow-colored: 0 8px 24px rgba(211, 47, 47, 0.25);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo:hover img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(211, 47, 47, 0.2));
}

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

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.btn-nav::after {
    display: none;
}

.btn-login {
    background: transparent;
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #8B0000 100%);
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 167, 38, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    box-shadow: 0 4px 16px rgba(255, 167, 38, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 167, 38, 0.5);
}

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

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-white);
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(211, 47, 47, 0.1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
    transition: var(--transition);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(8px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.5;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 167, 38, 0.3), transparent);
}

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

.footer-section h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a {
    color: var(--bg-white);
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    background: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    border-color: transparent;
}

.social-links a svg {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-links a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.875rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0.6;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-colored);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

@keyframes rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top:hover::before {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: flex;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 80vh;
    }

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

    .btn {
        justify-content: center;
    }

    .features {
        padding: 3rem 0;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #8B0000 100%);
    color: var(--bg-white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 167, 38, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
    position: relative;
}

.content-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
}

/* Menu Styles */
.menu-category {
    margin-bottom: 4rem;
}

.menu-category-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.menu-category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    border-radius: 2px;
}

.menu-category-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    position: relative;
}

.menu-category-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 500;
}

.menu-item {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(211, 47, 47, 0.15);
    background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 167, 38, 0.02) 100%);
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.menu-item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.menu-item-price {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.menu-item:hover .menu-item-price {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Make text visible when editing */
.menu-item-price.editable:focus,
.menu-item-price[contenteditable="true"]:focus,
.menu-item-price.editable[contenteditable="true"] {
    -webkit-text-fill-color: #667eea !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    background: transparent !important;
    color: #667eea !important;
}

/* Also ensure text is visible while typing */
.menu-item-price.editable[contenteditable="true"]:not(:focus) {
    -webkit-text-fill-color: #667eea !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    background: transparent !important;
    color: #667eea !important;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Hours Table */
.hours-container {
    max-width: 600px;
    margin: 0 auto;
}

.hours-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.hours-table:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.hours-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.hours-table-row:last-child {
    border-bottom: none;
}

.hours-table-row:hover {
    background: var(--bg-light);
}

.hours-table-day {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-table-time {
    text-align: right;
    color: var(--text-light);
}

/* Contact/Map Section */
.map-section {
    padding: 0;
    background: var(--bg-light);
    position: relative;
}

.map-container {
    width: 100%;
    height: 450px;
    border: none;
    position: relative;
}

.contact-info {
    padding: 3rem 0;
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover::before {
    opacity: 1;
    top: -30%;
    left: -30%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(211, 47, 47, 0.15);
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Order Form Styles */
.order-form {
    max-width: 900px;
    margin: 0 auto;
}

.order-step {
    animation: fadeInUp 0.5s ease-out;
}

.order-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

.order-card h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.order-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.order-type-option {
    display: block;
    cursor: pointer;
}

.order-type-option input[type="radio"] {
    display: none;
}

.order-type-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.order-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05), rgba(255, 167, 38, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.order-type-card:hover::before {
    opacity: 1;
}

.order-type-option input[type="radio"]:checked + .order-type-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored);
    border-width: 3px;
}

.order-type-option input[type="radio"]:checked + .order-type-card::before {
    opacity: 0;
}

.order-type-card svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.order-type-option input[type="radio"]:checked + .order-type-card svg {
    color: var(--bg-white);
}

.order-type-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.order-type-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1), 0 4px 12px rgba(211, 47, 47, 0.15);
    transform: translateY(-1px);
    background: var(--bg-white);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(211, 47, 47, 0.3);
}

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

.order-items {
    margin-top: 1rem;
}

.order-item-input {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.order-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: var(--text-dark);
    min-width: 150px;
    font-weight: 600;
}

.summary-item span {
    color: var(--text-light);
    text-align: right;
    flex: 1;
}

@media (max-width: 768px) {
    .order-card {
        padding: 1.5rem;
    }

    .order-type-selection {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .summary-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-item strong {
        min-width: auto;
    }

    .summary-item span {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hours-table-row {
        padding: 1rem;
    }

    .order-card {
        padding: 1.25rem;
    }

    .order-card h2 {
        font-size: 1.5rem;
    }
}

/* Admin Edit Button */
.admin-edit-button {
    position: fixed;
    top: 80px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-colored);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-edit-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--bg-white);
}

.admin-edit-button svg {
    width: 18px;
    height: 18px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Button positioning utility - Move phone button 25px to the right (30px - 5px) */
/* Target the phone button in oppettider.html and hitta-till-oss.html */
.content-section .btn.btn-primary[href="./bestalla.html"],
.content-section .btn.btn-primary[href*="bestalla"] {
    margin-left: 25px;
}

/* Shopping List Styles */
.menu-selection .menu-item {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.menu-selection .menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.menu-selection .menu-item:active {
    transform: translateY(-2px) scale(0.98);
}

.menu-selection .menu-item * {
    pointer-events: none;
}

.menu-selection .menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

/* Make menu items on var-meny.html clickable */
.content-section .menu-item {
    cursor: pointer;
    transition: var(--transition);
}

.content-section .menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.content-section .menu-item:active {
    transform: translateY(-2px) scale(0.98);
}

#cartItems .menu-item {
    cursor: default;
}

#cartItems .menu-item:hover {
    transform: none;
}

@media (max-width: 768px) {
    .admin-edit-button {
        top: 70px;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Remove margin on mobile for better layout */
    .content-section .btn.btn-primary[href="./bestalla.html"],
    .content-section .btn.btn-primary[href*="bestalla"] {
        margin-left: 0;
    }
    
    .menu-selection .menu-grid {
        grid-template-columns: 1fr !important;
    }
}

