/* contact.css */

:root {
    --orange: #FF6700;
    --dark-bg: #111111;
    --light-bg: #F9FAFB;
    --border-color: #374151;
    --text-light: #F9FAFB;
    --text-dark: #1F2937;
    --text-subtle: #9CA3AF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    color: var(--text-dark);
}

/* --- Page Header --- */
.contact-header {
    text-align: center;
    padding: 8rem 2rem 6rem;
}
.contact-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
}
.contact-header p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #6B7280;
    max-width: 60ch;
    margin: 0 auto;
}

/* --- Main Layout --- */
.contact-main {
    padding: 0 2rem 8rem;
}
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

/* --- Form Styling --- */
.form-container {
    width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group:last-child {
    margin-bottom: 2rem; /* Ensure consistent spacing */
}
.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.2);
}
textarea {
    resize: vertical;
}

/* Custom Checkboxes */
.multi-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;

}
.checkbox-wrapper {
    display: flex;
    align-items: center;
}
.checkbox-wrapper input[type="checkbox"] {
    display: none;
}
.checkbox-wrapper label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom:1rem;
}
.checkbox-wrapper label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    margin-right: 0.75rem;
    transition: all 0.2s;
}
.checkbox-wrapper input[type="checkbox"]:checked + label::before {
    background-color: var(--orange);
    border-color: var(--orange);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--orange);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top:1rem;
}
.submit-btn:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

/* --- Sidebar & Mini-Calendar --- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.quick-contact-block {
    background-color: #F3F4F6;
    padding: 1.5rem;
    border-radius: 12px;
}
.quick-contact-block h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}
.quick-contact-block p {
    margin: 0 0 1rem 0;
    color: #6B7280;
    line-height: 1.5;
}
.contact-link {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.contact-link:hover {
    color: var(--orange);
}
.sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background-color: #111111;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.sidebar-btn:hover {
    background-color: #333;
}
.map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mini Calendar Styling */
.mini-calendar {
    margin-bottom: 1.5rem;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}
.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-subtle);
    margin-bottom: 0.5rem;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}
.calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    border-radius: 50%;
    font-weight: 500;
    color: #C3C6CB; /* Greying out non-month days */
}
.calendar-day.current-month {
    color: var(--text-dark);
}
.calendar-day.today {
    border: 2px solid var(--orange);
    color: var(--orange);
}
.calendar-day.available {
    background-color: var(--orange);
    color: white;
    font-weight: 700;
    cursor: help;
}

/* --- FAQs Section --- */
.faq-section {
    padding: 8rem 2rem 6rem;
    background-color: var(--dark-bg);
    color: var(--text-light);
}
.faq-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-subtle);
    line-height: 1.6;
    max-width: 65ch;
}

/* --- Success Message --- */
.success-message {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    border: 2px dashed var(--orange);
    border-radius: 12px;
}
.success-message h3 {
    font-size: 2rem;
    color: var(--orange);
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}