/* Virtual Business Card Theme - Arts & Melon Style */

/* 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: #B84F3E;
    --background-dark: #2c2c2c;
    --background-darker: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-orange: #B84F3E;
    --font-primary: 'Montreux Grotesk', sans-serif;
    --border-radius: 8px;
}

/* Business Card Theme Specific Styles */
.theme-business-card {
    background: var(--background-darker);
    min-height: 100vh;
    font-family: var(--font-primary);
    color: var(--text-primary);
}

.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;
}

.theme-business-card .business-card {
    background: var(--background-dark) url('/assets/svg/Landing Page_Background.webp') center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0;
    width: 100%;
    max-width: 380px;
    min-height: 600px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Header Section */
.theme-business-card .card-header {
    margin-bottom: 30px;
    text-align: left;
}

.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: 0;
    object-fit: cover;
    display: block;
    border: none;
}

/* Profile Info */
.theme-business-card .profile-info {
    text-align: left;
}

.theme-business-card .display-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.theme-business-card .job-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.theme-business-card .company-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Star Accent */
.theme-business-card .diamond-accent {
    width: 18px;
    height: 18px;
    background: url('/assets/svg/Star Icon.svg') no-repeat center center;
    background-size: contain;
    margin: 8px 0;
}

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

.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;
}

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

/* 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 .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 .add-contact-btn {
    margin: 6.25px 0 0 0;
}

.theme-business-card .contact-button {
    background: var(--accent-orange);
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.theme-business-card .contact-button:hover {
    background: #a0442d;
    transform: translateY(-1px);
}

/* 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;
    }
}