/* Enquiry Page Specific Styles */

/* Enquiry Hero Section */
.enquiry-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.85) 0%,
            rgba(255,255,255,0.5) 45%,
            rgba(255,255,255,0.15) 100%
        ),
        url("./enquiry.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #111; /* text color for visibility */
}


.enquiry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="enquiry-grid" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M 80 0 L 0 0 0 80" fill="none" stroke="rgba(196,30,58,0.15)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23enquiry-grid)"/></svg>');
    opacity: 0.5;
}

.enquiry-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.enquiry-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enquiry-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.enquiry-hero-subtitle {
    font-size: 20px;
    color: #000;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Active Enquiry Button Style */
.btn-enquiry.active-enquiry {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.header.scrolled .btn-enquiry.active-enquiry {
    background: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

/* Enquiry Process Section */
.enquiry-process {
    padding: 100px 0;
    background: #fff;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #fafafa;
    border: 3px solid #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #c41e3a;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-number {
    background: #c41e3a;
    color: #fff;
    transform: scale(1.1);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-icon {
    color: #c41e3a;
    transform: scale(1.1);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.process-arrow {
    width: 40px;
    height: 40px;
    color: #c41e3a;
    flex-shrink: 0;
}

.process-arrow svg {
    width: 100%;
    height: 100%;
}

/* Enquiry Form Section */
.enquiry-form-section {
    padding: 100px 0;
    background: #fafafa;
}

.enquiry-form-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar */
.enquiry-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-card:hover {
    border-color: #c41e3a;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    color: #c41e3a;
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.sidebar-contact strong {
    color: #000;
    font-weight: 600;
}

.sidebar-contact a {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-contact a:hover {
    color: #8b1528;
}

/* Main Form Container */
.enquiry-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
    position: relative;
    padding-left: 16px;
}

.form-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #c41e3a;
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #333;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23666" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #c41e3a;
}

.checkbox-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.form-submit-btn {
    padding: 18px 50px;
    background: #c41e3a;
    color: #fff;
    border: 2px solid #c41e3a;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    align-self: flex-start;
    margin-top: 20px;
}

.form-submit-btn:hover {
    background: transparent;
    color: #c41e3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.2);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Form Messages */
.form-message {
    padding: 24px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 16px;
    margin-top: 30px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

.error-message {
    background: #ffebee;
    border: 2px solid #f44336;
}

.message-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.success-message .message-icon {
    color: #4caf50;
}

.error-message .message-icon {
    color: #f44336;
}

.form-message h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.success-message h4 {
    color: #2e7d32;
}

.error-message h4 {
    color: #c62828;
}

.form-message p {
    font-size: 14px;
    line-height: 1.6;
}

.success-message p {
    color: #2e7d32;
}

.error-message p {
    color: #c62828;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .enquiry-form-wrapper {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }
    
    .enquiry-form-container {
        padding: 40px;
    }
    
    .process-steps {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .enquiry-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .enquiry-hero-title {
        font-size: 36px;
    }
    
    .enquiry-hero-subtitle {
        font-size: 16px;
    }
    
    .enquiry-process {
        padding: 80px 0;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .enquiry-form-section {
        padding: 80px 0;
    }
    
    .enquiry-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .enquiry-sidebar {
        position: static;
    }
    
    .enquiry-form-container {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding-bottom: 25px;
    }
    
    .form-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .enquiry-hero-title {
        font-size: 28px;
    }
    
    .enquiry-hero-subtitle {
        font-size: 14px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .step-icon {
        width: 48px;
        height: 48px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    .sidebar-card {
        padding: 25px;
    }
    
    .enquiry-form-container {
        padding: 25px 20px;
    }
    
    .form-section-title {
        font-size: 20px;
    }
    
    .form-submit-btn {
        padding: 16px 40px;
        font-size: 16px;
    }
}