/* SafiriKenya - Main Styles */

/* Filter Buttons */
.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(201, 162, 77, 0.3);
    color: #0F3D2E;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.dark .filter-btn {
    color: #ffffff;
}

.filter-btn:hover {
    background: rgba(201, 162, 77, 0.2);
    border-color: #C9A24D;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #C9A24D;
    color: white;
    border-color: #C9A24D;
}

/* Safari Detail Cards */
.safari-detail-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.dark .safari-detail-card {
    background: #1f2937;
}

.safari-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0F3D2E;
}

.dark .form-label {
    color: #C9A24D;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(15, 61, 46, 0.2);
    background: white;
    color: #1f2937;
    font-size: 1rem;
    transition: all 0.3s;
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    background: rgba(31, 41, 55, 0.5);
    border-color: rgba(201, 162, 77, 0.3);
    color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #C9A24D;
    box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.1);
}

/* Trust Badges */
.trust-badge {
    display: flex;
    align-items: start;
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.dark .trust-badge {
    background: rgba(31, 41, 55, 0.5);
}

.trust-badge:hover {
    background: rgba(201, 162, 77, 0.1);
    transform: translateX(5px);
}

/* Map Container */
.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* Price Cards */
.price-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(201, 162, 77, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.price-card:hover {
    background: rgba(201, 162, 77, 0.1);
    border-color: #C9A24D;
    transform: scale(1.05);
}

.price-card.featured {
    border-color: #C9A24D;
    background: rgba(201, 162, 77, 0.15);
}

/* Booking Button Enhancements */
.booking-btn {
    position: relative;
    overflow: hidden;
}

.booking-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.booking-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Destination Cards */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.destination-card img {
    transition: transform 0.5s;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s;
}

.destination-card:hover .destination-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(201, 162, 77, 0.3);
    border-top-color: #C9A24D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Check Animation */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 100px;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark {
    stroke-dasharray: 100px;
    stroke-dashoffset: 100px;
    animation: checkmark 0.6s ease-in-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .safari-detail-card {
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Print Styles for Receipts */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .glass-card {
        background: white;
        border: 1px solid #ddd;
    }
}
