* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 100%);
    color: #e6d5b8;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================== ELEGANT HEADER ====================== */
header {
    background: linear-gradient(135deg, #0a2540, #1e3a5f);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(230, 213, 184, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    color: #e6d5b8;
    font-weight: 700;
}

.logo i {
    font-size: 2.4rem;
    color: #a8c4e0;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: #e6d5b8;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    background: rgba(230, 213, 184, 0.15);
    transform: translateY(-2px);
    color: #fff;
}

.nav-link.active {
    background: #e6d5b8;
    color: #0a2540;
    box-shadow: 0 6px 15px rgba(230, 213, 184, 0.3);
}

/* ====================== HERO ====================== */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.85)), url('https://picsum.photos/id/1015/1920/700') center/cover;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: #e6d5b8;
}

/* Tracking Form */
.tracking-form {
    max-width: 620px;
    margin: 2rem auto;
    display: flex;
    background: rgba(255,255,255,0.12);
    padding: 12px;
    border-radius: 60px;
    backdrop-filter: blur(10px);
}

.tracking-form input {
    flex: 1;
    padding: 20px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: white;
    color: #0a2540;
}

.tracking-form button {
    padding: 0 42px;
    background: #e6d5b8;
    color: #0a2540;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tracking-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(230, 213, 184, 0.4);
}

/* Results */
.tracking-results {
    padding: 3rem 0;
}

.shipment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 1.8rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.status-badge {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status-badge.pending    { background: #f4a261; color: #0a2540; }
.status-badge.in-transit { background: #2a9d8f; color: white; }
.status-badge.delivered  { background: #264653; color: #e6d5b8; }
.status-badge.delayed    { background: #e76f51; color: white; }

/* Progress Bar */
.progress-container {
    height: 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    margin: 2.5rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e6d5b8, #a8c4e0);
    transition: width 2s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 26px;
    height: 26px;
    background: #e6d5b8;
    border-radius: 50%;
    box-shadow: 0 0 20px #e6d5b8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.detail-item {
    background: rgba(255,255,255,0.08);
    padding: 1.8rem;
    border-radius: 16px;
}

/* Timeline */
.timeline-title {
    margin: 3rem 0 1.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(#e6d5b8, #a8c4e0);
}

.timeline-item {
    position: relative;
    padding-left: 75px;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.timeline-dot {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    background: #e6d5b8;
    border: 4px solid #0a2540;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0a2540;
}

.timeline-content {
    background: rgba(255,255,255,0.09);
    padding: 1.6rem;
    border-radius: 14px;
    border-left: 6px solid #e6d5b8;
}

.timeline-date {
    color: #a8c4e0;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.timeline-location {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    background: rgba(10,37,64,0.95);
    margin-top: 4rem;
    border-top: 1px solid #e6d5b8;
}