@import url(/css/config.css);

/* contact */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.125rem 1.25rem;
}
  
.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.625rem;
    font-size: 2rem;
}
  
.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.125rem;
    height: 0.125rem;
    background-color: var(--secondary);
}
  
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    animation: fadeIn 1s ease-out;
}
  
.contact-form {
    flex: 1;
    min-width: 18.75rem;
    padding: 2.5rem;
    background-color: var(--primary);
    border-radius: 0.625rem;
    box-shadow: 0 0 1rem rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
  
.contact-form:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(240, 88, 126, 0.1);
}
  
.map-container {
    flex: 1;
    min-width: 18.75rem;
    min-height: 31.25rem;
    border-radius: 0.625rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 1rem rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
  
.map-container:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(240, 88, 126, 0.1);
}
  
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
  
.form-title {
    margin-bottom: 1.875rem;
    color: var(--dark);
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.625rem;
}
  
.form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0.125rem;
    background-color: var(--secondary);
    transition: width 0.5s ease;
    transform: translateX(-50%);
}
  
.contact-form:hover .form-title:after {
    width: 3.125rem;
}
  
.form-group {
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateX(-0.625rem);
    animation: fadeInLeft 0.5s forwards;
}
  
.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.4s; }
.form-group:nth-child(3) { animation-delay: 0.6s; }
.form-group:nth-child(4) { animation-delay: 0.8s; }
  
label {
    display: block;
    margin-bottom: 0.3125rem;
    font-weight: bold;
    color: #555;
}
  
input, textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 0.0625rem solid #ddd;
    border-radius: 1.875rem;
    font-size: 0.9375rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--light);
}
  
input:focus, textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0.3125rem rgba(240, 88, 126, 0.3);
    outline: none;
}
  
textarea {
    height: 7.5rem;
    resize: vertical;
    border-radius: 1.25rem;
}
  
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1.875rem;
    opacity: 0;
    animation: fadeIn 0.5s forwards 1s;
}
  
.submit-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.875rem;
    font-size: 0.9375rem;
    border-radius: 1.875rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0.3125rem 0.625rem rgba(240, 88, 126, 0.2);
}
  
.submit-btn:hover {
    background-color: var(--secondary-dark);
    transform: scale(1.05);
}
  
.submit-btn:active {
    transform: scale(0.95);
}
  
.submit-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.3125rem;
    height: 0.3125rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}
  
.submit-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}
  
/* Contact info section */
.contact-info {
    margin-bottom: 1.875rem;
}
  
.contact-info p {
    margin-bottom: 0.625rem;
    color: #666;
    display: flex;
    align-items: center;
}
  
.contact-info .icon {
    margin-right: 0.625rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}
  
/* Responsive Styles */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
    
    .map-container {
        min-height: 250px;
    }
    .map-container iframe {
        width: 100%;
        height: 250px;
    }
    
    .contact-form {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }
}
  
@media (max-width: 576px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .form-title {
        font-size: 18px;
    }
    .contact-info p{
        font-size: 12px;
    }
    
    input, textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.875rem;
    }
    
    .submit-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.875rem;
    }
}