/* css/components.css */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(13, 19, 35, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-img {
    height: 60px !important;
    max-height: 100% !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #FFD700);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    color: var(--accent-primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar { height: 70px; }
    .logo-img { height: 50px !important; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--accent-secondary);
    color: var(--accent-secondary);
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-secondary);
    padding: 0;
}

.btn-ghost:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.card:hover {
    border-color: var(--border-color);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.1);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

/* Services Snapshot Grid */
.grid-services {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-services {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Footer */
.footer {
    background: var(--bg-footer);
    border-top: 2px solid;
    border-image: linear-gradient(to right, transparent, var(--accent-primary), transparent) 1;
    padding-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    margin: var(--space-md) 0;
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-bottom {
    background: #0A1020;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-bottom .container { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* Form Elements */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field {
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.input-field::placeholder {
    color: var(--text-muted);
}

/* Hero Logo Showcase Styles (Simple Design) */
.hero-logo-simple-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    width: 100%;
    z-index: 10;
}

.hero-logo-simple-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.15));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-simple-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.3));
}

/* Services Detail Dynamic Layout */
.services-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

.services-grid-container .card {
    flex: 1 1 300px;
    max-width: calc(33.333% - 16px);
}

@media (max-width: 1024px) {
    .services-grid-container .card {
        flex: 1 1 350px;
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .services-grid-container {
        gap: var(--space-md);
    }
    .services-grid-container .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

