:root {
    --bg-color: #f8f7f4;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d4e;
    --card-bg: #ffffff;
    --border-color: #e5e2db;
    --error-color: #d93025;
    --success-color: #1e8e3e;
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.main-header {
    background-color: var(--text-primary);
    color: var(--card-bg);
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.logo-box {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .header-info {
        align-items: flex-end;
    }
}

.header-intro {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin: 0;
}

.header-contact {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.header-contact:hover {
    color: var(--card-bg);
}

/* Layout */
.page-container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .page-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Left Brand Section */
.brand-section {
    padding: 2rem;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
}

@media (min-width: 1024px) {
    .brand-section {
        flex: 0 0 45%;
        padding: 4rem 2rem 4rem 4rem;
        position: sticky;
        top: 0;
        height: calc(100vh - 90px); /* Account for header height */
    }
}

.poster-sticky-wrapper {
    width: 100%;
    max-width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.4);
    border-radius: 12px;
    padding: 10px;
    background: var(--bg-color);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* Right Form Section */
.form-section {
    flex: 1;
    padding: 2rem 1.5rem 4rem 1.5rem;
    display: flex;
    justify-content: center;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23c5a059" fill-opacity="0.15"/></svg>') repeat;
}

@media (min-width: 1024px) {
    .form-section {
        padding: 4rem;
    }
}

.form-container {
    width: 100%;
    max-width: 650px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .form-container {
        padding: 3.5rem;
    }
}

.form-header {
    margin-bottom: 3rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Form Styles */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-step {
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.step-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.required {
    color: var(--accent-gold);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #a0a0a0;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
    padding-right: 3rem;
    cursor: pointer;
}

.select-wrapper i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* File Upload */
.file-upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: var(--bg-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--accent-gold);
    background-color: rgba(197, 160, 89, 0.05);
}

.file-upload-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.upload-text span {
    color: var(--accent-gold);
    text-decoration: underline;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 1rem;
}

.file-info i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

#fileName {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--error-color);
    background: rgba(217, 48, 37, 0.1);
}

/* Actions */
.form-actions {
    margin-top: 1rem;
}

.btn-primary {
    width: 100%;
    background-color: var(--text-primary);
    color: var(--card-bg);
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.icon-spin {
    animation: spin 1s linear infinite;
}

.privacy-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease;
}

.alert.success {
    background-color: rgba(30, 142, 62, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(30, 142, 62, 0.2);
}

.alert.error {
    background-color: rgba(217, 48, 37, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(217, 48, 37, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-primary);
    color: #a0a0a0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
