/* 
 * Fantastica Pizzeria Wien Styles
 * Version: 1.0.2
 * Last updated: 2024-03-19
 */

/* Import card components */
@import 'components/cards.css';

/* Global styles */
:root {
    --bs-primary: #1a1818;
    --bs-secondary: #222;
    --bs-accent: #d4af37;
    --bs-success: #28a745;
    --bs-warning: #ffc107;
    --la-linde-black: #1a1818;
    --la-linde-gold: #d4af37;
    --la-linde-white: #ffffff;
    --header-height: 90px;
    --footer-height: 60px;
    --section-padding: 4rem 0;
    --card-border-radius: 15px;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--la-linde-white);
    background: var(--la-linde-black);
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header styles */
header {
    background: var(--la-linde-black);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--header-height);
    border-bottom: 3px solid var(--la-linde-gold);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    height: 100%;
    padding: 1rem 2rem;
    background: var(--la-linde-black) !important;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-nav {
    gap: 1rem;
}

.navbar-nav .nav-link {
    color: var(--la-linde-white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--la-linde-gold);
    color: var(--la-linde-black);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
}

.hero-content {
    color: var(--la-linde-white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button styles */
.btn-primary,
.btn-gold {
    background-color: var(--la-linde-gold);
    color: var(--la-linde-black);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover,
.btn-gold:hover {
    background-color: #bfa233;
    color: var(--la-linde-white);
}

.hero-content .btn-primary {
    min-width: 180px;
    margin: 0 0.5rem;
}

/* Main content */
main {
    flex: 1;
    width: 100%;
    position: relative;
}

/* Sections */
section {
    padding: 3rem 0;
    position: relative;
}

section:first-child {
    padding-top: 1.5rem;
}

section:last-child {
    padding-bottom: 3rem;
}

.section-light {
    background: #fff;
}

.section-dark {
    background: var(--bs-secondary);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--la-linde-white);
}

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

.card-body {
    padding: 2rem;
}

.card h2 {
    color: var(--la-linde-gold);
    font-weight: 600;
}

.card strong {
    font-weight: 600;
    color: var(--bs-secondary);
}

.card .text-muted {
    color: #6c757d !important;
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 1rem;
}

.timeline-year {
    font-size: 1rem;
    min-width: 80px;
    text-align: center;
}

/* Quality section */
.quality-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    padding: var(--section-padding);
}

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

.quality-point {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    padding: var(--section-padding);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: var(--la-linde-black);
    padding: 2rem 0;
    margin-top: auto;
    color: var(--la-linde-white);
}

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

footer a:hover {
    color: var(--la-linde-gold) !important;
}

/* Modal styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 2px solid var(--la-linde-gold);
}

.modal-title {
    color: var(--la-linde-gold);
    font-weight: 600;
}

/* Allergen groups */
.allergen-group {
    border-left: 4px solid var(--la-linde-gold);
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.allergen-group:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.allergen-group h2 {
    color: var(--la-linde-gold);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

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

    .card-body {
        padding: 1.5rem;
    }

    .quality-points,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    body {
        padding-top: 0;
    }

    header {
        position: relative;
    }

    .hero-section {
        height: auto;
        min-height: auto;
    }

    .hero-section::before {
        display: none;
    }

    .modal {
        position: relative;
        display: block !important;
    }

    .modal-content {
        box-shadow: none;
    }

    .btn {
        display: none;
    }
}

/* Additional components */
.special-offers {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

.menu-preview {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.contact-info {
    background: var(--la-linde-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--la-linde-gold);
    color: var(--la-linde-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Fix for cards in grid layouts */
.row>[class*='col-'] {
    margin-bottom: 1.5rem;
}

/* Container padding adjustments */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Image optimizations */
img {
    max-width: 100%;
    height: auto;
}

picture {
    display: block;
}

/* Lazy loading styles */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

.gold-text {
    color: var(--la-linde-gold) !important;
}