

#hero     { width: 100%; min-height: 250pt }
#describe { width: 100%; height: fit-content }
#gallery  { width: 100%; height: fit-content }
#about-us { width: 100%; height: fit-content }


.main .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--global-padding);
}

.main .section-title {
    color: var(--accent-color-3);
    padding: var(--global-padding);
    padding-bottom: 0;
}


/* ---------- Hero ---------- */

.main section#hero {
    border-radius: var(--global-radius);
    color: var(--global-white);
    background: url('../assets/hero/1.jpg') no-repeat;
    background-size: cover;
    will-change: background-position;
    animation: sliderTla 80s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 3vw, 3rem);
    min-height: clamp(280px, 40vw, 500px);
}

.main section#hero .actions {
    justify-content: flex-start;
    padding-top: 0;
}

.main section#hero p {
    position: relative;
    width: min(65%, 42ch);
    text-shadow: var(--accent-color-3) 2px -2px 5px;
    color: var(--global-white);
    padding: var(--global-padding);
    z-index: 1;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    line-height: 1.6;
}

.main section#hero p::before {
    content: "";
    position: absolute;
    border-radius: var(--global-radius);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    backdrop-filter: blur(0.25rem);
    -webkit-backdrop-filter: blur(0.25rem);
    background: rgba(from var(--accent-color-2) r g b / 30%);
}

@keyframes sliderTla {
    0%   { background-image: url('../assets/hero/1.jpg'); background-position: 99% center }
    10%  { background-image: url('../assets/hero/1.jpg'); background-position: 1% center }
    20%  { background-image: url('../assets/hero/2.jpg'); background-position: 100% center }
    40%  { background-image: url('../assets/hero/2.jpg'); background-position: 0 center }
    50%  { background-image: url('../assets/hero/3.png'); background-position: 100% center }
    60%  { background-image: url('../assets/hero/3.png'); background-position: 0 center }
    70%  { background-image: url('../assets/hero/4.jpg'); background-position: 100% center }
    90%  { background-image: url('../assets/hero/4.jpg'); background-position: 0 center }
    100% { background-image: url('../assets/hero/1.jpg'); background-position: 100% center }
}


/* ---------- Describe ---------- */

.main section#describe {
    margin-top: 1rem;
}


/* ---------- Features ----------- */

.main .cards {
    list-style: none;
    margin: 0;
    padding: var(--global-padding);
    display: grid;
    gap: 1.5rem;
}

.main .cards h3 {
    margin: 0;
    font-family: "Lobster Two", serif;
    font-size: 1.6rem;
}

.main .cards p {
    margin: 0;
    line-height: 1.5;
}

.main .features {
    grid-template-columns: repeat(3, 1fr);
}

.main .features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(1rem, 2vw, 2rem);
    text-align: center;
    color: var(--accent-color-3);
    background: var(--global-whiter);
    border-radius: var(--global-radius);
    box-shadow: 0 2px 12px rgba(from var(--accent-color-3) r g b / 12%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.main .features li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(from var(--accent-color-3) r g b / 18%);
}

.main .features svg {
    width: 44px;
    height: 44px;
    color: var(--accent-color-4);
}


/* ---------- Specjały ---------- */

.main .specials {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.main .specials a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: 100%;
    padding: 1.25rem;
    color: var(--global-white);
    text-decoration: none;
    background: var(--accent-color);
    border-radius: var(--global-radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.main .specials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(from var(--global-white) r g b / 25%);
}

.main .specials strong {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 1.25rem;
}


/* ---------- Gallery ---------- */

.main section#gallery-section {
    margin-top: 2rem;
}


/* ---------- About Us ---------- */

.main section#about-us {
    color: var(--accent-color-3);
    padding-top: calc(var(--global-padding) * 2);
}

.main section#about-us .texts {
    padding-bottom: 0;
}

.main div#me-photo {
    justify-content: flex-end;
    padding: clamp(1rem, 3vw, 3rem);
}

.main div#me-photo p {
    text-align: justify;
    line-height: 1.7;
    /*max-width: 70ch;*/
}

.main div#me-photo img {
    width: 40%;
    float: right;
    margin: 1rem;
    border-radius: var(--global-radius);
    box-shadow: 0 4px 20px rgba(from var(--accent-color-3) r g b / 20%);
}


/* ---------- Order CTA ---------- */

.main section#order-cta {
    margin: 2rem 0 1rem;
    padding: clamp(1.5rem, 3vw, 3rem) var(--global-padding);
    text-align: center;
    color: var(--global-white);
    border-radius: var(--global-radius);
    background: linear-gradient(0deg, var(--accent-color-3), var(--accent-color-2));
}

.main section#order-cta .section-title {
    color: var(--global-white);
}

.main section#order-cta p {
    margin: 0.5rem 0 0;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}


/* ---------- Oferta (tabela) ---------- */

.main section#oferta {
    border-radius: var(--global-radius);
    padding: var(--global-padding);
    width: 100%;
    height: fit-content;
}

table {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    border-radius: var(--global-radius);
    background: var(--global-whiter);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(from var(--accent-color-3) r g b / 10%);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(from var(--accent-color) r g b / 30%);
}

th {
    background-color: var(--accent-color-4);
    color: white;
    font-weight: bold;
}

.category-row {
    background-color: rgba(from var(--accent-color) r g b / 15%);
    font-weight: bold;
    color: var(--accent-color-3);
}

.price-col {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.package-col {
    white-space: nowrap;
}


/* ---------- Kontakt ---------- */

.main iframe {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;
    border-radius: var(--global-radius);
    min-height: 250px;
}
