/* ===================================================================
   SPLITKUN CONTACT PAGE STYLES
   Dedicated contact form styling
   Mobile-first responsive design
   =================================================================== */

/* ===================================================================
   CONTACT FORM CONTAINER
   =================================================================== */

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================================================
   ALERT MESSAGES
   =================================================================== */

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 16px;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

/* ===================================================================
   FORM STYLING
   =================================================================== */

.contact-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-family: "Satoshi", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* ===================================================================
   INPUT FIELD STYLING
   =================================================================== */

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 16px;
    font-family: "Satoshi", sans-serif;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-input:hover,
.contact-select:hover,
.contact-textarea:hover {
    border-color: #666;
}

/* ===================================================================
   TEXTAREA SPECIFIC
   =================================================================== */

.contact-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: "Satoshi", sans-serif;
}

/* ===================================================================
   SELECT SPECIFIC
   =================================================================== */

.contact-select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23666"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* ===================================================================
   SUBMIT BUTTON
   =================================================================== */

.contact-submit-btn {
    background-color: #000;
    color: #fff;
    font-family: "Satoshi", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.contact-submit-btn:hover:not(:disabled) {
    background-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.submit-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===================================================================
   ERROR MESSAGES
   =================================================================== */

.form-errors {
    margin-top: 0.5rem;
}

.form-errors .error {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 0.25rem;
}

/* ===================================================================
   RECAPTCHA INFO
   =================================================================== */

.recaptcha-info {
    margin-top: 1rem;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.recaptcha-info a {
    color: #000;
    text-decoration: underline;
}

/* ===================================================================
   CONTACT INFORMATION SECTION
   =================================================================== */

.contact-info-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.contact-info-section h2 {
    font-family: "Nippo", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: #000;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-method h3 {
    font-family: "Satoshi", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #000;
}

.contact-method p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.contact-method a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.contact-method a:hover {
    opacity: 0.7;
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

/* Mobile First - Base styles above */

/* Tablet - 768px and up */
@media (min-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-form {
        padding: 3rem;
    }

    .contact-info-section h2 {
        font-size: 40px;
    }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .contact-form-container {
        max-width: 800px;
    }

    .contact-methods {
        gap: 2.5rem;
    }
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .contact-form-container {
        max-width: 900px;
    }

    .contact-form {
        padding: 3.5rem;
    }
}

/* Extra Large Desktop - 1500px and up (your specification) */
@media (min-width: 1500px) {
    .contact-form-container {
        max-width: 900px; /* Exact 900px width on 1500px+ screens */
    }
}

/* ===================================================================
   REDUCED MOTION PREFERENCES
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
    .contact-input,
    .contact-select,
    .contact-textarea,
    .contact-submit-btn {
        transition: none;
    }

    .spinning {
        animation: none;
    }
}
