/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-darker);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 20px;
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 0 0 65%;
    font-size: 16px;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--text-light);
}

.cookie-buttons {
    flex: 0 0 30%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.cookie-button.accept {
    background-color: var(--accent-color);
    color: var(--primary-darker);
}

.cookie-button.reject {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-light);
}

.cookie-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--primary-dark);
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

.modal h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.modal h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: var(--accent-color);
}

.modal-body {
    margin-bottom: 25px;
}

.modal-body p, .modal-body ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.modal-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Responsive Styles for Cookie Consent */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }

    .cookie-text, .cookie-buttons {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-button {
        width: 100%;
    }
}