/* Mobile Portrait Style (Default) */
.form-container {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
	margin: auto;
}

h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 22px;
    text-align: center;
}

.form-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 16px;
}

.form-group {
    margin-bottom: 0; /* Gaps are handled by the grid wrapper */
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Drag and Drop Container */
.dropzone-area {
    border: 2px dashed var(--border-color);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.dropzone-area:hover, .dropzone-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.03);
}

#artwork-input { display: none; }

.file-preview-text {
    margin-top: 6px;
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.formBtn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit { background-color: var(--primary-color); color: white; }
.btn-submit:hover { background-color: var(--primary-hover); }
.btn-reset { background-color: #e5e7eb; color: #4b5563; }
.btn-reset:hover { background-color: #d1d5db; }

/* Desktop Landscape Transformation */
@media (min-width: 768px) {
    .form-container {
        max-width: 850px; /* Widens the container for the horizontal design */
        padding: 40px;
    }

    .form-grid-wrapper {
        grid-template-columns: 1fr 1fr; /* Splits inputs side-by-side */
        gap: 20px;
    }

    h2 {
        font-size: 26px;
        text-align: left;
        border-bottom: 2px solid var(--bg-color);
        padding-bottom: 12px;
    }

    /* Keeps large fields spanning comfortably across both columns */
    .full-width {
        grid-column: span 2;
    }

    .button-group {
        max-width: 350px;
        margin-left: auto; /* Aligns buttons nicely to the bottom right */
    }
}

/* Drag and Drop Container Styling */
.dropzone-area {
    border: 2px dashed var(--border-color);
    padding: 24px;
    border-radius: 6px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background-color 0.2s;
}

.dropzone-area:hover, 
.dropzone-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.03);
}

.dropzone-text p {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: #4b5563;
}

.dropzone-text span {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.dropzone-text small {
    color: #9ca3af;
    font-size: 12px;
}

/* Hide raw HTML file element but leave it clickable via JS wrapper */
#artwork-input {
    display: none;
}

.file-preview-text {
    margin-top: 6px;
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}

/* =========================
   PAGE HEADER
========================= */

.page-header{
    background:linear-gradient(
    rgba(15,23,42,.8),
    rgba(15,23,42,.8)),
    url('img/products-banner.jpg');

    background-size:cover;
    background-position:center;

    color:white;
    text-align:center;

    padding:70px 15px;
	margin-bottom: 30px;s
}

.page-header h1{
    font-size:3rem;
    margin-bottom:10px;
}

