/* ============================================================
   MonColis - mid-2010s flat design stylesheet
   Inspired by the Bootstrap 3 / Flat UI era (2013-2016)
   ============================================================ */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #34495e;
    background: #ecf0f1;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top navigation bar ---------- */

.navbar {
    background: #2c3e50;
    color: #ecf0f1;
    border-bottom: 4px solid #1abc9c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.brand:hover {
    color: #1abc9c;
    text-decoration: none;
}

.brand-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #1abc9c;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 18px;
    color: #ffffff;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 22px 18px;
    color: #bdc3c7;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.main-nav a:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.1);
}

.main-nav a.active {
    color: #ffffff;
    border-bottom-color: #1abc9c;
    background: rgba(0, 0, 0, 0.12);
}

.lang-switcher {
    color: #95a5a6;
    font-size: 13px;
    font-weight: 600;
}

.lang-switcher a {
    color: #95a5a6;
    padding: 4px 6px;
    text-decoration: none;
}

.lang-switcher a:hover {
    color: #ffffff;
}

.lang-switcher a.lang-active {
    color: #1abc9c;
}

.lang-sep {
    color: #4a6378;
    margin: 0 2px;
}

/* ---------- Jumbotron / hero ---------- */

.jumbotron {
    background: #34495e;
    background-image: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ecf0f1;
    padding: 60px 0 70px 0;
    text-align: center;
    border-bottom: 1px solid #1f2d3a;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.15);
}

.jumbotron h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 12px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.jumbotron .tagline {
    font-size: 16px;
    color: #bdc3c7;
    max-width: 640px;
    margin: 0 auto 30px auto;
}

.tracking-form {
    display: flex;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.tracking-input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: #2c3e50;
    background: #ffffff;
    outline: none;
}

.tracking-input:focus {
    background: #fdfdfd;
}

.tracking-form .btn {
    border-radius: 0;
    padding: 0 26px;
    font-size: 15px;
}

.form-hint {
    color: #95a5a6;
    font-size: 12px;
    margin-top: 14px;
    font-style: italic;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.05s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #e67e22;
    color: #ffffff;
}

.btn-primary:hover {
    background: #d35400;
    color: #ffffff;
}

.btn-secondary {
    background: #1abc9c;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #16a085;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
    padding: 8px 18px;
}

.btn-outline:hover {
    background: #2c3e50;
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ---------- Layout: rows and columns ---------- */

.main-content {
    padding: 36px 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col {
    padding: 0 12px;
    margin-bottom: 24px;
}

.col-main {
    flex: 1 1 700px;
    min-width: 0;
}

.col-side {
    flex: 0 1 320px;
}

/* ---------- Panels (cards) ---------- */

.panel {
    background: #ffffff;
    border: 1px solid #e1e6ea;
    border-radius: 4px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.panel-heading {
    background: #f7f9fa;
    border-bottom: 1px solid #e1e6ea;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-heading h2 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    color: #2c3e50;
}

.panel-heading h3 {
    font-size: 16px;
    margin: 0;
}

.panel-body {
    padding: 20px;
}

.panel-info .panel-heading {
    background: #1abc9c;
    border-bottom-color: #16a085;
}

.panel-info .panel-heading h2 {
    color: #ffffff;
}

.panel-promo {
    background: #fff8ec;
    border-color: #f1d9a8;
}

.panel-promo h3 {
    color: #d35400;
    font-size: 18px;
}

/* ---------- Status badge ---------- */

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: #95a5a6;
}

.status-en-cours {
    background: #e67e22;
}

.status-livre {
    background: #27ae60;
}

.status-attente {
    background: #95a5a6;
}

/* ---------- Package summary grid ---------- */

.package-summary {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.summary-item {
    flex: 1 1 33%;
    min-width: 180px;
    padding: 12px 10px;
    border-bottom: 1px dashed #ecf0f1;
}

.summary-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #95a5a6;
    margin-bottom: 4px;
    font-weight: 600;
}

.summary-value {
    display: block;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.summary-item.highlight .summary-value {
    color: #e67e22;
}

/* ---------- Timeline ---------- */

.timeline {
    position: relative;
    padding: 6px 0 6px 0;
    margin: 0;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 13px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: #ecf0f1;
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    padding: 6px 0 22px 44px;
}

.timeline-step:last-child {
    padding-bottom: 6px;
}

.timeline-dot {
    position: absolute;
    left: 4px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #bdc3c7;
    z-index: 1;
    box-shadow: 0 0 0 3px #ffffff;
}

.timeline-step.done .timeline-dot {
    background: #1abc9c;
    border-color: #16a085;
}

.timeline-step.current .timeline-dot {
    background: #e67e22;
    border-color: #d35400;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(230, 126, 34, 0.25);
}

.timeline-step.pending .timeline-dot {
    background: #ffffff;
    border-color: #d8dde0;
}

.timeline-content h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #2c3e50;
}

.timeline-step.pending .timeline-content h3 {
    color: #95a5a6;
}

.timeline-step.current .timeline-content h3 {
    color: #d35400;
}

.timeline-content p {
    margin: 0 0 4px 0;
    color: #7f8c8d;
    font-size: 13px;
}

.timeline-meta {
    font-size: 12px !important;
    color: #95a5a6 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ---------- Notification form ---------- */

.notif-form label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7f8c8d;
    font-weight: 600;
    margin: 8px 0 4px 0;
}

.notif-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d8dde0;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    color: #2c3e50;
    background: #fdfefe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notif-form input:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
}

.notif-form .btn {
    margin-top: 16px;
}

/* ---------- Help list ---------- */

.help-list li {
    border-bottom: 1px solid #ecf0f1;
}

.help-list li:last-child {
    border-bottom: none;
}

.help-list a {
    display: block;
    padding: 9px 0;
    color: #34495e;
    font-size: 13px;
}

.help-list a:before {
    content: "\203A";
    color: #1abc9c;
    font-weight: 700;
    margin-right: 8px;
}

.help-list a:hover {
    color: #1abc9c;
    text-decoration: none;
    padding-left: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #2c3e50;
    color: #bdc3c7;
    margin-top: 30px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px 30px 20px;
    gap: 30px;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    border-bottom: 1px solid #4a6378;
    padding-bottom: 6px;
}

.footer-col p {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.6;
}

.footer-col ul li {
    padding: 4px 0;
}

.footer-col ul a {
    color: #bdc3c7;
    font-size: 13px;
}

.footer-col ul a:hover {
    color: #1abc9c;
    text-decoration: none;
}

.footer-bottom {
    background: #1f2d3a;
    padding: 14px 0;
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 768px) {
    .navbar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a {
        padding: 12px 12px;
        margin-bottom: 0;
    }

    .jumbotron {
        padding: 40px 0;
    }

    .jumbotron h1 {
        font-size: 26px;
    }

    .tracking-form {
        flex-direction: column;
    }

    .tracking-form .btn {
        padding: 12px;
    }

    .summary-item {
        flex: 1 1 100%;
    }

    .footer-inner {
        text-align: center;
    }
}
