/* Contact Page Specific Styles */

.contact-main {
    padding: 2rem 0;
    background-color: #F8F4E3;
    min-height: calc(100vh - 200px);
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.08);
}

.info-section h3 {
    color: #1C1C1C;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: #EBC42A;
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: rgba(235, 196, 42, 0.05);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: #EBC42A;
    margin-top: 0.25rem;
    min-width: 24px;
}

.info-item h4 {
    color: #1C1C1C;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}



/* Contact Form and Map */
.contact-form-map {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.08);
}

.contact-form-section h3 {
    color: #1C1C1C;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: #EBC42A;
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #1C1C1C;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #EBC42A;
    box-shadow: 0 0 0 4px rgba(235, 196, 42, 0.15);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Input placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-weight: 400;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #ccc;
}

/* Select dropdown styling */
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Remove default browser dropdown arrow */
.form-group select::-ms-expand {
    display: none;
}

/* Hover effects for inputs */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    background-color: #EBC42A;
    color: #1C1C1C;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #d4b023;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 196, 42, 0.3);
}

.submit-btn i {
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.08);
}

.map-section h3 {
    color: #1C1C1C;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: #EBC42A;
    border-radius: 2px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(28, 28, 28, 0.1);
}

.map-info {
    background-color: rgba(235, 196, 42, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.map-info p {
    color: #1C1C1C;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-info i {
    color: #EBC42A;
}

/* Podium Mall Ankara text styling */
.info-item p strong,
.map-info p strong {
    font-weight: 500;
    color: #1C1C1C;
}

/* Additional Info */
.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.12);
}

.info-card i {
    font-size: 3rem;
    color: #EBC42A;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: #1C1C1C;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        gap: 2rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
    }
    
    .faq-section {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .contact-main {
        padding: 1rem 0;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .info-section,
    .contact-form-section,
    .map-section {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
    }
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.08);
}

.faq-section h2 {
    color: #1C1C1C;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #EBC42A;
    border-radius: 2px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #EBC42A;
    box-shadow: 0 3px 15px rgba(235, 196, 42, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #F8F9FA;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(235, 196, 42, 0.05);
}

.faq-question h4 {
    color: #1C1C1C;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #EBC42A;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Animation for info items */
.info-item {
    animation: fadeInLeft 0.6s ease forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #FF6B6B;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #4ECDC4;
}

/* Loading state for submit button */
.submit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #1C1C1C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
