/* Cookie Consent Modal */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cookie-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f2744;
  border-top: 2px solid #c9a367;
  padding: 2rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-modal.active {
  transform: translateY(0);
}

.cookie-modal-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #c9a367;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.cookie-modal p {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cookie-modal a {
  color: #c9a367;
  text-decoration: underline;
}

.cookie-modal a:hover {
  color: #d4a574;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #c9a367;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.cookie-option input[type="checkbox"]:checked {
  background: #c9a367;
}

.cookie-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a1e3d;
  font-size: 14px;
  font-weight: bold;
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.cookie-option label {
  color: #e0e0e0;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-option label span {
  color: #999;
  font-size: 0.8rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.8rem 2rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.cookie-btn-accept {
  background: #c9a367;
  color: #0a1e3d;
}

.cookie-btn-accept:hover {
  background: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 163, 103, 0.4);
}

.cookie-btn-selected {
  background: transparent;
  color: #c9a367;
  border: 1px solid #c9a367;
}

.cookie-btn-selected:hover {
  background: rgba(201, 163, 103, 0.1);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: transparent;
  color: #999;
  border: 1px solid #555;
}

.cookie-btn-reject:hover {
  border-color: #999;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .cookie-modal {
    padding: 1.5rem 1rem;
  }

  .cookie-modal h3 {
    font-size: 1.4rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
