/* Modern Contact Page Styles */

/* Hero Section Updates */
.hero-text.contact-hero {
    align-items: center;
    text-align: center;
    padding: 60px 20px 40px 20px;
}

.hero-text.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 20px 0;
    background: #1a1a1a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

/* Contact Hero Section */
.contact-hero {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
    position: relative;
}

.contact-icon {
    margin-bottom: 30px;
    opacity: 0.8;
}

.contact-icon svg {
    width: 80px;
    height: 80px;
    color: #2d5016;
    transition: transform 0.3s ease;
}

.contact-hero:hover .contact-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.contact-hero h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.contact-description {
    font-size: 16pt;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 auto 40px auto;
    max-width: 600px;
}

/* Email Contact Card */
.email-contact-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 40px;
    margin: 0 auto 50px auto;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
                0 8px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-origin: center;
}

.email-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-contact-card:hover::before {
    opacity: 1;
}

.email-contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15),
                0 0 40px rgba(102, 126, 234, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
}

.email-icon {
    background: linear-gradient(135deg, #2d5016 0%, #3a6b1e 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-contact-card:hover .email-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.4);
}

.email-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.email-content {
    flex: 1;
    text-align: left;
}

.email-content h3 {
    font-size: 18pt;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.email-content p {
    font-size: 16pt;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 25px 0;
}

/* Email Button */
.email-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #b87333 0%, #cd853f 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transform-origin: center;
    z-index: 10;
}

.email-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.email-button:hover::before {
    left: 100%;
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.email-button:hover .button-icon {
    transform: translateX(3px);
}

/* Magnetic Card Effect */
.magnetic-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.magnetic-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.magnetic-card:hover::after {
    width: 300px;
    height: 300px;
}

.magnetic-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.magnetic-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text.contact-hero {
        padding: 40px 20px 30px 20px;
    }
    
    .contact-hero {
        margin: 0 auto 40px auto;
    }
    
    .email-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }
    
    .email-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px auto;
    }
    
    .email-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .email-content {
        text-align: center;
        flex: 1;
    }
    
    .email-content h3 {
        font-size: 16pt !important;
        margin-bottom: 8px;
    }
    
    .email-content p {
        font-size: 16pt !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .email-button {
        padding: 12px 24px;
        font-size: 14px;
        margin: 0 auto;
        display: inline-flex;
    }
    
    .cta-buttons {
        margin-top: 40px;
        text-align: center;
    }
    
    .store-badge {
        max-width: 200px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-text.contact-hero {
        padding: 30px 10px 15px 10px;
    }
    
    .contact-hero {
        margin: 0 auto 30px auto;
        padding: 0 10px;
    }
    
    .contact-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .contact-hero h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .contact-description {
        font-size: 15pt !important;
        margin: 0 auto 25px auto;
        padding: 0 5px;
    }
    
    .email-contact-card {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .email-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .email-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .email-content h3 {
        font-size: 15pt !important;
        margin-bottom: 6px;
    }
    
    .email-content p {
        font-size: 15pt !important;
        margin-bottom: 15px;
        padding: 0 5px;
    }
    
    .email-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .cta-buttons {
        margin-top: 30px;
    }
    
    .store-badge {
        max-width: 180px;
    }
}