/* RSC / Rack Studios - Production Style Sheet */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Header Sticky - Fixed */
#header {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.95);
    transition: all 0.3s ease;
    z-index: 9999;
}

#header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Premium Tag Bar */
.tag-item {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: all 0.25s ease;
}

.tag-item:hover {
    background: rgba(0, 207, 255, 0.12);
    border-color: rgba(0, 207, 255, 0.4);
    color: rgba(0, 207, 255, 1);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-accent {
    transition: opacity 0.5s ease;
}

/* Form Select Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300CFFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3.5rem;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00CFFF, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Focus States */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Language Buttons */
.lang-btn,
.lang-btn-mobile {
    cursor: pointer;
    user-select: none;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .tag-item {
        font-size: 10px;
        padding: 8px 14px;
    }
}

/* Print Styles */
@media print {
    header,
    footer {
        display: none;
    }
}

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

input,
textarea,
select {
    transition-property: border-color, background-color, box-shadow;
}
