/**
 * Atlas Express Limo - Main Stylesheet
 * 
 * This is the main CSS file that imports all modular stylesheets.
 * The CSS is organized using a component-based structure for better maintainability.
 */

/* Base Styles */
@import 'base/variables.css';
@import 'base/reset.css';
@import 'base/typography.css';

/* Component Styles */
@import 'components/buttons.css';
@import 'components/navigation.css';
@import 'components/cards.css';
@import 'components/forms.css';

/* Layout Styles */
@import 'layouts/header.css';
@import 'layouts/footer.css';
@import 'layouts/sections.css';

/* Utility Classes */
@import 'utilities/animations.css';
@import 'utilities/helpers.css';

/* Custom Styles */
/* Any additional custom styles can be added here */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    color: #fff;
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.cookie-consent.active {
    display: flex;
    transform: translateY(0);
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-message {
    flex: 1;
    margin-right: 20px;
}

.cookie-consent-message p {
    margin: 0;
    font-size: 14px;
}

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

@media (min-width: 768px) {
    .cookie-consent-actions {
        margin-top: 0;
    }
}

.btn-cookie {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background-color: #D4AF37;
    color: #1A1A1A;
    border: none;
}

.btn-accept:hover {
    background-color: #C4A030;
}

.btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

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

/* Cookie Preferences Modal */
.cookie-preferences-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  justify-content: center;
  align-items: center;
}

.cookie-preferences-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-preferences-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 10px;
}

.cookie-preferences-header h3 {
  margin: 0;
  font-size: 20px;
}

.cookie-preferences-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6c757d;
}

.cookie-preference-group {
  margin-bottom: 20px;
}

.cookie-preference-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.cookie-preference-item:last-child {
  border-bottom: none;
}

.cookie-preference-info h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.cookie-preference-info p {
  margin: 0;
  font-size: 13px;
  color: #6c757d;
}

.cookie-preference-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-preference-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-preference-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-preference-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-preference-slider {
  background-color: #007bff;
}

input:checked + .cookie-preference-slider:before {
  transform: translateX(26px);
}

.cookie-preferences-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}