/* Local Font Faces */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/nunito-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/nunito-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-bold.woff2') format('woff2');
}

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

:root {
    /* Color Palette - Warm Beige/Gray for Bakery */
    --primary-bg: #f5f1ea;
    --secondary-bg: #e8dfd3;
    --accent-color: #c49b63;
    --accent-hover: #b08752;
    --accent-light: #d4b78a;
    --text-dark: #3e2c1f;
    --text-light: #6b5545;
    --white: #ffffff;
    --border-color: #d4c4b0;
    --shadow-sm: 0 2px 8px rgba(62, 44, 31, 0.08);
    --shadow-md: 0 4px 20px rgba(62, 44, 31, 0.12);
    --shadow-lg: 0 8px 30px rgba(62, 44, 31, 0.15);
    --shadow-xl: 0 20px 60px rgba(62, 44, 31, 0.2);
    
    /* Typography */
    --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--primary-bg);
    font-weight: 400;
    scroll-padding-top: 90px;
}

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

/* Header */
.header {
    background: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-normal);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
    margin: 0 -20px;
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background-color: var(--white);
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 100px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Navigation */
.navigation {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
}

.nav-list li {
    display: flex;
}

.nav-list li a {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem;
    height: 100%;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: var(--accent-hover);
    border-bottom-color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f1ea 0%, #e8dfd3 100%);
    color: var(--text-dark);
    text-align: center;
    padding: 6rem 0 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 155, 99, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(176, 135, 82, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(196, 155, 99, 0.3);
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

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

.hero p {
    font-size: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 1.2s ease;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: fadeInUp 1.4s ease;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    transition: all var(--transition-normal);
}

.social-link-footer:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: 2rem 0;
}

.content-section {
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--border-color);
}

/* Brotplan Card */
.brotplan-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--accent-color);
}

.brotplan-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.brotplan-image {
    max-width: 750px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Article Card */
.article-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(212, 196, 176, 0.2);
    position: relative;
    overflow: hidden;
}

.article-card:last-child {
    margin-bottom: 0;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-light));
    transition: height var(--transition-slow);
}

.article-card:hover::before {
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.article-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    object-fit: cover;
    cursor: pointer;
}

.article-card:hover .article-image img {
    transform: scale(1.05) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Info Card */
.info-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-light));
    transition: height var(--transition-slow);
}

.info-card:hover::before {
    height: 100%;
}

.info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 155, 99, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-card h3:first-child {
    margin-top: 0;
}

.info-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-info {
    font-weight: 500;
    color: var(--accent-color);
}

/* Opening Hours */
.opening-hours-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.opening-hours-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);    cursor: pointer;
    transition: all var(--transition-normal);
}

.opening-hours-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);}

.opening-times {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(232, 223, 211, 0.7) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 196, 176, 0.3);
    transition: all var(--transition-normal);
}

.opening-times:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.opening-times p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.opening-times p:last-child {
    margin-bottom: 0;
}

.opening-times strong {
    display: inline-block;
    min-width: 60px;
    color: var(--accent-color);
}

/* Awards Section */
.awards-section {
    background: linear-gradient(135deg, var(--white) 0%, rgba(245, 241, 234, 0.5) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    border: 1px solid rgba(212, 196, 176, 0.2);
    transition: all var(--transition-normal);
}

.awards-section:hover {
    box-shadow: var(--shadow-lg);
}

.awards-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.awards-section > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.award-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.award-item:hover {
    background-color: rgba(232, 223, 211, 0.3);
    transform: translateY(-5px);
}

.award-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 4px 8px rgba(62, 44, 31, 0.15));
    transition: all var(--transition-normal);
    cursor: pointer;
}

.award-item:hover img {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(62, 44, 31, 0.25));
}

.award-item p {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.award-item:hover p {
    color: var(--accent-color);
}

/* Instagram Section */
.instagram-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.instagram-media {
    margin: 0 auto !important;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 5rem;
    box-shadow: 0 -4px 20px rgba(62, 44, 31, 0.15);
    position: relative;
    overflow: hidden;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer p {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0;
}

.footer a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10000;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    max-width: 90%;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0;
        background: transparent;
    }

    .header-content {
        flex-wrap: wrap;
        min-height: auto;
        justify-content: center;
    }

    .logo {
        padding: 0.5rem 1rem;
        flex: 0 0 auto;
        order: 1;
        background-color: transparent;
    }

    .logo-image {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 101;
        order: 2;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .navigation {
        order: 3;
        width: 100%;
        margin: 0;
        flex-basis: 100%;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        display: none;
        width: 100%;
    }

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

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

    .nav-list li a {
        padding: 1rem 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        width: 100%;
    }

    .hero {
        padding: 4rem 0 3rem 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

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

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

    .section-title {
        font-size: 1.6rem;
    }

    .article-card,
    .info-card {
        padding: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .article-card {
        grid-template-columns: 300px 1fr;
    }

    .article-card-reversed {
        grid-template-columns: 1fr 300px;
    }

    .article-image {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 50px;
    }

    .hero {
        padding: 3rem 0 2rem 0;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-list li a {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}
