/* Enquiries Page Styles */

/* Page-specific header override */
.page-header p {
    font-style: italic;
}

/* Enquiries Section */
.enquiries-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    min-height: 60vh;
    overflow-x: hidden;
}

.enquiries-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.sidebar-card h2 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.sidebar-card > p {
    color: #a8a5a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-method:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateX(5px);
}

.method-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon i {
    font-size: 1.25rem;
    color: #d4af37;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    color: #a8a5a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-value {
    color: #e8e6e3;
    font-size: 1rem;
}

.response-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(74, 124, 89, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #6b9e7a;
}

.response-note i {
    font-size: 1rem;
}

/* Pricing Reminder Card */
.pricing-reminder {
    text-align: center;
}

.pricing-reminder h3 {
    color: #a8a5a0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.price-info {
    margin-bottom: 1rem;
}

.price-info .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.price-info .price-note {
    color: #a8a5a0;
    font-size: 0.9rem;
}

.pricing-reminder > p {
    color: #a8a5a0;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.link-btn:hover {
    gap: 0.75rem;
}

.link-btn i {
    transition: transform 0.3s ease;
}

.link-btn:hover i {
    transform: translateX(3px);
}

/* Form Container */
.form-container {
    background: #f4f1ed;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 100%;
}

.enquiry-form {
    max-width: 100%;
}

.enquiry-form h2 {
    color: #1a1d28;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-intro {
    color: #5a5a5a;
    margin-bottom: 2rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(26, 29, 40, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1a1d28;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.form-section h3 i {
    color: #d4af37;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row .form-group {
    margin-bottom: 0;
    min-width: 0; /* Allow grid items to shrink below content width */
}

.form-group label {
    display: block;
    color: #2d2d2d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group .required {
    color: #c0392b;
}

.form-group .optional {
    color: #888;
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.875rem 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.submit-btn:hover {
    background: #d4af37;
    color: #1a1d28;
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Form Disclaimer */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.85rem;
    text-align: center;
}

.form-disclaimer i {
    color: #6b9e7a;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(74, 124, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 2.5rem;
    color: #4a7c59;
}

.form-success h2 {
    color: #1a1d28;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #5a5a5a;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.reset-btn {
    padding: 0.875rem 2rem;
    background: transparent;
    color: #1a1d28;
    border: 2px solid #1a1d28;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #1a1d28;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .enquiries-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .enquiries-section {
        padding: 2rem 1rem;
    }

    .form-container {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
    }

    .closing-message {
        padding: 3rem 1.5rem;
    }

    .closing-content p {
        font-size: 1.1rem;
    }

    /* Force inputs to fit on iOS and prevent zoom */
    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom */
        height: 50px;
        padding: 0 0.75rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-group textarea {
        font-size: 16px;
        padding: 0.875rem 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* iOS date input specific fix */
    .form-group input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        min-width: 0 !important;
    }

    .form-group {
        overflow: hidden;
    }
}

/* Closing Message Section */
.closing-message {
    background: #f4f1ed;
    padding: 4rem 2rem;
    text-align: center;
}

.closing-content {
    max-width: 700px;
    margin: 0 auto;
}

.closing-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.closing-signature {
    display: inline-block;
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
    position: relative;
    padding: 0 2rem;
}

.closing-signature::before,
.closing-signature::after {
    content: '~';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    opacity: 0.6;
}

.closing-signature::before {
    left: 0;
}

.closing-signature::after {
    right: 0;
}

/* Honeypot field - hidden from humans, visible to bots */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* GDPR Consent Checkbox */
.consent-group {
    margin: 1.5rem 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
}

.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.consent-label .checkmark {
    position: absolute;
    left: 0;
    top: 0.15rem;
    height: 1.25rem;
    width: 1.25rem;
    background-color: #2a2d3a;
    border: 2px solid #4a4d5a;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.consent-label:hover .checkmark {
    border-color: #d4af37;
}

.consent-label input:checked ~ .checkmark {
    background-color: #d4af37;
    border-color: #d4af37;
}

.consent-label .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 0.35rem;
    top: 0.1rem;
    width: 0.3rem;
    height: 0.6rem;
    border: solid #1a1d28;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-label input:checked ~ .checkmark::after {
    display: block;
}

.consent-text {
    color: #a8a5a0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-text a {
    color: #d4af37;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}
