/**
 * Handwritten Logo Styles for Dr. Hamza Gemici
 * Medical Aesthetics Website
 */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Great+Vibes&family=Allura&display=swap');

.handwritten-logo {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.handwritten-logo:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-dr {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: -5px;
    font-family: 'Dancing Script', cursive;
}

.logo-name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(44, 90, 160, 0.1);
}

.logo-specialty {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent-color);
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    margin-top: -8px;
    opacity: 0.9;
}

/* Alternative elegant style */
.handwritten-logo.elegant {
    font-family: 'Great Vibes', cursive;
}

.handwritten-logo.elegant .logo-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    font-weight: 400;
}

.handwritten-logo.elegant .logo-dr {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
}

.handwritten-logo.elegant .logo-specialty {
    font-family: 'Dancing Script', cursive;
    font-size: 0.8rem;
}

/* Signature style with underline */
.logo-signature::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.handwritten-logo:hover .logo-signature::after {
    transform: scaleX(1);
}

/* Medical symbol accent */
.logo-medical-symbol {
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .handwritten-logo {
        font-size: 1.8rem;
    }

    .logo-dr {
        font-size: 0.9rem;
    }

    .logo-name {
        font-size: 2rem;
    }

    .logo-specialty {
        font-size: 0.75rem;
    }

    .handwritten-logo.elegant .logo-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .handwritten-logo {
        font-size: 1.6rem;
    }

    .logo-name {
        font-size: 1.8rem;
    }

    .logo-dr {
        font-size: 0.8rem;
    }

    .logo-specialty {
        font-size: 0.7rem;
        margin-top: -5px;
    }

    .handwritten-logo.elegant .logo-name {
        font-size: 2rem;
    }
}

/* Animation effects */
@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(44, 90, 160, 0.1);
    }
    50% {
        text-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
    }
}

.handwritten-logo:hover .logo-name {
    animation: logoGlow 2s ease-in-out infinite;
}

/* Professional medical styling */
.logo-professional {
    position: relative;
}

.logo-professional::before {
    content: '⚕️';
    position: absolute;
    top: -2px;
    left: -25px;
    font-size: 1.2rem;
    opacity: 0.6;
}

/* Handwritten underline effect */
.handwritten-underline {
    position: relative;
}

.handwritten-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: url("data:image/svg+xml,%3csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m0,10 q25,5 50,0 t50,0' stroke='%232c5aa0' stroke-width='2' fill='none'/%3e%3c/svg%3e") repeat-x;
    background-size: 20px 100%;
    opacity: 0.7;
}

/* Color variations */
.logo-variant-1 .logo-name {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-variant-2 .logo-name {
    color: #2d5aa0;
}

.logo-variant-2 .logo-dr {
    color: #1a365d;
}

.logo-variant-2 .logo-specialty {
    color: #e53e3e;
}