html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* === Fokus-stilar === */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #e2d3a2, 0 0 0 0.25rem #2c7171;
}

/* === Bas === */
body {
    background: radial-gradient(circle at top, #0d0d0d 0%, #1f2c3a 100%);
    color: #e2d3a2;
    margin-bottom: 60px;
    font-family: 'Cinzel', serif;
}

/* === Navbar === */
.navbar {
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease;
}

    .navbar .navbar-brand {
        color: #e2d3a2 !important;
        font-weight: bold;
        font-size: 1.5rem;
    }

        .navbar .navbar-brand:hover {
            color: #2c7171 !important;
        }

    .navbar .nav-link {
        color: #e2d3a2 !important;
        margin-right: 1rem;
        transition: color 0.3s;
    }

        .navbar .nav-link:hover {
            color: #2c7171 !important;
        }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28226, 211, 162, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* === Privacy Policy === */
.privacy-policy {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    color: #e2d3a2;
    line-height: 1.6;
}

    .privacy-policy h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid #2c7171;
        padding-bottom: 0.5rem;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
        color: #2c7171;
    }

    .privacy-policy p,
    .privacy-policy ul {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .privacy-policy ul {
        padding-left: 1.5rem;
    }

    .privacy-policy li {
        margin-bottom: 0.5rem;
    }

    .privacy-policy a {
        color: #2c7171;
        text-decoration: underline;
    }

        .privacy-policy a:hover {
            color: #3aa9a9;
        }

/* === Contact Page === */
.contact-page form {
    margin-top: 2rem;
}

.contact-page label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
    color: #e2d3a2;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page textarea {
    width: 60%;
    padding: 0.6rem;
    border: 1px solid #3e3e3e;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #e2d3a2;
    font-size: 1rem;
    transition: border 0.2s ease-in-out;
    margin-bottom: 1rem;
}

    .contact-page input[type="text"]:focus,
    .contact-page input[type="email"]:focus,
    .contact-page textarea:focus {
        border-color: #2c7171;
        outline: none;
        background-color: #222;
        color: #e2d3a2;
    }

/* === SUBMIT BUTTON === */
.contact-page button[type="submit"] {
    background-color: transparent;
    color: #e2d3a2;
    border: 1px solid #e2d3a2;
    padding: 0.5rem 1.2rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .contact-page button[type="submit"]:hover {
        background-color: #e2d3a2;
        color: #0d0d0d;
        box-shadow: 0 0 10px rgba(226, 211, 162, 0.4);
        transform: scale(1.05);
    }

/* === SUCCESS / ERROR MESSAGE === */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    background-color: rgba(44, 113, 113, 0.1);
    border: 1px solid #2c7171;
    color: #8ef5e0;
}

.alert-danger {
    background-color: rgba(113, 44, 44, 0.1);
    border: 1px solid #714242;
    color: #ffb3b3;
}

.tech-support-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
}

    .tech-support-note a {
        color: #2c7171;
        font-weight: bold;
        text-decoration: underline;
    }

        .tech-support-note a:hover {
            color: #3aa9a9;
        }

/* === Custom Navbar === */
.custom-navbar {
    background: linear-gradient(to right, #0d0d0d, #1f2c3a);
    border-bottom: 1px solid #2c7171;
    box-shadow: 0 2px 10px rgba(44, 113, 113, 0.3);
}

    .custom-navbar .navbar-brand {
        color: #e2d3a2 !important;
        font-weight: bold;
        font-size: 1.5rem;
    }

        .custom-navbar .navbar-brand:hover {
            color: #2c7171 !important;
        }

    .custom-navbar .nav-link {
        color: #e2d3a2 !important;
        margin-right: 1rem;
        transition: color 0.3s;
    }

        .custom-navbar .nav-link:hover {
            color: #2c7171 !important;
        }

footer.footer {
    background: linear-gradient(to right, #0d0d0d, #1f2c3a);
    border-top: 1px solid #2c7171;
    box-shadow: 0 -2px 10px rgba(44, 113, 113, 0.3);
    color: #e2d3a2;
    text-align: center;
    font-family: 'Cinzel', serif;
}

.nav-link.text-light:hover {
    color: #f0e6c0 !important;
    text-shadow: 0 0 8px rgba(234, 200, 123, 0.7);
    transition: all 0.3s ease;
}


.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28226, 211, 162, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.cookie-banner-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(6px);
    color: #e2d3a2;
    font-family: 'Cinzel', serif;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(44, 113, 113, 0.3);
    border-bottom: 1px solid #2c7171;
}

    .cookie-banner-top button {
        margin-left: 0.8rem;
        background-color: transparent;
        color: #e2d3a2;
        border: 1px solid #e2d3a2;
        padding: 0.4rem 1rem;
        font-family: 'Cinzel', serif;
        font-size: 0.95rem;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

    .cookie-banner-top p{
        margin: 0;
        display: inline-block;
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 50%;
    }

        .cookie-banner-top button:hover {
            background-color: #e2d3a2;
            color: #0d0d0d;
        }

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cookie-modal-content {
    background: #0d0d0d;
    border: 1px solid #2c7171;
    color: #e2d3a2;
    padding: 2rem;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 12px rgba(44, 113, 113, 0.4);
    font-family: 'Cinzel', serif;
}

.cookie-buttons button {
    margin: 0 0.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid #e2d3a2;
    background: transparent;
    color: #e2d3a2;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease-in-out;
}

    .cookie-buttons button:hover {
        background: #e2d3a2;
        color: #0d0d0d;
    }

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d4c7a1;
}

    .privacy-policy h2 {
        margin-top: 2.5rem;
        color: #e2d3a2;
        text-shadow: 0 0 10px rgba(234, 200, 123, 0.2);
    }

    .privacy-policy ul {
        padding-left: 1.5rem;
    }

    .privacy-policy li {
        margin-bottom: 0.75rem;
    }

@media (max-width: 768px) {
    .cookie-banner-top p {
        max-width: 100%;
    }
}
