/*
 * Contact Page Styles (contact.css)
 * Uses global variables defined in global.css (e.g., --primary-blue, --accent-pink)
 */

/* =================================== */
/* CONTACT PAGE BASE LAYOUT */
/* =================================== */

/* Main content container (max-w-7xl mx-auto) */
.max-w-7xl {
    max-width: var(--max-width); /* Assuming --max-width is defined in global.css */
    margin-left: auto;
    margin-right: auto;
}

/* Padding on Y-axis (py-16) */
.py-16 {
    padding-top: 4rem; /* 64px */
    padding-bottom: 4rem; /* 64px */
}

/* Padding on X-axis (px-4 sm:px-6 lg:px-8) - Assuming mobile-first 1rem padding */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { /* Small screens (sm) */
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* Large screens (lg) */
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


/* Main Grid Layout (grid lg:grid-cols-2 gap-12) */
.grid {
    display: grid;
}

.gap-12 {
    gap: 3rem; /* 48px */
}

/* Two columns on large screens */
@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =================================== */
/* HEADING AND TEXT STYLES */
/* =================================== */

.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-primary-blue {
    color: var(--primary-blue);
}

.font-extrabold {
    font-weight: 800;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem; /* 768px */
}

@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}

/* Subheadings (Send Us a Message / Contact Information) */
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-bold {
    font-weight: 700;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* =================================== */
/* CARD STYLES (Form & Info Boxes) */
/* =================================== */

.bg-white {
    background-color: #fff;
}

.p-8 {
    padding: 2rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.shadow-2xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 2rem;
}


/* =================================== */
/* CONTACT FORM STYLES */
/* =================================== */

/* space-y-4 */
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}

/* Form Label Styling */
.block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.font-medium {
    font-weight: 500;
}

.text-gray-700 {
    color: #4a5568; /* A dark gray for labels */
}

/* Required field asterisk */
.text-red-500 {
    color: #ef4444;
}

/* Form Input and Textarea/Select Styling */
.w-full {
    width: 100%;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-gray-300 {
    border-color: #d1d5db; /* Light gray border */
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Focus styles for inputs (input-focus-primary) */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:border-2:focus {
    border-width: 2px;
}

.input-focus-primary:focus {
    /* Using the primary blue color for the focus ring/border */
    border-color: var(--primary-blue);
}

.transition {
    transition-property: all;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Textarea specific style */
.resize-none {
    resize: none;
}

/* Select element background for consistency */
.bg-white {
    background-color: #fff;
}


/* Form Buttons */
.pt-4 {
    padding-top: 1rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-white {
    color: #fff;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

/* Hover effects */
button {
    cursor: pointer;
    border: none;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* =================================== */
/* CONTACT INFO STYLES */
/* =================================== */

/* space-y-6 */
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem;
}

.flex {
    display: flex;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

/* SVG Icon Styling */
.flex-shrink-0 {
    flex-shrink: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.text-accent-pink {
    color: var(--accent-pink);
}

/* Phone/Email Link Styling */
.text-primary-blue {
    color: var(--primary-blue);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-gray-500 {
    color: #6b7280;
}

/* Map Placeholder Styling */
.h-64 {
    height: 16rem; /* 256px */
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.justify-center {
    justify-content: center;
}

/* Map Button */
.mt-4 {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}