/* ========================================
   MOTOSPEED Contact Page Premium Styles
   Dark Gaming Theme - #0a0a0a / #FF0055
   ======================================== */

/* ========================================
   1. GLOBAL CONTACT PAGE STYLES
   ======================================== */
.contact-page-wrapper {
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
}

/* ========================================
   2. CONTACT HERO SECTION
   ======================================== */
.contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 2px solid #FF0055;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 85, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.contact-hero-subtitle {
    font-size: 18px;
    color: #999999;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   3. MAIN CONTACT SECTION
   ======================================== */
.contact-main-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.contact-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-section-desc {
    font-size: 16px;
    color: #999999;
    margin: 0 0 40px;
    line-height: 1.6;
}

/* ========================================
   4. CONTACT INFO CARDS (LEFT COLUMN)
   ======================================== */
.contact-info-wrapper {
    padding: 0 15px;
}

.contact-info-cards {
    margin-bottom: 40px;
}

.contact-info-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #FF0055 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    border-color: #FF0055;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.2);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF0055 0%, #cc0044 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
}

.contact-info-icon i {
    font-size: 22px;
    color: #ffffff;
}

.contact-info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-content p {
    font-size: 15px;
    color: #cccccc;
    margin: 0 0 5px;
    line-height: 1.6;
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

.contact-info-content a {
    color: #FF0055;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: #ff3377;
    text-decoration: underline;
}

/* Address Text Formatting - Premium */
.address-text-formatted {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #FF0055 #2a2a2a;
}

.address-text-formatted::-webkit-scrollbar {
    width: 6px;
}

.address-text-formatted::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.address-text-formatted::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF0055, #cc0044);
    border-radius: 3px;
}

.address-text-formatted::-webkit-scrollbar-thumb:hover {
    background: #ff3377;
}

.address-text-formatted strong {
    color: #FF0055;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 5px;
}

.addr-block {
    margin-bottom: 12px;
}

.addr-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 12px 0;
}

.text-accent {
    color: #FF0055;
    width: 15px;
    text-align: center;
    margin-right: 5px;
}

/* ========================================
   5. CTA BUTTONS
   ======================================== */
.contact-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-cta-primary {
    background: linear-gradient(135deg, #FF0055 0%, #cc0044 100%);
    color: #ffffff;
    border: 2px solid #FF0055;
}

.contact-cta-primary:hover {
    background: linear-gradient(135deg, #ff3377 0%, #FF0055 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.4);
    color: #ffffff;
}

.contact-cta-secondary {
    background: transparent;
    color: #FF0055;
    border: 2px solid #FF0055;
}

.contact-cta-secondary:hover {
    background: #FF0055;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.3);
}

/* ========================================
   6. CONTACT FORM (RIGHT COLUMN)
   ======================================== */
.contact-form-wrapper {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .required {
    color: #FF0055;
    margin-left: 3px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 18px 22px;
    font-size: 16px;
    color: #ffffff;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-input {
    height: 60px;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #FF0055;
    background: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(255, 0, 85, 0.1);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #666666;
}

.contact-input.input-error {
    border-color: #ff3333;
    animation: shake 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.contact-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================================
   7. SUBMIT BUTTON
   ======================================== */
.contact-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #FF0055 0%, #cc0044 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 85, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-submit-btn .btn-text,
.contact-submit-btn .btn-loading {
    position: relative;
    z-index: 1;
}

/* ========================================
   8. FORM ALERT MESSAGES
   ======================================== */
#contact-form-messages {
    margin-bottom: 20px;
}

.contact-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-alert i {
    margin-right: 8px;
    font-size: 18px;
}

.contact-alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #4caf50;
}

.contact-alert-error {
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid #ff3333;
    color: #ff6666;
}

.contact-alert ul {
    margin: 8px 0 0 0;
    padding-left: 25px;
}

.contact-alert li {
    margin: 5px 0;
}

/* ========================================
   9. GOOGLE MAPS SECTION
   ======================================== */
.contact-map-section {
    background: #0a0a0a;
    padding: 0;
    border-top: 2px solid #2a2a2a;
    border-bottom: 2px solid #2a2a2a;
}

.contact-map-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.contact-map-wrapper iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.3s ease;
}

.contact-map-wrapper:hover iframe {
    filter: grayscale(50%) invert(92%) contrast(83%);
}

/* ========================================
   10. FEATURE ICONS SECTION
   ======================================== */
.contact-features-section {
    background: #1a1a1a;
    padding: 60px 0;
}

.contact-feature-card {
    text-align: center;
    padding: 30px 15px;
    transition: transform 0.3s ease;
}

.contact-feature-card:hover {
    transform: translateY(-5px);
}

.contact-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF0055 0%, #cc0044 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(255, 0, 85, 0.3);
    transition: all 0.3s ease;
}

.contact-feature-card:hover .contact-feature-icon {
    box-shadow: 0 12px 35px rgba(255, 0, 85, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.contact-feature-icon i {
    font-size: 36px;
    color: #ffffff;
}

.contact-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-feature-card p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

/* Tablet & Below (992px) */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 38px;
    }

    .contact-hero-subtitle {
        font-size: 16px;
    }

    .contact-section-title {
        font-size: 28px;
    }

    .contact-main-section {
        padding: 60px 0;
    }

    .contact-info-wrapper {
        margin-bottom: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-hero-title {
        font-size: 32px;
    }

    .contact-hero-subtitle {
        font-size: 15px;
    }

    .contact-main-section {
        padding: 40px 0;
    }

    .contact-section-title {
        font-size: 24px;
    }

    .contact-section-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .contact-info-card {
        padding: 20px;
        gap: 15px;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
    }

    .contact-info-icon i {
        font-size: 20px;
    }

    .contact-info-content h3 {
        font-size: 16px;
    }

    .contact-info-content p {
        font-size: 14px;
    }

    .contact-cta-buttons {
        flex-direction: column;
    }

    .contact-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-map-wrapper {
        height: 350px;
    }

    .contact-features-section {
        padding: 40px 0;
    }

    .contact-feature-card {
        margin-bottom: 20px;
    }
}

/* Small Mobile (576px) */
@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0 30px;
    }

    .contact-hero-title {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .contact-hero-subtitle {
        font-size: 14px;
    }

    .contact-main-section {
        padding: 30px 0;
    }

    .contact-section-title {
        font-size: 22px;
    }

    .contact-section-desc {
        font-size: 14px;
    }

    .contact-info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-input,
    .contact-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .contact-map-wrapper {
        height: 300px;
    }

    .contact-feature-icon {
        width: 70px;
        height: 70px;
    }

    .contact-feature-icon i {
        font-size: 32px;
    }

    .contact-feature-card h4 {
        font-size: 16px;
    }

    .contact-feature-card p {
        font-size: 13px;
    }
}

/* ========================================
   12. UTILITY CLASSES
   ======================================== */
.text-accent {
    color: #FF0055;
}

.bg-accent {
    background-color: #FF0055;
}

.border-accent {
    border-color: #FF0055;
}

/* ========================================
   13. ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card,
.contact-feature-card {
    animation: fadeIn 0.6s ease forwards;
}

.contact-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-info-card:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-feature-card:nth-child(4) {
    animation-delay: 0.4s;
}