:root {
  --clr-white: #FFFFFF;
  --clr-bg-sand: #F5F0E6;
  --clr-accent-sky: #00AEEF;
  --clr-text-dark: #323031;
  --clr-text-light: #FFFFFF; /* A white for dark backgrounds */
}
html{
    scroll-padding-top: 100px;
}
/* Reset i podstawy */
body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: Calibri, sans-serif;
}

@media (min-width: 1024px) {
    section {
        padding: 60px 20px; /* Odstęp wewnątrz sekcji */
        border-bottom: 1px solid #eee;
    }

    /* Przyklejone menu */
    .sticky-nav {
        position: sticky;
        display: flex;
        align-items: center;
        justify-content: space-around;
        top: 0;
        width: 100%;
        height: 100px;
        background-color: var(--clr-white);
        color: var(--clr-text-dark);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        }

    footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        justify-content: start;
    }

    .copyright {
        grid-column-start: 1;
        grid-column-end: 4;
        justify-self: center;
    }

    footer ul li {
        list-style: none;
        font-size: 1.15rem;
    }

    footer ul li a {
        text-decoration: none;
    }

    #footer-address-header {
        font-weight: bold;
    }

    #footer-shortcut-header {
        font-weight: bold;
    }

    .logo {
        display: flex;         /* 1. Makes the children (image and H1) line up horizontally */
        align-items: center;   /* 2. Vertically aligns the text with the center of the image */
        justify-content: space-between;
        gap: 30px;             /* 3. Adds space between the logo and the text */
        height: 100%;
    }

    .logo h1 {
        white-space: nowrap;
    }

    .logo img {
        height: 80%;
        width: auto;
    }

    .sticky-nav ul {
        list-style: none;
        display: flex;
        margin: 0;
    }

    .sticky-nav ul li {
        font-size: 1.2rem;
    }

    .sticky-nav a {
        color: var(--clr-text-dark);
        text-decoration: none;
        padding: 10px 15px;
        font-weight: bold;
        height: 100%;
    }

    .sticky-nav a:hover {
        background: rgba(32, 30, 31, 30%);
    }

    #hero {
        color: var(--clr-text-light);
        text-align: center;
        background-image: linear-gradient(
                /* Start with black, 40% opaque */
                rgba(32, 30, 31, 64%),
                /* End with black, 40% opaque */
                rgba(32, 30, 31, 64%)
        ), url("assets/baner.jpg");
        background-size: cover;
    }

    #hero h2 {
        font-size: 3rem;
        margin-bottom: 0;
    }

    #hero p {
        color: var(--clr-white);
        font-size: 2rem;
        margin-top: 10px;
    }

    .action-button {
        text-decoration: none;
        color: white;
        display: inline-block;
        background-color: #e8832e;
        font-family: Arial, sans-serif;
        font-size: 16px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 5px;
        border: 1px solid #a55c21;
        transition: all 0.1s ease-out;
        box-shadow: 0 4px 0 #a55c21;
    }

    .action-button:hover {
        background-color: #d4762a;
    }

    .action-button:active {
        transform: translateY(4px);
        box-shadow: none;
    }

    #o-nas {
        background-image: url('assets/tło-sekcja2.png');
        background-size: cover;
        color: var(--clr-text-dark);
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 40px;
    }

    .o-nas-text-box {
        text-align: center;
    }

    .o-nas-text-box h3 {
        font-size: 2.3rem;
    }

    .o-nas-text-box p {
        color: var(--clr-text-dark);
        font-size: 1.4rem;
    }

    #orange-text {
        font-weight: bold;
        color: #e8832e;
    }

    #o-nas img {
        width: auto;
    }

    #uslugi {
        background-image: linear-gradient(
                rgba(95, 91, 107, 75%),
                rgba(95, 91, 107, 75%)
        ), url("assets/tło-sekcja3.png");
        background-size: cover;
        color: var(--clr-text-light);
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: space-around;
        gap: 40px;
    }

    #uslugi img {
        height: auto;
        width: auto;
        max-width: 100%;
    }

    .uslugi-text-box {
        text-align: center;
    }

    .uslugi-text-box h3 {
        font-size: 2.3rem;
    }

    .uslugi-text-box p {
        color: var(--clr-text-light);
        font-size: 1.4rem;
    }

    #orange-text-white-bg {
        font-weight: bold;
        color: #e8832e;
        background-color: var(--clr-white);
        border-radius: 5px;
    }
}