/* Contact Page Specific Styles */

/* Page Hero */
.page-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(190, 3, 0, 0.9), rgba(160, 2, 0, 0.9)), 
                url('../assets/images/manufacture/IMG_4092.HEIC') center/cover;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Information */
.contact-info {
    padding: 6rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #be0300;
}

.contact-card.main-office {
    background: linear-gradient(135deg, #be0300, #a00200);
    color: white;
}

.contact-icon {
    margin-bottom: 2rem;
}

.contact-icon i {
    font-size: 4rem;
    color: #be0300;
}

.main-office .contact-icon i {
    color: white;
}

.contact-card h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 2rem;
}

.main-office h3 {
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(190, 3, 0, 0.05);
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    border: 1px solid rgba(190, 3, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background-color: rgba(190, 3, 0, 0.1);
    border-color: rgba(190, 3, 0, 0.3);
    transform: translateX(-5px);
}

.main-office .contact-detail {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-detail i {
    color: #be0300;
    width: 20px;
    flex-shrink: 0;
}

.main-office .contact-detail i {
    color: white;
}

/* Sales Manager Highlight */
.sales-manager-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
}

.manager-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #be0300;
}

.manager-icon {
    margin-bottom: 2rem;
}

.manager-icon i {
    font-size: 5rem;
    color: #be0300;
}

.manager-info h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
}

.manager-phone {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.manager-phone i {
    color: #be0300;
}

.manager-phone strong {
    color: #be0300;
    font-weight: 900;
    letter-spacing: 1px;
}

.manager-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form */
.contact-form-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.2rem;
    color: #666;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #be0300;
    box-shadow: 0 0 0 3px rgba(190, 3, 0, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #be0300;
    border-color: #be0300;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.privacy-link {
    color: #be0300;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    justify-self: center;
    min-width: 200px;
}

/* Map Section */
.map-section {
    padding: 6rem 0 0;
    background-color: white;
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    height: 450px;
    background-color: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #be0300;
}

.map-info {
    text-align: center;
    color: #666;
}

.map-info i {
    font-size: 4rem;
    color: #be0300;
    margin-bottom: 1rem;
}

.map-info h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 1rem;
}

.map-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.map-note {
    font-style: italic;
    color: #999;
    font-size: 1rem;
}

/* Working Hours */
.working-hours {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.hours-card {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-10px);
}

.hours-icon {
    margin-bottom: 2rem;
}

.hours-icon i {
    font-size: 3.5rem;
    color: #be0300;
}

.hours-card h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 2rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.hours-item.holiday {
    background-color: #ffe6e6;
}

.hours-item .day {
    font-weight: 500;
    color: #333;
}

.hours-item .time {
    font-weight: 600;
    color: #be0300;
}

.hours-item.holiday .time {
    color: #dc3545;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h4 {
    font-size: 1.2rem;
    color: #000;
    margin: 0;
}

.faq-question i {
    color: #be0300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .sales-manager-highlight {
        padding: 2rem;
    }
    
    .manager-card {
        padding: 3rem 2rem;
    }
    
    .manager-phone {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .form-wrapper {
        padding: 3rem 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-card {
        padding: 2rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon i {
        font-size: 3rem;
    }
    
    .manager-icon i {
        font-size: 4rem;
    }
    
    .manager-phone {
        font-size: 1.3rem;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .hours-card {
        padding: 1.5rem;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
}
