:root {
    --white: #fff;
	--black: #000;
	--blue: #0d5496;
    --dark-blue: #083763;
    --light-blue: #3e85c5;
    --light-bg: #f5f6fb;
}

body {
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 2rem;
    transition: all 0.3s;
    z-index: 10;
}

header.scrolled {
    padding-top: 0;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.logo {
    width: 200px;
    height: auto;
    transition: all 0.3s;
}

header.scrolled .logo {
    width: 60px;
}

.img-intro {
    height: 80vh;
    -o-object-fit: cover;
    object-fit: cover;
}

.nav {
    background-color: var(--white);
    padding: 1rem 2rem 1rem 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    transition: all 0.3s;
}

header.scrolled nav {
    box-shadow: none;
    background-color: transparent;
    padding-right: 0;
}

@media(max-width: 767px) {
    .img-intro {
        height: 60vh;
        -o-object-fit: cover;
        object-fit: cover;
    }
    .logo {
        width: 140px;
    }
    .nav {
        display: none;
    }
    .mobile-toggle {
        background: var(--white);
        display: inline-block;
        padding: 0.5rem;
    }
    .mobile-toggle svg {
        width: 2rem;
        fill: var(--blue);
    }
}

@media(min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
    .nav::before {
        content: "";
        position: absolute;
        right: 100%;
        top: 0;
        display: block;
        width: 0;
        height: 0;
        border: 36px solid var(--white);
        border-left-color: transparent;
        border-top-color: transparent;
        transition: all 0.3s;
    }

    header.scrolled nav::before {
        border-color: transparent;
    }
}



.nav-link {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark-blue);
}

.nav-link.active {
    color: var(--light-blue);
}

.home-card {
    text-align: center;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: var(--white);
}

h1 {
    color: var(--blue);
    font-weight: 700;
    font-size: 2.25rem;
}

h2 {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.5rem;
}

h3 {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.125rem;
}

h3.nabidka-nazev {
    font-size: 1.25rem;
}

@media(max-width:767px) {
    .home-card {
        padding: 2.5rem;
        margin-bottom: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.3125rem;
    }
    h3.nabidka-nazev {
        font-size: 1.125rem;
    }
}

p {
    color: rgba(0,0,0,0.7);
}

p strong {
    color: var(--black);
}

.main-intro {
    margin-top: -14rem;
}

.btn-primary {
    border-color: transparent;
    background-color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-blue);
    border-color: transparent;
}

.section-about {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    background-image: url(../img/effem-reality-banner.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
}

@media (max-width: 767px) {
    .section-about {
        padding-bottom: 130px;
        background-size: 60% auto;
        background-position: right bottom;
        padding-top: 0;
    }
}

@media (min-width: 1600px) {
    .section-about {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

.section-offer {
    background-color: var(--light-bg);
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.dark-blue {
    color: var(--dark-blue);
}

.cena {
    font-size: 1.5rem;
    color: var(--light-blue);
    font-weight: 700;
}

footer {
    background: var(--dark-blue);
    color: var(--white);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767px) {
    footer {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.logo-footer {
    width: 120px;
}

footer p {
    color: rgba(255,255,255,0.85);   
}

footer p strong {
    color: var(--white);   
}

footer a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
    color: rgba(255,255,255,1);
}

footer hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.intro-page-header {
    position: relative;
    margin-bottom: 3rem;
}

.intro-page-header .img-intro {
    height: 60vh;
}

.intro-page-header h1 {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    text-align: center;
    color: var(--white);
    font-size: 4rem;
    text-shadow: 2px 4px 16px rgba(0,0,0,0.5);
    padding-left: 1rem;
    padding-right: 1rem;
}

@media(max-width:767px) {
    .intro-page-header {
        margin-bottom: 1rem;
    }
    .intro-page-header h1 {
        font-size: 3rem;
    }
}

.text-sm {
    font-size: 0.8725rem;
}

.div-last {
    display: none;
}

.dropdown-menu {
    border-radius: 0;
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    padding: 1rem 0.5rem;
}

.dropdown-item:active {
    background-color: var(--blue);
}

.volejte {
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.volejte a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

.volejte a:hover,
.volejte a:focus {
    color: var(--dark-blue);
    text-decoration: underline;
}

.img-thumbs {
	margin-top: 2rem;
	margin-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.img-thumbs img {
	width: 150px;
	height: 150px;
	-o-object-fit: cover;
	object-fit: cover;
	background-position:center;
	margin: 2px 2px 8px 2px;
}

@media(max-width: 767px) {
    .img-foto {
        width: 23%;
    }
    .img-thumbs img {
        width: 100%;
        height: 80px;
    }
}

.img-foto:hover img {
	outline: 3px solid #fff;
	box-shadow: 0 0 24px rgba(0,0,0,0.4); 
}

h1 span {
    display: block;
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-top: 4px;
}

.lokalita {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark-blue)
}

.hr-custom {
    margin-top: 6rem;
}

@media(max-width: 767px) {
    .hr-custom {
        margin-top: 1rem;
    }
}

header.mobile-menu {
    background: var(--white);
}

header.mobile-menu nav {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 170px;
  box-shadow: 0 20px 24px rgba(0,0,0,0.1);
  background: var(--white);
}

header.scrolled.mobile-menu nav {
  top: 60px;
}