/* Base Styles */
:root {
    --primary: #1a1a1a;
    --secondary: #d4af37;
    --accent: #b8860b;
    --light: #f5f5f5;
    --dark: #121212;
    --gray: #666;
    --light-gray: #e0e0e0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

header h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Honeypot Field */
.hidden {
    position: absolute;
    left: -5000px;
    height: 0;
    overflow: hidden;
}

/* Form Styles */
.form-section {
    margin-bottom: 2.5rem;
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--secondary);
}

.form-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #999;
    background: white;
    padding: 0 0.3rem;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 0.9rem;
}

input:focus + label,
input:not(:placeholder-shown) + label,
select:focus + label,
select:not([value=""]) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
    background: white;
    padding: 0 0.5rem;
}

/* Custom Select Styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
    padding-right: 2.5rem;
}

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

/* Checkbox Styling */
.consent {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.consent input[type="checkbox"] {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.consent label {
    position: static;
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
    background: none;
    padding: 0;
}

/* Button Styling */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 2rem;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header h2 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
}

/* Form Validation */
input:invalid, select:invalid, textarea:invalid {
    border-color: #ff6b6b;
}

input:invalid + label, select:invalid + label, textarea:invalid + label {
    color: #ff6b6b;
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}
