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

html {scroll-behavior: smooth; }

body {
    font-family: "Nunito", sans-serif;
    background: #f6f3ee;
    color: #3a3a3a;
    line-height: 1.6;
    overflow-x: hidden;
}

.material-symbols-outlined {
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 24;
    font-size: 20px; /* rozmiar ikony */
    color: #7b6b57; /* beżowo-brązowy odcień pasujący do Twojej strony */
    vertical-align: middle;
    margin-right: 8px;
}


main {
    background: linear-gradient(to right, rgba(246,243,238,0.9), rgba(246,243,238,1)),
    url('bg.png') no-repeat left top fixed;
    background-size: 500px auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    overflow: visible;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo a {
    background: url('logo.png') no-repeat left top;
    height: 85px;
    width: 400px;
    display:block;
    padding-left:80px;
    font-size: 17px;
    line-height: 19px;
    color:#cead6e;
    padding-top: 13px;
    background-size: 67px;
}

/* --- Hamburger --- */
.hamburger {
    cursor: pointer;
    width: 25px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    right: 30px;
    top: 46px;
    z-index: 2001;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #cead6e;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Sidebar menu --- */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100%;
    background: #f6f3ee;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s ease;
    z-index: 2000;
}

nav.active {
    right: 0;
}

nav a {
    display: block;
    font-size: 1.1rem;
    margin: 1rem 0;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeIn 0.6s forwards;
}

nav a:hover {
    color: #cead6e;
}

nav.active a {
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Hero section --- */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
    /*      background: linear-gradient(to right, rgba(246,243,238,0.95), rgba(246,243,238,0.95)), url('bg.png') no-repeat left top;*/
    /*      background-size: contain;*/
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #2f2f2f;

    font-family: "Parisienne", cursive;
    font-weight: 400;
    font-style: normal;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align:justify;
}

.btn {
    background: #cead6e;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn:hover {
    background: #bca78e;
}

/* --- Section --- */
section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-family: "Parisienne", cursive;
    font-weight: 400;
    font-style: normal;

    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #2f2f2f;
}

section > ul {padding:15px 0 5px 15px;}
section > ul > li {}
section > ul > li > ul {padding-left: 15px;}
section > ul > li > ul > li {}

iframe {
    width:100%;
    border: 0;
    height: 400px;
    opacity: 0.7;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #eee7dd;
    font-size: 0.9rem;
}

.img-fluid{max-width:100%;}
.kontakt-logo{opacity: 0.5;}
.row{display: flex;flex-wrap: wrap;margin-left:-15px;margin-right:-15px;}
.align-center{align-items: center;}
.flex-reverse{flex-direction: row-reverse;}
.full-img{width:100vw;left:50%;margin-left:-50vw;position:relative;}
.full-img img{width:100%;max-width:100%;max-height:30vw;object-fit:cover;object-position:center;}
.col-6{
    width: 50%;flex:0 0 50%;max-width:50%;padding:15px;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .col-6{
        width: 100%;flex:0 0 100%;max-width:100%;padding:15px;
    }
    .kontakt-logo{display: none;}
    .kontakt-text{text-align:center;}
}
@media (max-width: 480px) {
	main .hero {padding-top:3.5rem}
	.logo {
	  overflow: hidden;
	  transform: scale(0.75);
	  transform-origin: left;
	}
	header{padding:1rem}
	.hamburger{right:1rem}
}