
/* RUACH Tech & Media – Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
/* Service page specific animations */
@keyframes particles {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-1000px) translateX(500px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 160, 79, 0.3); }
    50% { box-shadow: 0 0 40px rgba(200, 160, 79, 0.6); }
}

.glass-card {
    backdrop-filter: blur(20px);
    background: rgba(13, 13, 14, 0.7);
    border: 1px solid rgba(200, 160, 79, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
::-webkit-scrollbar-track {
    background: #0d0d0e;
}
::-webkit-scrollbar-thumb {
    background: #c8a04f;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b89440;
}

/* Timeline Connector (for about page) */
.timeline-connector {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c8a04f, transparent);
    z-index: 1;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    border: 4px solid #0d0d0e;
    background: #c8a04f;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}

/* Pillar Card Hover */
.pillar-card:hover .pillar-icon {
    transform: rotateY(180deg) scale(1.1);
    transition: transform 0.6s ease;
}

/* Leader Card */
.leader-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 160, 79, 0.2);
    transition: all 0.4s ease;
}
.leader-card:hover {
    border-color: #c8a04f;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(200, 160, 79, 0.15);
}

/* Value Item Hover Effect */
.value-item {
    position: relative;
    overflow: hidden;
}
.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 160, 79, 0.1), transparent);
    transition: left 0.7s ease;
}
.value-item:hover::before {
    left: 100%;
}
/* Global Styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Beam Animation */
.beam {
    animation: beam 8s linear infinite;
}

/* Service Cards */
.service-card {
    @apply bg-charcoal/50 p-8 rounded-3xl border border-softgray/10 hover:border-gold/50 transition-all duration-500 hover:scale-[1.02] hover:shadow-2xl hover:shadow-gold/20;
}
.service-card .card-icon {
    @apply w-16 h-16 bg-gold/10 rounded-2xl flex items-center justify-center mb-6 group-hover:bg-gold/20 transition-all duration-300;
}
.service-card .card-icon i {
    @apply w-8 h-8 text-gold;
}
.service-card h3 {
    @apply text-2xl font-hero font-bold mb-4;
}
.service-card p {
    @apply text-softgray;
}

/* Portfolio Items */
.portfolio-item {
    @apply relative rounded-2xl overflow-hidden group block;
}
.portfolio-item img {
    @apply w-full h-64 md:h-80 object-cover transition-transform duration-700 group-hover:scale-110;
}
.portfolio-overlay {
    @apply absolute inset-0 bg-gradient-to-t from-charcoal via-charcoal/80 to-transparent p-8 flex flex-col justify-end opacity-0 group-hover:opacity-100 transition-all duration-500;
}
.portfolio-overlay .category-tag {
    @apply inline-block px-4 py-1 bg-gold text-charcoal text-xs font-hero font-bold rounded-full mb-3 self-start;
}
.portfolio-overlay h4 {
    @apply text-2xl font-hero font-bold mb-2;
}
.portfolio-overlay p {
    @apply text-softgray text-sm;
}

/* Contact Form Inputs */
.contact-input {
    @apply w-full px-6 py-4 bg-midnight border border-softgray/20 rounded-2xl text-white placeholder-softgray focus:outline-none focus:border-gold focus:ring-2 focus:ring-gold/30 transition-all duration-300;
}

/* Section Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Cinematic Corner Frames */
.corner-frame::before,
.corner-frame::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #c8a04f;
}
.corner-frame::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}
.corner-frame::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Lens Flare Effect */
.lens-flare {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200,160,79,0.3) 0%, rgba(200,160,79,0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

/* Audio Waveform */
.waveform {
    height: 100px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #c8a04f 10%, 
        transparent 20%, 
        #c8a04f 30%, 
        transparent 40%,
        #c8a04f 50%,
        transparent 60%,
        #c8a04f 70%,
        transparent 80%,
        #c8a04f 90%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: waveform 2s linear infinite;
}
@keyframes waveform {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tech Grid Background */
.tech-grid {
    background-image: 
        linear-gradient(rgba(200,160,79,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,160,79,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Mobile Menu Animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}
.mobile-menu.open {
    transform: translateX(0);
}