﻿/* ============================================
   SEZAMSTYL - STYLE GŁÓWNE
   ============================================ */

:root {
    --primary-color: #0a3d62;
    --secondary-color: #1a7bb9;
    --accent-color: #2c7ab1;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --text-light: #ccc;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-display: swap;
}

/* Header & Navigation */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/tlo03.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* Product Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #f5f5f5;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-align: center;
}

/* FAQ & Definitions */
.faq-item,
.definition-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item h3,
.definition-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-details {
    list-style: none;
    margin-top: 1rem;
}

.contact-details li {
    margin-bottom: 0.5rem;
}

.map {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--border-radius);
}

/* Language Section */
.lang-section {
    background: #f0f4f8;
    padding: 1rem 0;
    margin-top: 2rem;
}

.lang-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.lang-item {
    display: inline-flex;
    align-items: center;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    background: white;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.lang-item:hover {
    background: var(--accent-color);
    color: white;
}

.lang-item img {
    width: 16px;
    height: 16px;
    margin-right: 0.3rem;
    object-fit: contain;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    color: var(--text-light);
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-info p {
    margin: 0.3rem 0;
    font-size: 0.8rem;
}

.footer-links-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
}

.separator {
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        margin: 0 0.75rem;
    }

    .hero {
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-links-side {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .top-bar,
    .lang-section,
    footer,
    .footer-bottom {
        display: none;
    }

    body {
        background: white;
    }

    section {
        box-shadow: none;
        padding: 0;
        margin-bottom: 1rem;
    }
}