/* Global Styles for Samsun Teknik Servis */

/* --- Premium Cookie Banner (Floating Glassmorphism) --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Left aligned is often less intrusive on mobile scroll thumbs */
    max-width: 400px;
    width: calc(100% - 40px);
    background: rgba(26, 95, 122, 0.95); /* Primary color with slight transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    border-radius: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
    color: #e07b39; /* Accent color */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(224, 123, 57, 0.5);
    transition: all 0.2s;
}

.cookie-content a:hover {
    border-bottom-style: solid;
    color: #f5a060;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.cookie-btn.accept {
    background: white;
    color: #1a5f7a; /* Primary */
}

.cookie-btn.accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cookie-btn.reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0; /* Only top corners rounded on extremely small screens if strictly bottom docked */
        /* However, floating is better. Let's keep it floating but add margin */
        bottom: 10px;
        left: 10px;
        width: calc(100% - 20px);
        border-radius: 12px;
    }
}
