.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}
.animated-title {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s forwards;
    animation-delay: 0.3s;
    font-size: 3.5rem;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
}

.animated-description {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s forwards;
    animation-delay: 0.6s;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 500px;
}

.profile-container {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1s forwards;
    animation-delay: 0.9s;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 250px;
    height: 250px;
    max-width: 80vw;
    max-height: 80vw;
    margin: 1rem auto;
}

.profile-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-container:hover .image-overlay {
    opacity: 1;
}
@media (max-width: 768px) {
    .hero-content {
        padding-top: 80px;
        flex-direction: column-reverse;
    }

    .text-section {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .image-section {
        width: 100%;
        margin-bottom: 2rem;
    }

    .animated-title {
        font-size: 2.2rem;
        animation: slideInUp 1s forwards;
    }

    .animated-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 80%;
        margin: 0.5rem 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .profile-container {
        width: 200px;
        height: 200px;
    }

    .animated-title {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }
}

/* Ajustări pentru orientare portrait */
@media (max-height: 600px) and (orientation: portrait) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 0;
    }

    .profile-container {
        width: 150px;
        height: 150px;
    }
}

/* Dezactivează animațiile hover pe mobile */
@media (hover: none) {
    .profile-container:hover .profile-img {
        transform: none;
    }
    
    .profile-container:hover {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover effects for buttons */
.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 1rem 1rem 0 0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:nth-child(1) {
    background: #2a2a2a;
    color: white;
}

.cta-btn:nth-child(2) {
    background: #ffffff;
    color: #2a2a2a;
    border: 2px solid #2a2a2a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .text-section,
    .image-section {
        width: 100%;
    }

    .animated-title {
        font-size: 2.5rem;
        animation: slideInUp 1s forwards;
    }

    .profile-container {
        margin-top: 2rem;
        animation: slideInUp 1s forwards;
    }
}
.nav-link:hover {
    filter: drop-shadow(0 0 5px rgba(255, 77, 77, 0.3));
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}

/* Animatie de scalare la click */
.nav-link:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

/* Efect de float pentru logo */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.logo-container:hover .logo {
    animation: float 2s ease-in-out infinite;
}
.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.4) 100%);
    z-index: 2;
    border-radius: 50%;
}

/* Efect hover modificat */
.profile-container:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
}

.profile-container:hover .profile-img {
    transform: scale(1.05);
}

/* Adaugă o rază de lumină */
.profile-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffffff, #f8f8f8);
    z-index: 0;
    border-radius: 50%;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.contact-button:active {
    transform: translateY(1px) scale(0.98);
}

/* Umbră interioară pentru contrast */
.email-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
    pointer-events: none;
}

/* Gradient animat pentru dark mode */
body.dark-mode .phone-button {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    background-size: 200% 200%;
}
