:root {
    --bg-color: #000000;
    --text-color: #bcb9b2;
    --btn-bg: #7e7d78;
    --btn-text: #ffffff;
    --accent-color: #bcb9b2;
    --font-family: 'Montserrat', sans-serif;
}

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

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.form-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Cover Image */
.cover-wrapper {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 520px;
    min-height: 350px;
    padding: 40px 10px;
    overflow: hidden;
}

.cover-image {
    object-fit: contain;
    width: 100%;
    max-width: 1200px;
    max-height: 480px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cover-wrapper {
        max-height: 300px;
        min-height: 220px;
        padding: 25px 5px;
    }
    .cover-image {
        max-height: 270px;
    }
}

/* Main Content */
.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
}

.header {
    margin-bottom: 40px;
}

.logo {
    display: none; /* Logo logic was mostly handled by cover image or was custom injected. If needed it can be displayed. */
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.2;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

p {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

strong {
    color: var(--accent-color);
}

.highlight-text {
    font-weight: 600;
}

/* Split Layout */
.split-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-content img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }
}

/* Dividers */
.divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.features-grid p {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.form-group {
    margin: 30px 0;
    position: relative;
    max-width: 300px;
}

.form-group input {
    width: 100%;
    background: #7e7d78;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 1rem;
    padding: 8px 10px;
    border-radius: 4px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-bottom-color: var(--accent-color);
}

.form-group input::placeholder {
    color: #ffffff;
}

.required-asterisk {
    color: #ffffff;
    margin-left: 5px;
    font-weight: bold;
}

.form-group .required-asterisk {
    position: absolute;
    top: 0px;
    right: -15px;
    margin-left: 0;
}

.checkbox-group {
    margin-bottom: 30px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    font-size: 0.95rem;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    flex-shrink: 0;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Submit Button */
.submit-btn {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #6a6964;
}

.submit-btn .btn-icon {
    margin-left: 10px;
}

.submit-btn .loading-icon {
    display: none;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
    display: none;
}

.submit-btn.loading .loading-icon {
    display: inline-block;
}

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