@font-face {
    font-family: work;
    src: url('./Fonts/WorkSans-Regular.ttf');
}
@font-face {
    font-family: work_b;
    src: url('./Fonts/WorkSans-ExtraBold.ttf');
}
@font-face {
    font-family: work_sb;
    src: url('./Fonts/WorkSans-SemiBold.ttf');
}

:root {
    --gold: #C9B370;
    --dark: #282923;
    --gray: #5D5F53;
    --text: #ffffff;
    --nav-text: #495057;
}

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

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: work, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.25;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 70px;
    display: block;
}

/* Nav */
nav {
    display: flex;
}
nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}
nav a {
    text-decoration: none;
    font-family: work_b;
    font-size: 1.2rem;
    color: var(--nav-text);
}
nav a:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--nav-text);
    transition: all 0.3s ease;
}
.burger-menu.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu.active .line2 {
    opacity: 0;
}
.burger-menu.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero */
.hero {
    background: var(--dark);
    padding: 2.5rem 0;
}
.hero h1 {
    font-family: work_b;
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.25;
}
.hero h2 {
    font-family: work_b;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1rem;
}
.hero p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    margin-bottom: 3rem;
    line-height: 1.35;
}
.nupp {
    display: inline-block;
    padding: 1rem 1.65rem;
    border: 2px solid var(--gold);
    color: var(--gold);
    background: none;
    border-radius: 6px;
    font-family: work_b;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 4rem;
}
.nupp:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Features */
.features {
    background: var(--gray);
    padding: 2.5rem 0 3.5rem 0;
}
.features-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.features h3 {
    font-family: work_sb;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.features p {
    line-height: 1.35;
    margin-bottom: 0.5rem;
}
.features a {
    font-family: work_sb;
    color: var(--gold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.moto {
    width: 100%;
    text-align: center;
    font-family: work_b;
    padding: 0.5rem 0;
    color: var(--gray);
    border-top: 3px solid var(--gray);
}
b {
    display: inline-block;
    font-family: work_sb;
    margin: 1rem 0;
}
main span {
    display: block;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--text);
    border-top: 3px solid var(--gold);
}
.footer-content {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
    text-decoration: none;
    padding: 2rem 0;
}

/* Kontakt */
.contact-container {
    display: block;
    max-width: 550px;
}
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: work_sb;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gold);
    border-radius: 6px;
    box-sizing: border-box;
    background-color: var(--text);
    font-size: 16px;
    color: var(--gray);
}
textarea {
    height: 150px;
    font-family: work;
    background-color: var(--text);
}
.checkbox-group {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}
.checkbox-group label {
    margin-left: 0.5rem;
    margin-bottom: 0;
    font-family: work;
    line-height: 1.35;
}
.success-message {
    text-align: center;
    color: var(--text);
}


a.phone {
  color: var(--text);
  text-decoration: none;
}
a.phone:visited {
  color: var(--text);
}
a.phone:hover {
  color: var(--gold);
}
a.e-post {
  color: var(--text);
  text-decoration: none;
}
a.e-post:visited {
  color: var(--text);
}
a.e-post:hover {
  color: var(--gold);
}

/* Mobile nav */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        transform: translateY(-200%);
        transition: transform 0.3s ease-in-out;
        flex-direction: column;
    }
    nav.open {
        transform: translateY(0);
    }
    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .burger-menu {
        display: flex;
    }
    .hero {
    padding: 2rem 0;
    }
    .hero h1 {
    line-height: 1;
    }
    .nupp:active {
    background: var(--gold);
    color: var(--dark);
    }
    }