/* =====================================================
   OTIUM CREATIONS - COOKIE CONSENT BANNER STYLESHEET
   Atlas Website - Cookie Consent UI Components
   ===================================================== */

/* =====================================================
   COOKIE BANNER OVERLAY
   ===================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 229, 217, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 3px solid #B2BDA3;
  box-shadow: 0 -10px 40px rgba(178, 189, 163, 0.3);
  z-index: 10000;
  padding: 2rem;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =====================================================
   COOKIE BANNER CONTENT
   ===================================================== */

.cookie-banner-content {
  max-width: 1000px;
  margin: 0 auto;
}

.cookie-banner-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cookie-banner-header h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.8rem;
  color: #978671;
  margin: 0 0 0.5rem 0;
}

.cookie-banner-header p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #4A4A4A;
  margin: 0;
}

/* =====================================================
   COOKIE OPTIONS GRID
   ===================================================== */

.cookie-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-option {
  background: rgba(178, 189, 163, 0.1);
  border: 1px solid rgba(178, 189, 163, 0.3);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.cookie-option:hover {
  background: rgba(178, 189, 163, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 189, 163, 0.2);
}

.cookie-option-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #B2BDA3;
}

.cookie-option input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-option label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #2F2F2F;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-always-on {
  font-size: 0.85rem;
  color: #978671;
  font-style: italic;
}

.cookie-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.4;
}

/* =====================================================
   COOKIE LINKS
   ===================================================== */

.cookie-links {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cookie-links a {
  color: #978671;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-links a:hover {
  color: #B2BDA3;
  text-decoration: underline;
}

.cookie-links span {
  color: #D1D5DB;
  margin: 0 0.5rem;
}

/* =====================================================
   COOKIE BUTTONS
   ===================================================== */

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #B2BDA3, #978671);
  color: white;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 189, 163, 0.4);
}

.cookie-btn-secondary {
  background: #ffffff;
  color: #978671;
  border: 2px solid #978671;
}

.cookie-btn-secondary:hover {
  background: #978671;
  color: white;
  transform: translateY(-2px);
}

.cookie-btn-tertiary {
  background: linear-gradient(135deg, #F8D3BB, #EBDFCE);
  color: #2F2F2F;
}

.cookie-btn-tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 211, 187, 0.4);
}

/* =====================================================
   MOBILE RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.5rem 1rem;
  }
  
  .cookie-banner-header h3 {
    font-size: 1.5rem;
  }
  
  .cookie-options {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* =====================================================
   END OF COOKIE BANNER STYLESHEET
   ===================================================== */

