/* Niestandardowe style motywu Ekspresy Coffee */

:root {
    --primary-color: #5a381e;
    --secondary-color: #c2976d;
    --light-color: #ffffff;
    --dark-color: #333333;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #faf9f7;
}

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

/* Kontener */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Nagłówek */
.site-header {
    background: var(--light-color);
    border-bottom: 1px solid #e5e5e5;
}

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

.logo .site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Menu główne */
.primary-navigation .primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation .primary-menu li {
    display: inline-block;
    margin-left: 1.5rem;
}

.primary-navigation .primary-menu li a {
    font-weight: bold;
    color: var(--dark-color);
}

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

/* Sekcja bohater (hero) */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    text-align: center;
}

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

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

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

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

.hero-buttons .btn {
    margin: 0 0.5rem;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background: #472d18;
}

.btn-secondary:hover {
    background: #a57a51;
}

/* Sekcje treści */
.about-section,
.categories-section,
.cta-section {
    padding: 4rem 0;
}

.about-section h2,
.categories-section h2,
.cta-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.category-card {
    background: #f8f5f1;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Stopka */
.site-footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
}

.footer-col {
    flex: 1 1 200px;
    margin: 0.5rem;
}

.footer-col h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 0.25rem 0;
}

.footer-menu a {
    color: var(--light-color);
}

.footer-menu a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Podstawowy układ stron statycznych */
.page-about,
.page-products,
.page-services,
.page-contact {
    padding: 3rem 0;
}

.page-about h1,
.page-products h1,
.page-services h1,
.page-contact h1 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.product-category {
    margin-bottom: 2rem;
}

/* Kontakt */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-form-wrapper,
.contact-info {
    flex: 1 1 300px;
}

.contact-form .form-field {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 0.5rem;
}

/* Media queries */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .primary-navigation .primary-menu li {
        display: block;
        margin: 0.5rem 0;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        flex-direction: column;
    }
}