/* ============================================
   SISSSEL ENGINEERING SERVICES
   Premium Dark Luxury Style
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #060b14;
}
::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* --- Section Labels --- */
.section-label {
    position: relative;
    display: inline-block;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #14b8a6;
    vertical-align: middle;
    margin-right: 12px;
}

/* --- Hero Animations --- */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(30px);
}
.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}
.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(30px);
}
.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Service Cards --- */
.service-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* --- Work Gallery --- */
.work-gallery-item {
    transition: transform 0.3s ease;
}
.work-gallery-item:hover {
    transform: scale(1.01);
}

/* --- Scroll Reveal (below-fold only) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Navbar --- */
#navbar.scrolled {
    background: rgba(6, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

/* --- Mobile Menu --- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* --- Form --- */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}
