﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url("wsbg4.png") repeat center top;
    background-size: cover;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 100%;
    top: 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 10px;
}

.title h1 {
    margin: 0;
    font-size: 20px;
    color: #002366;
}

.title h2 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    color: #002366;
}

.title p {
    margin: 0;
    font-size: 12px;
    color: red;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* even spacing */
    margin: 0;
    padding: 0;
    align-items: center; /* aligns menu vertically with logo */
}

nav li {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

    nav a:hover {
        color: #007BFF;
    }

.product-card-detail {
    display: flex;
    flex-direction: column;
    gap: 36px; /* guaranteed space between the top section and About this Package */
    width: 100%;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.product-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.product-details li {
    margin-bottom: 8px;
}

.product-image {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden; /* fixed frame, same size for every package photo */
    border: 1px solid #eee;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-info {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px; /* even spacing between name, price, and Book button */
}

.product-name {
    font-size: 26px;
    font-weight: bold;
    margin: 0;
}

.price {
    font-size: 22px;
    color: #e63946;
    margin: 0;
}

.product-info .appoint-btn {
    align-self: flex-start;
}

.description {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
}

.appoint-btn {
    display: inline-block;
    background: #ff5722;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

    .appoint-btn:hover {
        background: #e64a19;
    }

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-top: 100px;
}

.page-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* keeps the back-link and card sharing the same left edge */
    gap: 16px;
    width: 100%;
    max-width: 1000px;
}

.back-link {
    color: #002366;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
}

    .back-link:hover {
        text-decoration: underline;
    }

.extra-description {
    padding-top: 24px;
    border-top: 1px solid #eee; /* divider inside the single card, instead of a separate box */
}

    .extra-description h3 {
        margin-top: 0;
        font-size: 22px;
        color: #002366;
    }

    .extra-description h4 {
        margin-top: 20px;
        font-size: 18px;
        color: #333;
    }

    .extra-description p {
        font-size: 16px;
        line-height: 1.6;
        color: #444;
    }

    .extra-description ul {
        margin: 15px 0 0 20px;
    }

    .extra-description li {
        margin-bottom: 8px;
    }