/* File: /website/assets/css/contact-styles.css */
/* Contact Page Specific Styles for K & K Advertising */
/* Hero section uses home page structure - no custom hero styles needed */

/* Contact Main Section */
.contact-main-section {
    padding: 3rem 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 3rem;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Form Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message i {
    font-size: 1.25rem;
}

/* Honeypot Field - Hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.required {
    color: var(--brand-red);
}

.optional {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(213, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-label:hover {
    border-color: var(--brand-red);
    background: rgba(255, 255, 255, 0.08);
}

.file-label i {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 0.75rem;
}

.file-text {
    color: var(--text-light);
    font-weight: 600;
}

.file-name {
    margin-top: 0.5rem;
    color: var(--brand-red);
    font-size: 0.875rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Form Errors */
.form-error {
    display: block;
    margin-top: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-input.error {
    border-color: #ef4444;
}

/* Submit Button */
.btn-block {
    width: 100%;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer-text i {
    color: var(--brand-teal);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 6rem;
}

.info-card {
    padding: 2rem;
}

.info-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.info-card-title i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-sidebar .contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-sidebar .contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--brand-red);
}

/* Location */
.location-address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.location-address strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.opening-hours {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-gray);
}

.opening-hours strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.benefits-list i {
    color: var(--brand-teal);
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
    background: var(--bg-darker);
}

.map-wrapper {
    padding: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
}

.map-wrapper iframe {
    border-radius: 15px;
    display: block;
}

.map-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid rgba(255, 214, 0, 0.3);
    border-radius: 10px;
    color: var(--brand-gold);
    font-size: 0.875rem;
    line-height: 1.6;
}

.map-note i {
    margin-right: 0.5rem;
}

.map-note code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-info-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-quick-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-action-btn {
        width: 100%;
        max-width: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 5rem 0 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .quick-action-btn {
        padding: 1rem 1.5rem;
        min-width: auto;
    }

    .info-card {
        padding: 1.5rem;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .form-input {
        border-width: 2px;
    }

    .form-input:focus {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .quick-action-btn,
    .form-input,
    .file-label {
        transition: none;
    }
}