@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'D-DIN';
    src: url('D-DIN.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #005288;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    background-color: #000000;
    color: #FFFFFF;
}

/* Video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-background.loaded {
    opacity: 0.7;
}

/* Ensure main content stays above video */
main {
    position: relative;
    z-index: 1;
}

/* Section styles */
section {
    position: relative;
    z-index: 1;
}

/* Additional custom styles */
.transition {
    transition: all 0.3s ease;
}

/* Typing animation */
@keyframes blink {
    50% { border-color: transparent }
}

.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.8),
        0 0 80px rgba(255, 255, 255, 0.4),
        0 0 120px rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.hero-text {
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.8),
        0 0 80px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.section-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Vision section styles */
.vision-text {
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    line-height: 1.6;
}

.vision-card {
    background: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.vision-card h3 {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.vision-card p {
    color: #FFFFFF;
    opacity: 0.9;
}

/* Experience section styles */
.experience-section {
    background: linear-gradient(to bottom, #000000, #0a0a0a);
    min-height: 100vh;
    overflow: hidden;
}

.experience-container {
    position: relative;
    padding: 100px 0;
}

.experience-item {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-logo {
    width: 500px;
    height: 500px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.experience-logo:hover {
    filter: brightness(1) invert(0);
}

.experience-details {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.experience-details.visible {
    opacity: 1;
    transform: translateX(0);
}

.experience-year {
    font-size: 1.5rem;
    color: #005288;
    font-weight: bold;
    margin-bottom: 1rem;
}

.experience-role {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #FFFFFF 0%, #E0E0E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-description {
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.experience-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.experience-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #005288, transparent);
}

/* Hero text styling */
.hero-text {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #4a90e2, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(74, 144, 226, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    margin-top: 1rem;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(74, 144, 226, 0.3);
    }
    to {
        text-shadow: 
            0 0 25px rgba(255, 255, 255, 0.5),
            0 0 50px rgba(74, 144, 226, 0.5);
    }
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .hero-text {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Footer styles */
footer.footer-dark {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

footer .footer-brand {
    color: #FFFFFF !important;
    font-weight: 700;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2) !important;
}

footer .footer-link {
    color: #FFFFFF !important;
    opacity: 0.9;
    transition: all 0.3s ease !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

footer .footer-link:hover {
    color: #005288 !important;
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 
        0 0 20px rgba(0, 82, 136, 0.8),
        0 0 40px rgba(0, 82, 136, 0.4) !important;
}

footer .footer-copyright {
    color: #FFFFFF !important;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
