/**
 * Hitz360 Cookie Consent Banner Styles
 * Color Scheme: Dark Black, Deep Red, White
 */

/* Cookie Consent Banner */
.hitz360-cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #000000 !important;
    padding: 24px 20px;
    box-shadow: 0 -4px 20px rgba(220, 20, 60, 0.4);
    z-index: 2147483647 !important;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #dc143c;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    will-change: transform;
}

.hitz360-cookie-banner.show {
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
    -moz-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
}

.hitz360-cookie-banner.hide {
    transform: translateY(100%) !important;
    -webkit-transform: translateY(100%) !important;
    -moz-transform: translateY(100%) !important;
    -ms-transform: translateY(100%) !important;
}

/* Cookie Banner Container */
.hitz360-cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Cookie Content */
.hitz360-cookie-content {
    flex: 1;
    min-width: 280px;
}

.hitz360-cookie-content h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hitz360-cookie-content h3::before {
    content: "🍪";
    font-size: 1.5rem;
}

.hitz360-cookie-content p {
    color: #d1d1d1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.hitz360-cookie-content a {
    color: #dc143c;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.hitz360-cookie-content a:hover {
    color: #ff1744;
    text-decoration: underline;
}

/* Cookie Actions */
.hitz360-cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Cookie Buttons */
.hitz360-cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hitz360-cookie-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.hitz360-cookie-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hitz360-cookie-btn span,
.hitz360-cookie-btn::after {
    position: relative;
    z-index: 1;
}

/* Accept Button - Deep Red */
.hitz360-cookie-accept {
    background: #dc143c;
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.5);
}

.hitz360-cookie-accept:hover {
    background: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.7);
}

/* Decline Button */
.hitz360-cookie-decline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hitz360-cookie-decline:hover {
    background: transparent;
    color: #dc143c;
    border-color: #dc143c;
}

/* Settings Button */
.hitz360-cookie-settings {
    background: transparent;
    color: #dc143c;
    border: 2px solid #dc143c;
}

.hitz360-cookie-settings:hover {
    background: #dc143c;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hitz360-cookie-banner {
        padding: 18px 16px;
    }

    .hitz360-cookie-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .hitz360-cookie-content {
        min-width: auto;
        width: 100%;
    }

    .hitz360-cookie-content h3 {
        font-size: 1.1rem;
    }

    .hitz360-cookie-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hitz360-cookie-actions {
        flex-direction: row;
        width: 100%;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .hitz360-cookie-btn {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        padding: 14px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hitz360-cookie-banner {
        padding: 16px 12px;
    }

    .hitz360-cookie-content h3 {
        font-size: 1rem;
    }

    .hitz360-cookie-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .hitz360-cookie-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hitz360-cookie-btn {
        width: 100%;
        flex: none;
        padding: 14px 16px;
        font-size: 0.9rem;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Animation for entrance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hitz360-cookie-banner.show {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cookie Settings Modal (Optional for future enhancement) */
.hitz360-cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hitz360-cookie-modal.show {
    display: flex;
}

.hitz360-cookie-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}
