/* Virtual Business Card Theme */

/* Font Face Declarations */
@font-face {
    font-family: 'Montreux Grotesk';
    src: url('/assets/svg/fonts/montreuxgrotesk-bold-webfont.woff2') format('woff2'),
         url('/assets/svg/fonts/montreuxgrotesk-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montreux Grotesk';
    src: url('/assets/svg/fonts/montreuxgrotesk-regular-webfont.woff2') format('woff2'),
         url('/assets/svg/fonts/montreuxgrotesk-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montreux Grotesk';
    src: url('/assets/svg/fonts/montreuxgrotesk-light-webfont.woff2') format('woff2'),
         url('/assets/svg/fonts/montreuxgrotesk-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Root variables for consistent theming */
:root {
    --primary-color: #104A98;
    --background-dark: #FFFCF1;
    --text-primary: #104A98;
    --text-secondary: rgba(16, 42, 97, 0.72);
    --accent-blue: #104A98;
    --font-primary: 'Epilogue', sans-serif;
    --font-heading: 'Caslon', 'Libre Baskerville', Georgia, serif;
    --border-radius: 24px;
}

/* Business Card Theme Specific Styles */
.theme-business-card {
    background: var(--primary-color);
    min-height: 100vh;
    font-family: var(--font-primary);
    color: #ffffff;
    position: relative;
    overflow: visible;
}

.theme-business-card .page-content {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.theme-business-card .business-card {
    background: #FFFCF1;
    border-radius: 32px;
    width: 100%;
    max-width: 420px;
    min-height: 620px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(16, 74, 152, 0.14);
    border: 1px solid rgba(16, 74, 152, 0.16);
}


/* Header Section */
.theme-business-card .card-header {
    margin-bottom: 30px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.theme-business-card .lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.theme-business-card .lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.07em;
    cursor: pointer;
    padding: 3px 5px;
    font-family: var(--font-primary);
    opacity: 0.45;
    transition: opacity 0.15s ease;
}

.theme-business-card .lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
    opacity: 1;
}

.theme-business-card .lang-btn:hover:not(.active) {
    opacity: 0.7;
}

.theme-business-card .lang-sep {
    color: var(--text-secondary);
    font-size: 11px;
    opacity: 0.3;
    pointer-events: none;
}

.theme-business-card .company-logo {
    height: 36px;
    width: auto;
}

/* Profile Image */
.theme-business-card .profile-image-section {
    margin-bottom: 20px;
}

.theme-business-card .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    object-fit: cover;
    display: block;
    border: none;
}

/* Profile Info */
.theme-business-card .profile-info {
    text-align: left;
    font-family: var(--font-primary);
}

.theme-business-card .display-name {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    line-height: 1.05;
    font-family: var(--font-heading);
}

.theme-business-card .job-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    font-family: var(--font-primary);
}

.theme-business-card .company-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

/* Section Divider */
.theme-business-card .diamond-accent {
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    margin: 18px 0;
}

/* Contact Details */
.theme-business-card .contact-details {
    margin: 20px 0;
    padding-top: 14px;
}

.theme-business-card .contact-item {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 5px;
    line-height: 1.4;
    text-align: left;
}

.theme-business-card .contact-item:last-child {
    margin-bottom: 5px;
}

.theme-business-card .country-code {
    color: var(--accent-orange);
    font-weight: 600;
    display: inline-block;
    width: 46px;
}

.theme-business-card .phone-group {
    margin-bottom: 5px;
}

.theme-business-card .phone-group a {
    display: block;
    word-break: break-word;
}

/* Address specific styling for line wrapping */
.theme-business-card #address-info {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.5;
    font-weight: 700;
}

.theme-business-card #address-link {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.theme-business-card #address-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Contact links styling */
.theme-business-card .contact-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: inherit;
}

.theme-business-card .contact-item a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Website */
.theme-business-card .website {
    margin: 20px 0 5px 0;
    text-align: left;
}

.theme-business-card #website-url {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
}

.theme-business-card #website-url:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Social Links */
.theme-business-card .review-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
}

.theme-business-card .review-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.theme-business-card .review-tripto {
    background: #00af87;
}

.theme-business-card .review-fb {
    background: #1877f2;
}

.theme-business-card .review-ig {
    background: radial-gradient(circle at 30% 30%, #feda75, #f58529 38%, #dd2a7b 62%, #8134af 100%);
}

.theme-business-card .review-icon i {
    font-size: 1rem;
}

.theme-business-card .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 5px 0;
    padding: 0;
    background: transparent !important;
}

/* Remove any potential backgrounds from social elements */
.theme-business-card .social-links *,
.theme-business-card .social-link *,
.theme-business-card .social-icon * {
    background: transparent !important;
    background-color: transparent !important;
    fill: #ffffff !important;
}

.theme-business-card .social-link {
    display: inline-block;
    transition: transform 0.2s ease;
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0 4px 0 -2px;
    box-shadow: none !important;
}

.theme-business-card .social-link:last-child {
    margin-right: 0;
}

.theme-business-card .social-link:hover {
    transform: scale(1.1);
}

.theme-business-card .social-icon {
    width: 24px;
    height: 24px;
    display: block;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Add to Contacts Button */
.theme-business-card .button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin: 18px 0 0 0;
    padding-bottom: 6px;
}

.theme-business-card .action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 220px;
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.theme-business-card .btn-primary {
    background: #244d9b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 32px rgba(15, 52, 107, 0.16);
}

.theme-business-card .btn-primary:hover,
.theme-business-card .btn-primary:focus {
    transform: translateY(-1px);
    background: #1e4487;
}

.theme-business-card .btn-secondary {
    background: #E1DFD4;
    color: #2f4f91;
    border: 1px solid #d0ccc1;
}

.theme-business-card .btn-secondary:hover,
.theme-business-card .btn-secondary:focus {
    transform: translateY(-1px);
    background: #d3d0c5;
}

/* Remove link buttons - they're not in the design */
.theme-business-card .links-section {
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .theme-business-card .page-content {
        padding: 20px 15px;
    }

    .theme-business-card .business-card {
        max-width: 100%;
        padding: 25px;
    }

    .theme-business-card .display-name {
        font-size: 24px;
    }

    .theme-business-card .job-title {
        font-size: 16px;
    }

    .theme-business-card .company-name {
        font-size: 20px;
    }

    .theme-business-card .profile-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 360px) {
    .theme-business-card .business-card {
        padding: 20px;
    }
}