/*
 * WATER WRITING ON GLASS EFFECT
 * Like writing with water on clean glass - PURE water letters only
 */

/* ============================================
   WATER WRITING - NAVIGATION LOGO
   ============================================ */

/* Override all nav-logo styles - pure water text only */
.nav-logo.glass-title.studio-name {
    /* REMOVE ALL BACKGROUNDS */
    background: none !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    /* REMOVE ALL BORDERS AND BOXES */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    
    /* REMOVE ALL PADDING/MARGIN */
    padding: 0 !important;
    margin: 0 !important;
    
    /* Same color as "Capturing Moments" tagline */
    color: rgba(212, 175, 55, 0.9) !important;
    
    /* Remove gradient - use solid color like tagline */
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    
    /* Simple water glow - NO blur */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(212, 175, 55, 0.3);
    
    /* NO filter blur */
    filter: none !important;
    
    /* Keep display inline */
    display: inline-block;
}

/* Simple glow on hover - NO blur, NO box */
.nav-logo.glass-title.studio-name:hover {
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
    filter: none !important;
}

/* Large glass title for hero sections (if needed later) */
.glass-title.studio-name:not(.nav-logo) {
    /* Frosted glass background */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    /* Glass border with subtle glow */
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 0 60px rgba(255, 255, 255, 0.05),
        inset 20px 20px 60px rgba(255, 255, 255, 0.02);
    
    /* Smooth rounded corners */
    border-radius: 20px;
    
    /* Padding for glass container */
    padding: 2rem 3rem;
    
    /* Text styling */
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    
    /* Animation */
    animation: glassFloatIn 1.5s ease-out forwards, glassShimmer 6s ease-in-out infinite;
    
    /* Transform for 3D effect */
    transform-style: preserve-3d;
    perspective: 1000px;
    
    /* Initial state */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

/* Subtle gold/white gradient overlay (like MacBook) */
.glass-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(212, 175, 55, 0.05) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: inherit;
    pointer-events: none;
    animation: glassGradientShift 8s ease-in-out infinite;
}

/* Ambient light reflection */
.glass-title::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    animation: glassLightPulse 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}

/* Gold text with glass effect */
.glass-title .gold-text {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(212, 175, 55, 0.95) 50%,
        rgba(255, 223, 127, 0.9) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: goldShimmer 3s ease-in-out infinite;
}

/* White text with subtle glow */
.glass-title .white-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4),
        2px 2px 6px rgba(0, 0, 0, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Float in animation (MacBook style) */
@keyframes glassFloatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.92);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        filter: blur(0px);
    }
    80% {
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Subtle shimmer effect */
@keyframes glassShimmer {
    0%, 100% {
        box-shadow: 
            0 8px 32px 0 rgba(31, 38, 135, 0.15),
            inset 0 0 60px rgba(255, 255, 255, 0.05),
            inset 20px 20px 60px rgba(255, 255, 255, 0.02);
    }
    50% {
        box-shadow: 
            0 8px 32px 0 rgba(31, 38, 135, 0.25),
            inset 0 0 80px rgba(255, 255, 255, 0.08),
            inset 20px 20px 80px rgba(255, 255, 255, 0.04);
    }
}

/* Gradient shift animation */
@keyframes glassGradientShift {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0%) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateX(10%) rotate(2deg);
    }
}

/* Light pulse effect */
@keyframes glassLightPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1) rotate(180deg);
    }
}

/* Gold shimmer animation */
@keyframes goldShimmer {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8)) brightness(1.1);
    }
}

/* ============================================
   INTERACTIVE EFFECTS
   ============================================ */

.glass-title:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.005);
    transition: all 0.4s ease;
}

.glass-title:hover::before {
    opacity: 1.2;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .glass-title {
        padding: 1.5rem 2rem;
        border-radius: 15px;
        backdrop-filter: blur(15px) saturate(160%);
        -webkit-backdrop-filter: blur(15px) saturate(160%);
    }
}

@media (max-width: 480px) {
    .glass-title {
        padding: 1rem 1.5rem;
        border-radius: 12px;
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
    }
}

/* ============================================
   ALTERNATIVE STYLES (Optional Variants)
   ============================================ */

/* Darker glass variant */
.glass-title-dark {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Lighter glass variant */
.glass-title-light {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Minimal glass (less pronounced effect) */
.glass-title-minimal {
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Intense glass (more pronounced effect) */
.glass-title-intense {
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 2px solid rgba(255, 255, 255, 0.25);
}
