/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(128, 0, 255, 0.5); }
}
.float-animation {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.7));
}
.glow-animation {
    animation: glow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5),
               0 0 40px rgba(128, 0, 255, 0.3);
}
/* Gradient text animation */
.gradient-text {
    background: linear-gradient(45deg, #00ffff, #8000ff, #00ffff);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 
                 0 0 20px rgba(128, 0, 255, 0.5);
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.9; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111827;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #8000ff);
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.8);
    animation: scrollGlow 2s ease-in-out infinite alternate;
}

@keyframes scrollGlow {
    0% { box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.8); }
    100% { box-shadow: inset 0 0 15px rgba(128, 0, 255, 0.8); }
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00e6e6, #7300e6);
}

/* Image hover effects */
/* Video container styles */
.video-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-container:hover {
  transform: scale(1.02);
}

.video-container .hover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  background: #000;
}

.video-container .hover-video::-webkit-media-controls {
  display: none !important;
}

/* Touch feedback for mobile */
.video-container:active {
  opacity: 0.9;
}
.project-image {
    transition: all 0.3s ease;
    filter: grayscale(30%) brightness(0.8);
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,255,255,0.2) 0%, rgba(128,0,255,0.2) 100%);
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.project-image:hover::before {
    opacity: 1;
}
.project-image:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
/* Form styling */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.form-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.3),
               0 0 20px rgba(0, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    animation: inputFocus 0.5s ease-out;
}

@keyframes inputFocus {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
}
/* Form notification styles */
.form-notification {
    animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    }
}

/* New Neon Border Effect */
.neon-border {
    position: relative;
    border: 1px solid transparent;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #00ffff, #8000ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderPulse 3s ease infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Hover Effects */
.hover-neon {
    transition: all 0.3s ease;
}

.hover-neon:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8),
                 0 0 20px rgba(128, 0, 255, 0.6);
    transform: translateY(-2px);
}

/* Button Effects */
.btn-neon {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-neon:hover::before {
    left: 100%;
}
