:root {
    --color-accent: #B55A30;
    --color-text-primary: #212529;
    --color-text-secondary: #495057;
    --color-background: #f8f9fa;
    --color-card-background: #FFFFFF;
    --color-border: #dee2e6;
    --font-header: 'Merriweather', serif;
    --font-body: 'Lora', serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Usunięto overflow: hidden z desktop, które blokowało scrollowanie */
}

.container {
    position: relative;
    max-width: 960px;
    width: 100%;
    background: var(--color-card-background);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    text-align: center;
    padding: 3rem 1.5rem 2rem 1.5rem; /* Zwiększony górny padding dla logo */
    margin-top: 2rem; /* Dodane żeby logo się nie ucięło */
    margin-bottom: 2rem; /* Dodane żeby nie było ucięte na dole */
}

.bakery-logo {
    position: absolute;
    top: 0;
    left: 50%; /* Wyśrodkowane poziomo */
    transform: translate(-50%, -50%); /* Poprawione pozycjonowanie */
    width: 80px; /* Zmniejszone na mobile */
    height: 80px;
    z-index: 10;
    background-color: var(--color-card-background);
    border-radius: 50%;
    border: 4px solid var(--color-card-background); /* Zmniejszone obramowanie */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 6px; /* Zmniejszone padding */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bakery-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

@media (min-width: 768px) {
    body {
        padding: 2rem;
        align-items: center; /* Wyśrodkowanie na desktop */
        /* Usunięto overflow: hidden które blokowało scrollowanie */
    }
    
    .container {
        padding: 4rem;
        margin-top: 0; /* Reset marginesu na desktop */
        margin-bottom: 0;
    }
    
    .bakery-logo {
        width: 120px;
        height: 120px;
        border: 6px solid var(--color-card-background);
        padding: 8px;
    }
}

.icon {
    color: var(--color-accent);
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 1rem; /* Dodane żeby nie nakładało się z logo */
}

h1 {
    font-family: var(--font-header);
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
    h1 { 
        font-size: 2.5rem; 
    }
    
    .icon {
        margin-top: 0; /* Reset na desktop */
    }
}

p.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card { 
    text-align: left; 
}

.info-card-right {
    text-align: left;
}

@media (min-width: 768px) {
    .info-card-right {
        text-align: right;
    }
    
    .info-card-right ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}

.info-card h2 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.contact-info a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
}

.contact-info a:hover {
    border-bottom-color: var(--color-accent);
}

.contact-info a svg {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.map-container {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .map-container { 
        margin-top: 2rem; 
    }
}

.map-container iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 350px;
}

@media (min-width: 768px) {
    .map-container iframe { 
        height: 450px; 
    }
}

/* Dodatkowe media queries dla bardzo wysokich ekranów */
@media (min-height: 900px) {
    body {
        align-items: center;
    }
}

/* Poprawki dla małych ekranów */
@media (max-width: 480px) {
    .container {
        padding: 2.5rem 1rem 2rem 1rem;
        margin-top: 1.5rem;
    }
    
    .bakery-logo {
        width: 70px;
        height: 70px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    p.subtitle {
        font-size: 1rem;
    }
}
