/* Font imports */
@font-face {
    font-family: 'Graphik';
    src: url('/fonts/Graphik-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container - split layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Left section - form area */
.left-section {
    flex: 0 0 45%;
    background: linear-gradient(180deg, #e8eef2 0%, #f5f7f9 100%);
    padding: 60px 80px 60px 120px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 50px,
            rgba(255, 255, 255, 0.03) 51px
        );
    pointer-events: none;
    opacity: 0.5;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* Content */
.content {
    position: relative;
    z-index: 1;
}

.heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: #2c3e3f;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.subheading {
    font-family: 'Graphik', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #5a6c6d;
    margin-bottom: 40px;
}

/* Form styles */
.form {
    max-width: 500px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Graphik', sans-serif;
    font-size: 12px;
    color: #5a6c6d;
    margin-bottom: 8px;
}

.form-group input {
    font-family: 'Graphik', sans-serif;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid #c5d0d3;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2d5f4f;
    background: #ffffff;
}

/* Form footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 25px;
}

.consent-group {
    flex: 1;
}

.small-text {
    font-size: 11px;
    color: #7a8c8d;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    color: #5a6c6d;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label span {
    line-height: 1.4;
}

/* Submit button */
.submit-btn {
    font-family: 'Graphik', sans-serif;
    font-size: 13px;
    padding: 14px 32px;
    background: #2d5f4f;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.submit-btn:hover {
    background: #234a3c;
}

.submit-btn:disabled {
    background: #8a9e97;
    cursor: not-allowed;
}

/* Message */
.message {
    margin-top: 20px;
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 4px;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Right section - image */
.right-section {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive design */
@media (max-width: 1024px) {
    .left-section {
        padding: 40px 60px;
    }

    .heading {
        font-size: 36px;
    }
}

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

    .left-section,
    .right-section {
        flex: 1 1 100%;
    }

    .left-section {
        padding: 40px 30px;
    }

    .right-section {
        min-height: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .heading {
        font-size: 32px;
    }
}
