* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header styl */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.logo span {
    color: #e74c3c;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e74c3c;
}

/* Zdj głowne sekcja */
.głw-text {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.głw-text-content {
    max-width: 800px;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e74c3c;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c0392b;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #e74c3c;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Blog Posts Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.blog-card-img {
    height: 250px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.blog-card-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.blog-card-meta span {
    margin-right: 15px;
}

.blog-card-meta i {
    margin-right: 5px;
}

.blog-card-excerpt {
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    color: #e74c3c;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Posty str miejsca*/
.blog-grid1 {
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card1 {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 3%;
}

.blog-card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.blog-card1-img {
    height: 250px;
    overflow: hidden;
}

.blog-card1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card1:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card1-content {
    padding: 20px;
}

.blog-card1-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.blog-card1-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.blog-card1-meta span {
    margin-right: 15px;
}

.blog-card1-meta i {
    margin-right: 5px;
}

.blog-card1-excerpt {
    margin-bottom: 15px;
    color: #555;
}
/* miejsca */
.about-section2 {
    padding: 80px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* O autorze */
.about-section {
    background-color: #fff;
    padding: 80px 0;
    margin: 50px 0;
}

.about-section1 {
    padding: 80px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-image: url(galery/35312-3840x2160-desktop-4k-china-background.jpg);
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-img {
    flex: 1;
    padding-right: 50px;
}

.about-img img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-display{
    display: inline-block;
    border-radius: 5%;
    padding: 5%;    
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.about-content p {
    margin-bottom: 20px;
    color: #363636;
}

/* Dodatkowe style specyficzne dla strony kontaktowej */
/* Sekcja Hero*/
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

/* Kontener treści w Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem; 
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: #e74c3c;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    color: #555;
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #e74c3c;
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* licznik odwiedzin */
.visit-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.visit-counter i {
    margin-right: 8px;
    font-size: 16px;
}
