/* Contact Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #D3413F 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.page-header p {
    font-size: 20px;
    position: relative;
    z-index: 2;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Form Row - 2 Column Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 0;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(211, 65, 63, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #D3413F;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D3413F;
    box-shadow: 0 0 0 4px rgba(211, 65, 63, 0.1);
    background: white;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 15px;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #D3413F 0%, #ff6b6b 100%);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(211, 65, 63, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(211, 65, 63, 0.4);
}

.contact-form .btn:active {
    transform: translateY(-1px);
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Form Message Alerts */
.form-message {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-left: 5px solid #2e7d32;
}

.alert-error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border-left: 5px solid #c62828;
}

/* Map Section - Dual Locations */
.map-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Maps Row - Two Maps Side by Side */
.maps-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.map-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(211, 65, 63, 0.1);
    transition: all 0.4s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(211, 65, 63, 0.2);
}

.location-header {
    text-align: center;
    margin-bottom: 20px;
}

.location-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.location-badge.factory {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.location-badge.office {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.3);
}

.location-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Contact Details Section */
.contact-details-section {
    margin-top: 60px;
}

.contact-section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #D3413F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Details Grid - 2 Columns */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.detail-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #D3413F 0%, #ff6b6b 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.detail-card:hover::before {
    transform: scaleY(1);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(211, 65, 63, 0.2);
    border-color: rgba(211, 65, 63, 0.2);
}

.detail-header {
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-card:hover .detail-icon {
    transform: scale(1.15) rotate(5deg);
}

.detail-text h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-text p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    margin: 0;
}

.detail-text p a {
    color: #D3413F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-text p a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.map-section .section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #1a1a1a 0%, #D3413F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-section .title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #D3413F 0%, #ff6b6b 100%);
    margin: 0 auto 60px;
    border-radius: 2px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(211, 65, 63, 0.1);
    transition: all 0.4s ease;
}

.map-container:hover {
    box-shadow: 0 20px 60px rgba(211, 65, 63, 0.25);
    transform: translateY(-5px);
}

/* Get Directions Button */
.map-directions {
    text-align: center;
    margin: 20px 0 0;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #D3413F 0%, #ff6b6b 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(211, 65, 63, 0.3);
    border: none;
}

.directions-btn .btn-icon {
    font-size: 16px;
}

.directions-btn .btn-arrow {
    font-size: 16px;
    transition: transform 0.4s ease;
}

.directions-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(211, 65, 63, 0.4);
}

.directions-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.directions-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Location Info Cards */
.location-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 0;
}

.location-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezazier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #D3413F 0%, #ff6b6b 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.location-item:hover::before {
    transform: scaleY(1);
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(211, 65, 63, 0.2);
    border-color: rgba(211, 65, 63, 0.2);
}

.location-icon {
    font-size: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item:hover .location-icon {
    transform: scale(1.15) rotate(5deg);
}

.location-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-text p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.location-text p a {
    color: #D3413F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-text p a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-section {
        padding: 80px 0;
    }

    .map-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header::before {
        background-size: 35px 35px;
    }

    .page-header h1 {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .page-header p {
        font-size: 18px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 35px 25px;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 30px;
    }

    .info-item {
        padding: 20px;
    }

    .map-section .section-title {
        font-size: 36px;
    }

    /* Keep maps side by side on tablet */
    .maps-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .map-card {
        padding: 20px;
    }

    .location-header h3 {
        font-size: 16px;
    }

    .location-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .map-container iframe {
        height: 280px !important;
    }

    .directions-btn {
        padding: 12px 20px;
        font-size: 12px;
        gap: 8px;
    }

    .directions-btn .btn-icon,
    .directions-btn .btn-arrow {
        font-size: 14px;
    }

    .directions-btn .btn-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header::before {
        background-size: 25px 25px;
        animation-duration: 15s;
    }

    .page-header h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .page-header p {
        font-size: 14px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .contact-info > p {
        font-size: 14px;
    }

    .info-item {
        padding: 18px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .info-icon {
        font-size: 32px;
    }

    .info-content h3 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 13px;
    }

    .contact-form {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-description {
        font-size: 14px;
    }

    .contact-details-grid .location-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 16px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-form .btn {
        padding: 16px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .map-section {
        padding: 60px 0;
    }

    .map-section .section-title {
        font-size: 26px;
    }

    .map-section .title-underline {
        width: 80px;
        height: 3px;
        margin-bottom: 40px;
    }

    .map-container {
        border-radius: 12px;
        border-width: 2px;
    }

    .map-directions {
        margin: 20px 0 30px;
    }

    .directions-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .directions-btn .btn-icon {
        font-size: 18px;
    }

    .directions-btn .btn-arrow {
        font-size: 18px;
    }

    .location-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-item {
        padding: 20px;
        border-radius: 12px;
    }

    .location-icon {
        font-size: 32px;
    }

    .location-text h4 {
        font-size: 16px;
    }

    .location-text p {
        font-size: 13px;
    }

    .maps-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .map-card {
        padding: 15px 12px;
        border-radius: 12px;
    }

    .location-header h3 {
        font-size: 14px;
        letter-spacing: 0.8px;
        margin-bottom: 0;
    }

    .location-badge {
        font-size: 9px;
        padding: 5px 12px;
        margin-bottom: 8px;
    }

    .map-container {
        border-radius: 10px;
        border-width: 2px;
    }

    .map-container iframe {
        height: 220px !important;
    }

    .map-directions {
        margin: 12px 0 0;
    }

    .directions-btn {
        width: 100%;
        padding: 10px 15px;
        font-size: 10px;
        gap: 6px;
        letter-spacing: 0.5px;
    }

    .directions-btn .btn-icon {
        font-size: 12px;
    }

    .directions-btn .btn-arrow {
        font-size: 12px;
    }

    .directions-btn .btn-text {
        font-size: 10px;
    }

    .contact-details-section {
        margin-top: 50px;
    }

    .contact-section-title {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-card {
        padding: 20px;
        border-radius: 12px;
    }

    .detail-icon {
        font-size: 28px;
    }

    .detail-text h4 {
        font-size: 14px;
    }

    .detail-text p {
        font-size: 13px;
    }
}

/* Extra Small Mobile - Still 2 columns for maps */
@media (max-width: 380px) {
    .maps-row {
        gap: 10px;
    }

    .map-card {
        padding: 12px 10px;
    }

    .location-header h3 {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .location-badge {
        font-size: 8px;
        padding: 4px 10px;
        margin-bottom: 6px;
    }

    .map-container iframe {
        height: 200px !important;
    }

    .directions-btn {
        padding: 8px 12px;
        font-size: 9px;
    }

    .directions-btn .btn-icon,
    .directions-btn .btn-arrow {
        font-size: 11px;
    }

    .directions-btn .btn-text {
        font-size: 9px;
    }
}

