/*
 * Yewodze Enterprise - Enhanced Contact Page Styles
 * Theme: Green, Yellow, and White
 */

/* Contact Header */
.contact-header {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95) 0%, rgba(46, 139, 87, 0.85) 100%), url('../images/soap-pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: float 15s infinite alternate;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation: float 12s infinite alternate-reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation: float 10s infinite alternate;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    animation: float 8s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

.contact-header .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInDown 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
    z-index: 1;
}

.contact-header .page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #ffd700, rgba(255, 215, 0, 0.5));
    border-radius: 2px;
}

.contact-header .lead {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Contact Information Section */
.contact-info-section {
    padding: 5rem 0;
    position: relative;
    background-color: #fff;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e8b57' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInLeft 1.2s ease-out;
}

.contact-info-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: #2e8b57;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background-color: #2e8b57;
    color: #fff;
    transform: rotateY(180deg);
}

.contact-text h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 0.5rem;
}

.contact-text p {
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-text a {
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: #2e8b57;
}

/* Contact Form */
.contact-form-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInRight 1.2s ease-out;
}

.contact-form-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #2e8b57;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2e8b57;
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
    outline: none;
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-select:focus {
    border-color: #2e8b57;
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
    outline: none;
}

.submit-btn {
    background-color: #2e8b57;
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    background-color: #1a5632;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
}

.map-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 1.2s ease-out;
}

.map-placeholder {
    background: linear-gradient(135deg, #2e8b57 0%, #1a5632 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.map-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Wholesale Section */
.wholesale-section {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
}

.wholesale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e8b57' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.wholesale-content {
    position: relative;
    z-index: 1;
    animation: fadeInLeft 1.2s ease-out;
}

.wholesale-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.wholesale-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.wholesale-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.wholesale-benefits {
    margin-bottom: 2rem;
}

.wholesale-benefits li {
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.wholesale-benefits li i {
    color: #2e8b57;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.wholesale-btn {
    background-color: #2e8b57;
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.wholesale-btn i {
    margin-right: 0.75rem;
}

.wholesale-btn:hover {
    background-color: #1a5632;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.wholesale-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 1.2s ease-out;
}

.wholesale-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.wholesale-image:hover img {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-header {
        padding: 5rem 0;
    }
    
    .contact-header .page-title {
        font-size: 2.75rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info-card h2,
    .contact-form-card h2,
    .wholesale-content h2,
    .map-section h2 {
        font-size: 2rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .contact-header .page-title {
        font-size: 2.25rem;
    }
    
    .contact-header .lead {
        font-size: 1.15rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .wholesale-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
