/* Modern Premium Styles v2 for SILENT HAWK LDA */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;800&display=swap');

:root {
    --primary: #00d2ff;
    --secondary: #9d50bb;
    --bg-dark: #050505;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-glow: 0 0 10px rgba(0, 210, 255, 0.5);
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg-dark);
    color: #e0e0e0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
}

/* Background Animation */
.bg-animate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #050505 100%);
}

.bg-animate::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 70% 30%, rgba(157, 80, 187, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 20% 70%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-brand img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}

.logo-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 210, 255, 0.2);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    margin-left: 2rem;
    position: relative;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    opacity: 1;
}

/* Hero Section */
.hero-v2 {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('assets/img/hero_v2.png') no-repeat center center;
    background-size: cover;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-v2 h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v2 p {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

/* Buttons */
.btn-modern {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
    color: #fff;
}

/* Service Cards */
.service-card-v2 {
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card-v2:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-v2 i {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About / Stats */
.stat-box {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

/* Sections */
section {
    padding: 120px 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title-v2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-v2 h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .hero-v2 h1 { font-size: 2.8rem; }
    .hero-v2 p { font-size: 1.1rem; }
}

/* Form Control Overrides */
.form-control.glass {
    color: #fff !important;
    background: var(--bg-glass);
}

.form-control.glass:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.form-control.glass::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Handle Browser Autofill (White Background Fix) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #050505 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Ensure text is visible while typing */
input, textarea {
    caret-color: var(--primary);
}
