/*
Theme Name: Kundu Weigh Bridge
Version: 1.0
*/

/* =========================
   Base Reset
========================= */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;   /* allow vertical scroll */
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
}

/* =========================
   Hero Section
========================= */

.hero {
    background: url('assets/images/hero-bg.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.overlay {
    background: rgba(0, 55, 130, 0.75);
    flex: 1;               /* THIS is important */
    padding: 80px 0;
}


/* =========================
   Main Flex Layout
========================= */

.hero-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* =========================
   LEFT SECTION
========================= */

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* force left alignment */
}

.hero-left h1 {
    font-size: 32px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero-left p {
    margin: 5px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #fff;
    color: #1e5fa8;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
}

/* =========================
   Ticket Styling
========================= */

.ticket-box {
    margin-top: 25px;
    background: rgba(255,255,255,0.95);
    color: #000;
    padding: 20px;
    border-radius: 8px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.ticket-box h2 {
    margin-top: 0;
    color: #00aa55;
}

.ticket-box table {
    width: 100%;
    border-collapse: collapse;
}

.ticket-box th,
.ticket-box td {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 14px;
}

/* =========================
   RIGHT SECTION
========================= */

.hero-right {
    flex: 0 0 38%;
    max-width: 38%;
    align-self: flex-end;
    margin-bottom: 60px;

    border: 2px solid rgba(255,255,255,0.6);
    padding: 25px 30px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.hero-right h2 {
    margin-bottom: 15px;
}

.hero-right ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.hero-right li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.hero-right li::before {
    content: "👉";
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 0;
}

/* =========================
   Tablet
========================= */

@media (max-width: 992px) {

    .hero-left {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .hero-right {
        flex: 0 0 35%;
        max-width: 35%;
    }

}

/* =========================
   Mobile
========================= */

@media (max-width: 576px) {

    .hero-wrapper {
        flex-direction: column;
        gap: 30px;
        width: 100%;           /* FULL WIDTH */
        padding: 0 20px;       /* controlled spacing */
        box-sizing: border-box;
    }

    .hero-left,
    .hero-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-right {
        padding: 20px;         /* reduce horizontal padding */
        margin: 0;
    }

    .hero-right ul {
        padding-left: 15px;    /* reduce list padding */
    }

}
