/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Images Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: backgroundSlideshow 20s infinite;
}

.bg-1 {
    background-image: url('../images/background/bg_studio_setup_1.jpg');
    animation-delay: 0s;
}

.bg-2 {
    background-image: url('../images/background/bg_lighting_equipment.jpg');
    animation-delay: 5s;
}

.bg-3 {
    background-image: url('../images/background/bg_film_lighting.jpg');
    animation-delay: 10s;
}

.bg-4 {
    background-image: url('../images/background/bg_fb1.jpg');
    animation-delay: 15s;
}

@keyframes backgroundSlideshow {
    0%, 20% { opacity: 0.3; }
    25%, 45% { opacity: 0.6; }
    50%, 100% { opacity: 0; }
}

/* Overlay for better text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(30, 30, 30, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: -1;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    max-width: 1000px;
}

/* Profile Section */
.profile-section {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
}

.profile-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.1);
}

/* Links Section */
.links-section {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.links-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(255, 204, 0, 0.2));
    border-color: rgba(225, 48, 108, 0.4);
}

.social-link.imdb:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: rgba(245, 197, 24, 0.4);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.contact-container {
    text-align: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-email:hover::before {
    left: 100%;
}

.contact-email:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem;
    }
    
    .hero-section {
        margin-bottom: 2rem;
    }
    
    .main-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .profile-image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .contact-email {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .links-section,
    .profile-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .contact-email {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .social-link,
    .contact-email {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.8);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .bg-image {
        animation: none;
        opacity: 0.4;
    }
    
    .bg-1 {
        opacity: 0.4;
    }
    
    .bg-2, .bg-3, .bg-4 {
        opacity: 0;
    }
    
    .hero-section,
    .profile-section,
    .links-section,
    .contact-section {
        animation: none;
    }
    
    .social-link::before,
    .contact-email::before {
        display: none;
    }
    
    .profile-image-wrapper:hover,
    .social-link:hover,
    .contact-email:hover {
        transform: none;
    }
}