/* Digital Business Card Templates */

/* Base Card Styles */
.digital-card {
    width: 350px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.digital-card:hover {
    transform: scale(1.02);
}

/* Template 1: Modern Gradient */
.card-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-modern .logo-section {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.card-modern .logo-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.card-modern .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-modern .business-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-modern .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.card-modern .description {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Template 2: Classic Professional */
.card-classic {
    background: white;
    border: 3px solid #000;
    color: #000;
}

.card-classic .logo-section {
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 2px solid #000;
}

.card-classic .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.card-classic .business-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-classic .tagline {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card-classic .description {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

/* Template 3: Minimal Clean */
.card-minimal {
    background: #f8f9fa;
    color: #333;
}

.card-minimal .logo-section {
    text-align: center;
    padding: 2rem 1rem;
}

.card-minimal .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.card-minimal .business-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-minimal .tagline {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.card-minimal .description {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

/* Template 4: Creative Vibrant */
.card-creative {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-creative .logo-section {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.card-creative .logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.card-creative .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-creative .business-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-creative .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.card-creative .description {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Template 5: Elegant Dark */
.card-elegant {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.card-elegant .logo-section {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.card-elegant .logo-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.card-elegant .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.card-elegant .business-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.card-elegant .tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.card-elegant .description {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.4;
}

/* Template 6: Nature Green */
.card-nature {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.card-nature .logo-section {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.card-nature .logo-section::before {
    content: '🌱';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.card-nature .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-nature .business-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-nature .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.card-nature .description {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Common Contact Section Styles */
.contact-section {
    padding: 1rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-item i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1rem;
}

/* Social Media Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-item {
    color: white;
    text-align: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-item:hover {
    opacity: 0.8;
}

.nav-item i {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* PDF Download Button */
.pdf-download {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pdf-download:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .digital-card {
        width: 300px;
        height: 500px;
    }
    
    .contact-section {
        padding: 1rem;
    }
    
    .social-section {
        padding: 0.5rem 1rem;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
}
