/*
Theme Name: PackRelay
Description: Thème WordPress personnalisé pour le service d'expédition PackRelay - Dubaï vers Maroc
Version: 1.0.0
Author: PackRelay Team
*/

/* Import main styles */
@import url('assets/css/main.css');

/* Additional page-specific styles */

/* Page Content Base */
.page-content {
    margin-top: 0;
}

.page-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Detailed Steps (Comment ça marche) */
.detailed-steps {
    padding: 4rem 0;
    background: white;
}

.steps-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-detail {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-detail:nth-child(even) {
    flex-direction: row-reverse;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
}

.step-visual .step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.step-visual .step-icon {
    font-size: 2rem;
}

.step-info h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-info ul {
    list-style: none;
    padding: 0;
}

.step-info ul li {
    color: #059669;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.step-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Destinations Page */
.destinations-grid {
    padding: 4rem 0;
    background: white;
}

.destinations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.destination-image {
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-info {
    padding: 2rem;
}

.destination-info h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.destination-info > p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.destination-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.detail-item strong {
    color: #374151;
}

.btn-destination {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-destination:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

/* Coming Soon Section */
.coming-soon {
    padding: 4rem 0;
    background: #f8fafc;
    text-align: center;
}

.coming-soon h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

.coming-soon-cities {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.city-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.city-item h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.city-item p {
    color: #f59e0b;
    font-weight: 600;
}

/* Tracking Page */
.tracking-section {
    padding: 4rem 0;
    background: white;
}

.tracking-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.tracking-form {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.tracking-form h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

.tracking-input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.tracking-input-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
}

.tracking-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-track {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
}

.tracking-help {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Tracking Results */
.tracking-result {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.tracking-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.tracking-number-display {
    font-weight: 600;
    color: #374151;
}

.tracking-status {
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-transit {
    background: #dbeafe;
    color: #1e40af;
}

/* Timeline */
.tracking-timeline {
    position: relative;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.timeline-item.completed .timeline-marker {
    background: #059669;
    box-shadow: 0 0 0 2px #059669;
}

.timeline-item.active .timeline-marker {
    background: #3b82f6;
    box-shadow: 0 0 0 2px #3b82f6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 2px #3b82f6; }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.3); }
    100% { box-shadow: 0 0 0 2px #3b82f6; }
}

.timeline-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #9ca3af;
    font-size: 0.9rem;
}

.timeline-item.completed .timeline-content h4,
.timeline-item.active .timeline-content h4 {
    color: #059669;
}

.timeline-item.active .timeline-content h4 {
    color: #3b82f6;
}

/* Tracking Help Section */
.tracking-help-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.tracking-help-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.help-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.help-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.help-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #374151;
    margin-bottom: 0.25rem;
}

.contact-details small {
    color: #6b7280;
}

/* Contact Form */
.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h3 {
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* FAQ Quick */
.faq-quick {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-quick h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.faq-quick-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.faq-quick-item h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.faq-quick-item p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9rem;
}

.faq-quick-item a {
    color: #3b82f6;
    text-decoration: none;
}

.faq-quick-item a:hover {
    text-decoration: underline;
}

/* Booking Modal Styles (additional to main.css) */
.booking-step {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.shipping-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #3b82f6;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.form-section h4,
.addresses-container h4,
.pickup-section h4,
.customs-section h4,
.payment-section h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.addresses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.address-section,
.pickup-section,
.customs-section,
.payment-section {
    margin-bottom: 2rem;
}

.order-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.summary-details {
    margin-top: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-line.total {
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
    font-size: 1.1rem;
}

.protection-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.protection-header h4 {
    color: #059669;
    margin-bottom: 1rem;
}

.protection-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-benefits li {
    color: #059669;
    margin-bottom: 0.5rem;
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.payment-option:hover {
    border-color: #3b82f6;
}

.payment-option input[type="radio"] {
    margin: 0;
}

.payment-label {
    display: flex;
    flex-direction: column;
}

.payment-label small {
    color: #6b7280;
}

.declaration-checkbox {
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.terms-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fefce8;
    border-radius: 8px;
    border: 1px solid #fde047;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .step-detail {
        flex-direction: column