/* D:\Projects\adi-shirt\public\style.css */

/* reset and variables */
:root {
    --primary: #D0121E;       /* Hapoel Jerusalem Red / Brand Color */
    --primary-hover: #B00F18; /* Darker red for hover state */
    --black: #111111;
    --dark-grey: #2c2c2c;
    --light-grey: #f8f9fa;
    --bg-page: #FAF9F6;       /* Warm premium off-white */
    --white: #ffffff;
    --font-family: 'Assistant', sans-serif;
    --border-color: #eaeaea;
    --soft-grey: #7f7f7f;     /* Defining the missing soft grey color */
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-page);
    color: var(--black);
    line-height: 1.6;
    direction: rtl;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    -webkit-font-smoothing: antialiased;
}

/* layout container - structured as a premium card */
.container {
    max-width: 540px;
    width: 100%;
    background-color: var(--white);
    padding: 60px 45px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

/* header section */
header {
    margin-bottom: 35px;
}

h1 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--soft-grey);
}

.subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--dark-grey);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* product image section */
.product-showcase {
    width: 100%;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image {
    max-width: 100%;
    width: 360px;
    height: auto;
    object-fit: contain;
    /* Removed drop-shadow so the image background blends seamlessly with the white container */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image:hover {
    transform: scale(1.04);
}

/* Edition badge - styled as a premium fashion label */
.edition-badge {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 25px;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    display: inline-block;
}

/* purchase button */
.cta-section {
    width: 100%;
    margin-top: 10px;
}

.buy-button {
    display: block;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 16px 0;
    border-radius: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(208, 18, 30, 0.2);
}

.buy-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 18, 30, 0.3);
}

.buy-button:active {
    transform: translateY(0);
}

/* footer section */
footer {
    font-size: 0.85rem;
    color: var(--dark-grey);
    opacity: 0.6;
    width: 100%;
    margin-top: 15px;
}

/* mobile responsiveness */
@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }

    .container {
        padding: 40px 25px;
        border-radius: 12px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .product-image {
        width: 100%;
        max-width: 300px;
    }

    .buy-button {
        padding: 14px 0;
        font-size: 1.25rem;
    }
}
