* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Fjalla One", sans-serif;
}

body {
    line-height: 1.6;
    background-color: #0e0e0e;
}

header {
    position: relative;
    height: 100vh;
    color: white;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('obrazky/background/mafia2backg12.webp') no-repeat center center/cover;
    opacity: 0.85;
    z-index: -1; 
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 200px; 
    height: auto; 
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a {
    text-decoration: none; 
    color: rgb(238, 238, 238); 
    transition: all 0.3s ease,  transform 0.3s ease; 
}

nav ul li a:hover {
    color: rgb(173, 25, 25); 
    transform: scale(1.1);
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; 
}

.header-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-content p {
    margin-bottom: 1.5rem;
}

.button {
    background: #00aaff;
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.services {
    display: flex;
    justify-content: space-around;
    padding: 3rem 0;
    background-color: #333;
    background: url('obrazky/background/mafia2backg21.webp') no-repeat center center/cover;
    color: white;
}

.service {
    text-align: center;
    width: 20%;
}

.service img {
    width: 280px;
    margin-bottom: 1rem;
}

.service h3 {
    margin-bottom: 1rem;
}

.service p {
    margin-bottom: 1.5rem;
}

.contact {
    padding: 3rem 0;
    background-color: #555;
    color: white;
    text-align: center;
}

.contact p {
    margin-bottom: 3rem;
}

.full-width-image {
    background: url('obrazky/background/Mafia2_official_map.webp') no-repeat center center/cover;
    width: 100%;
    height: 800px;
    margin: 0;
    padding: 0;
}

.footer-info {
    background-color: #222;
    padding: 1rem;
    color: white;
    text-align: center;
}

.services .service img {
    width: 200px; 
    height: auto; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.349); 
    border-radius: 50%; 
    transition: box-shadow 0.3s ease,  transform 0.3s ease; 
}

.services .service img:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.services .service a {
    display: inline-block; 
    background-color: rgb(168, 23, 23); 
    color: white; 
    padding: 10px 20px;
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.services .service a:hover {
    background-color: rgba(139, 0, 0, 0.74); 
    transform: scale(1.05); 
}

.header-content a {
    display: inline-block; 
    background-color: rgb(168, 23, 23); 
    color: white; 
    padding: 10px 20px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.header-content a:hover {
    background-color: rgba(139, 0, 0, 0.74); 
    transform: scale(1.05); 
}

.contact a {
    display: inline-block; 
    background-color: rgb(168, 23, 23); 
    color: white;
    padding: 10px 20px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
}


.contact a:hover {
    background-color: rgba(139, 0, 0, 0.74); 
    transform: scale(1.05);
}

.full-width-image {
    background-image: url('obrazky/background/Mafia2_official_map.webp'); 
    background-size: cover; 
    background-position: center;
    height: 600px; 
    transition: transform 0.3s ease, filter 0.3s ease; 
}


.full-width-image:hover {
    transform: scale(1.05);
    filter: brightness(0.7); 
}