/* ========================================
   WILDCAT SAFARI BOOKINGS - FRONTEND STYLES
   ======================================== */

/* Packages Showcase */
.wildcat-packages-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 20px;
}

.package-showcase-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.package-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 129, 63, 0.3);
    border-color: #d4813f;
}

.package-showcase-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.package-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-showcase-card:hover .package-showcase-image img {
    transform: scale(1.1);
}

.package-showcase-content {
    padding: 25px;
}

.package-showcase-content h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.package-showcase-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.package-showcase-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.package-showcase-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    width: 80%;
    color: #2b2828;
}

.package-showcase-meta .meta-icon {
    font-size: 18px;
}

.package-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 20px;
    gap: 8px;
    background: linear-gradient(135deg, #d4813f 0%, #c0722d 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.package-book-btn:hover {
    background: linear-gradient(135deg, #c0722d 0%, #a86325 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 129, 63, 0.4);
    color: white;
}

/* Booking Form */
.wildcat-booking-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.wildcat-booking-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
}

.wildcat-booking-form .form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
}

.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section h3 {
    color: #d4813f;
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wildcat-booking-form .form-group {
    margin-bottom: 20px;
}

.wildcat-booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.wildcat-booking-form input[type="text"],
.wildcat-booking-form input[type="email"],
.wildcat-booking-form input[type="tel"],
.wildcat-booking-form input[type="date"],
.wildcat-booking-form input[type="number"],
.wildcat-booking-form select,
.wildcat-booking-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.wildcat-booking-form input:focus,
.wildcat-booking-form select:focus,
.wildcat-booking-form textarea:focus {
    outline: none;
    border-color: #d4813f;
    box-shadow: 0 0 0 3px rgba(212, 129, 63, 0.1);
}

.wildcat-booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

.wildcat-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #d4813f 0%, #c0722d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wildcat-submit-btn:hover {
    background: linear-gradient(135deg, #c0722d 0%, #a86325 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 129, 63, 0.4);
}

.wildcat-submit-btn:active {
    transform: translateY(-1px);
}

.wildcat-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 22px;
    transition: transform 0.3s;
}

.wildcat-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.booking-message {
    margin-top: 20px;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    display: block;
}

.booking-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
    display: block;
}

/* Responsive design */
@media (max-width: 768px) {
    .wildcat-packages-showcase {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .wildcat-booking-form-container {
        padding: 25px;
        margin: 20px 10px;
    }
    
    .wildcat-booking-form h2 {
        font-size: 26px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.wildcat-submit-btn.loading {
    position: relative;
    color: transparent;
}

.wildcat-submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Enhanced Select Dropdown */
.wildcat-booking-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4813f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Input Icons */
.form-group {
    position: relative;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}