/* FOOTER */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ccc;
    margin-top: auto;
    padding: 30px 15px;
    font-size: 14px;
}

/* CONTAINER */
.footer-container {
    width: 100%;
    margin: auto;
    min-width: 900px;
}

/* TOP */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* LOGO */
.footer-logo img {
    height: 45px;
}

/* COPYRIGHT */
.footer-copy {
    font-size: 13px;
    color: #aaa;
}

/* INFO */
.footer-info {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* LINKS */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* EXTRA LINK */
.footer-link {
    color: #3498db;
    margin-left: 5px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* =========================
COOKIE POPUP
========================= */

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 25, 0.96);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 18px 25px;
    display: none;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-box {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 260px;
    font-size: 14px;
    line-height: 1.7;
    color: #e5e7eb;
}

.cookie-text strong {
    color: #fff;
    font-size: 15px;
}

.cookie-text a {
    color: #60a5fa;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

/* =========================
BUTTONS
========================= */

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    padding: 11px 18px;
    font-size: 14px;
}

.cookie-buttons button:first-child {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.cookie-buttons button:first-child:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.35);
}

.cookie-buttons .secondary {
    background: #1f2937;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-buttons .secondary:hover {
    background: #374151;
}

/* =========================
MODAL
========================= */

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-modal-content {
    background: #fff;
    width: 100%;
    max-width: 620px;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: cookieFade 0.25s ease;
}

@keyframes cookieFade {

    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.cookie-modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 34px;
    color: #111827;
}

.cookie-modal-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* =========================
COOKIE OPTIONS
========================= */

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 15px;
    transition: 0.2s;
}

.cookie-option:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.cookie-option-text {
    flex: 1;
}

.cookie-option-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    color: #111827;
}

.cookie-option-text span {
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
}

/* CHECKBOX vedľa textu */

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #2563eb;
    cursor: pointer;
}

/* =========================
SAVE BUTTON
========================= */

.cookie-save-btn {
    width: 100%;
    border: none;
    padding: 14px;
    margin-top: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.cookie-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.25);
}

/* =========================
MOBILE
========================= */

@media(max-width:768px) {

    .cookie-modal-content {
        padding: 22px;
    }

    .cookie-modal-content h3 {
        font-size: 28px;
    }

    .cookie-option {
        gap: 12px;
    }

}

/** TIKET CSS */

.ticket-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.ticket-info {
    margin-bottom: 15px;
}

.ticket-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.message {
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message.admin {
    justify-content: flex-start;
}

.message-box {
    max-width: 70%;
    padding: 10px;
    border-radius: 8px;
    background: #ecf0f1;
}

.message.user .message-box {
    background: #3498db;
    color: white;
}

.ticket-form textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    margin-bottom: 10px;
}

.ticket-form button {
    padding: 10px 15px;
    background: #3498db;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

/** CONTACT.PHP CSS */

.contact-container {
    max-width: 700px;
    margin: 50px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-title {
    margin-bottom: 20px;
}

/* GRID */
.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* INPUT */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: 0.2s;
}

/* FOCUS EFFECT */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* BUTTON */
.contact-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.contact-btn:hover {
    background: #2980b9;
}

/* ALERTY */
.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.alert.success {
    background: #2ecc71;
    color: white;
}

.alert.error {
    background: #e74c3c;
    color: white;
}