/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: 100vh;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-x: hidden;
    padding-top: 2rem;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

/* Profile Image */
.profile-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    /* Glass effect border */
    border: 2px solid transparent;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(255, 255, 255, 0.25) 100%
    );
    background-clip: padding-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.profile-image-container:hover {
    transform: scale(1.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 12px 48px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        rgba(255, 255, 255, 0.35) 100%
    );
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.caption {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.contact-item {
    display: flex;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #333333;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
}

.phone-number {
    white-space: nowrap;
}

/* Social Links Container */
.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 0.75rem 0;
}

.social-links:hover {
    transform: translateY(-2px);
}

.facebook-link {
    background-color: rgba(24, 119, 242, 0.1);
}

.facebook-link:hover {
    background-color: rgba(24, 119, 242, 0.2);
    transform: scale(1.1);
}

.linkedin-link {
    background-color: rgba(0, 119, 181, 0.1);
}

.linkedin-link:hover {
    background-color: rgba(0, 119, 181, 0.2);
    transform: scale(1.1);
}

/* Social Icons - Force correct sizing */
.social-icon {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: block !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

/* Force SVG sizing */
.social-icon svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Force container sizing */
.social-link {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.facebook-icon {
    fill: #1877f2;
}

.linkedin-icon {
    fill: #0077b5;
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 1.2rem;
}

/* Navigation */
.navigation {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
    
    .profile-image-container {
        width: 220px;
        height: 220px;
    }
    
    .name {
        font-size: 2.8rem;
    }
    
    .caption {
        font-size: 1.4rem;
    }
    
    .contact-info {
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
    
    .contact-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .nav-link {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
        min-width: 140px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
        padding: 2rem 1.5rem;
        gap: 2.5rem;
    }
    
    .profile-image-container {
        width: 240px;
        height: 240px;
    }
    
    .name {
        font-size: 3.2rem;
    }
    
    .caption {
        font-size: 1.5rem;
    }
    
    .contact-info {
        gap: 2rem;
        flex-wrap: nowrap;
    }
    
    .contact-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* Medium mobile and small tablet optimizations */
@media (max-width: 768px) and (min-width: 481px) {
    .container {
        padding: 0.75rem 2rem;
        padding-top: 1.75rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .name {
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .caption {
        font-size: 1.2rem;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .contact-info {
        padding: 0 0.5rem;
        justify-content: center;
    }
    
    .social-links {
        padding: 0 0.5rem;
        justify-content: center;
    }
    
    .navigation {
        padding: 0 0.5rem;
        justify-content: center;
    }
    
    .contact-link {
        margin: 0 0.25rem;
    }
    
    .nav-link {
        margin: 0 0.25rem;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem 2rem;
        gap: 1rem;
        padding-top: 1.5rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 1.8rem;
        padding: 0 1rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .caption {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0 1rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .contact-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 90px;
        margin: 0 0.5rem;
        flex-shrink: 0;
    }
    
    .social-links {
        gap: 0.75rem;
        margin: 0.5rem 0;
        padding: 0 1rem;
        justify-content: center;
    }
    
    .contact-info {
        gap: 0.5rem;
        margin-top: 0.25rem;
        padding: 0 1rem;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .navigation {
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .profile-content {
        max-width: 100%;
        padding: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Phone Dropdown Styles */
.phone-dropdown {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.phone-dropdown a {
    cursor: pointer;
}

.phone-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #555 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1) !important;
}

/* Focus styles for keyboard navigation */
.contact-link:focus,
.nav-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
