/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background: linear-gradient(135deg, #e8d5ff 0%, #d4b3ff 50%, #c299ff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.banner-section {
    position: relative;
    height: 150px;
    background-image: url('assets/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 30px 30px;
    margin-bottom: 20px;
}

.content-section {
    padding: 0 25px 40px 25px;
}

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

/* Profile section */
.profile-section {
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
}

/* Share Button */
.share-button {
    position: absolute;
    top: 160px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

.share-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.share-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6366f1;
}

/* Profile Section */
.profile-section {
    margin-bottom: 30px;
    position: relative;
    margin-top: -50px;
    z-index: 2;
}

.profile-image {
    margin-bottom: 20px;
}

.avatar {
    width: 114px;
    height: 104px;
    border-radius: 15%;
    object-fit: cover;
    background-color: white;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(169, 0, 55, 0.3);
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.instagram-icon {
    background-color: #b92e34;
    /* background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
    color: white; */
}

.tiktok-icon {
    background-color: #b92e34;
}

.youtube-icon {
    background-color: #b92e34;
}

.social-icon i {
    font-size: 18px;
}

.social-icon-svg {
    width: 18px;
    height: 18px;
}

/* Links Section */
.links-section {
    margin-bottom: 40px;
}

.link-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 12px;
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.link-button.phone {
    background-color: #fbd627;
    /* background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%); */
}

.link-button.email {
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
}

.link-button.website {
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
}

.link-button.address {
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
    padding: 16px 20px;
    text-align: left;
    cursor: default;
}

.address-content {
    display: flex;
    align-items: flex-start;
}

.address-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
    margin-right: 12px;
}

.link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 12px;
}

.address-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    /* filter: brightness(0) invert(1); */
}

.address-text {
    flex: 1;
}

.address-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 6px;
}

.address-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
}

/* Contact Section */
.email-section {
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
    padding: 30px 25px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.email-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.775rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 20px;
}

.subscribe-button {
    background: #1f2937;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.subscribe-button:hover {
    background: #111827;
    color: white;
    text-decoration: none;
}

/* Save Phone Button */
.save-phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #b92e34;
    background-image: linear-gradient(326deg, #b92e34 0%, #3d0c02 74%);
    color: white;
    border: 2px solid #ffd700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.save-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: #ffed4e;
}

.save-phone-btn:active {
    transform: scale(0.95);
    background-image: linear-gradient(326deg, #d63447 0%, #4a0e03 74%);
}

/* Save confirmation animation */
.save-phone-btn.saved {
    background-color: #27ae60;
    background-image: linear-gradient(326deg, #27ae60 0%, #1e8449 74%);
    border-color: #2ecc71;
    animation: saveSuccess 0.6s ease;
}

@keyframes saveSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Footer */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 400;
    padding-top: 20px;
    border-top: 1px solid rgba(169, 0, 55, 0.1);
}

.footer p {
    font-size: 0.8rem;
    color: #95a5a6;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .company-name {
        font-size: 1.6rem;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .link-item {
        padding: 16px 18px;
    }
    
    .link-text {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .contact-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .contact-name {
        font-size: 1.1rem;
    }
    
    .contact-title, .contact-company {
        font-size: 0.85rem;
    }
    
    .contact-cards {
        gap: 10px;
    }
    
    .contact-card {
        padding: 10px 12px;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
        font-size: 1rem;
    }
    
    .card-label {
        font-size: 0.7rem;
    }
    
    .card-value {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 25px 15px;
    }
    
    .company-name {
        font-size: 1.4rem;
    }
    
    .link-item {
        padding: 14px 16px;
    }
}

/* Dark mode support - maintaining white theme with red accents */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    }
    
    .container {
        background: #ffffff;
        color: #333;
        box-shadow: 0 20px 40px rgba(169, 0, 55, 0.15);
    }
    
    .company-name {
        color: #2c3e50;
    }
    
    .tagline {
        color: #7f8c8d;
    }
    
    .link-item {
        background: #ffffff;
        color: #333;
        border-color: rgba(169, 0, 55, 0.2);
    }
    
    .footer {
        border-top-color: rgba(169, 0, 55, 0.1);
    }
    
    .footer p {
        color: #95a5a6;
    }
}