/* 
    NEVADA SMART FZCO - ELITE TECH REFINEMENT
    Focus: High Clarity, Premium White Space, Brand Synchronization
*/

:root {
    --blue: #1A237E; /* Deeper, more technological navy from Nevada branding */
    --blue-light: #3949AB;
    --red: #D32F2F; /* Accent red from logo */
    --royal: #4A62A4;
    --dark: #FFFFFF;
    --obsidian: #F8F9FA;
    --silver: #4B5563;
    --white: #111827; /* Near black for crisp text */
    --gray: #6B7280;
    --border: rgba(26, 35, 126, 0.08);
}

* { margin:0; padding:0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--dark);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Navbar - HYBRID ELITE */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border-bottom: 1px solid var(--border);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 90px; width: auto; transition: 0.4s; filter: drop-shadow(0 0 20px rgba(255,255,255,0.6)); }
.navbar.scrolled .logo img { filter: none; height: 75px; }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a {
    text-decoration: none;
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8); /* Maximum clarity on Hero */
}

.navbar.scrolled .nav-links a { 
    color: var(--white) !important; 
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: 0.3s;
}
.nav-links a:hover { color: var(--red) !important; }
.nav-links a:hover::after { width: 100%; }

.menu-btn { display: none; font-size: 1.8rem; color: var(--blue); cursor: pointer; }

/* Hero - Optimized for Text Clarity */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
}

.hero-underlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Darker top gradient for link legibility, lighter middle for image pop */
    background: 
        linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 30%, rgba(255,255,255,0.2) 100%),
        url('im/hero.png') center/cover no-repeat;
    z-index: 1;
}

.hero-content { position: relative; z-index: 10; max-width: 950px; text-align: left; }

.premium-badge {
    display: inline-block;
    color: var(--white);
    border: 1.5px solid var(--white);
    padding: 8px 18px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.blue-text { 
    color: var(--red); /* Using red as the "Smart" accent pull */
}

.hero p { 
    font-size: 1.5rem; 
    color: #FFFFFF; 
    margin-bottom: 45px; 
    max-width: 700px; 
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.cta-row { display: flex; gap: 20px; }

.btn {
    padding: 20px 45px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.4s;
    border: none;
    text-align: center;
}

.btn-blue { 
    background: var(--blue); 
    color: white; 
    box-shadow: 0 15px 35px rgba(26, 35, 126, 0.2); 
}
.btn-blue:hover { transform: translateY(-5px); background: var(--blue-light); }

.btn-outline { border: 2px solid #FFFFFF; color: #FFFFFF; background: transparent; }
.btn-outline:hover { background: #FFFFFF; color: var(--blue); }

/* Brands Section */
.brands-bar { padding: 40px 0; background: #FFF; border-bottom: 1px solid var(--border); }
.brand-items { display: flex; justify-content: space-around; align-items: center; opacity: 0.7; }
.brand-logo-text { font-weight: 800; letter-spacing: 5px; font-size: 0.85rem; color: var(--blue); cursor: pointer; transition: 0.3s; }
.brand-logo-text:hover { color: var(--red); transform: scale(1.1); opacity: 1; }

/* About - High Clarity Verbatim Section */
.about { padding: 160px 0; background: #FFF; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }

.tag { color: var(--red); font-weight: 800; letter-spacing: 3px; font-size: 0.75rem; margin-bottom: 20px; text-transform: uppercase; }
h2 { font-family: 'Playfair Display', serif; font-size: 3.8rem; margin-bottom: 35px; color: var(--blue); line-height: 1.1; }

.verbatim { font-size: 1.15rem; color: var(--silver); margin-bottom: 25px; line-height: 1.85; text-align: justify; }
.gold-standard { position: relative; padding-left: 25px; border-left: 4px solid var(--red); }

.features-grid { display: flex; gap: 40px; margin-top: 50px; }
.feat { display: flex; align-items: center; gap: 15px; }
.feat i { font-size: 1.6rem; color: var(--blue); }
.feat h4 { font-size: 0.95rem; font-weight: 700; color: var(--blue); }

.image-stack img { width: 100%; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,0.08); }

/* Inventory - White Section */
.inventory { background: var(--obsidian); padding: 160px 0; border-top: 1px solid var(--border); }
.text-center { text-align: center; margin-bottom: 80px; }

.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.inv-card {
    background: #FFF;
    padding: 60px 35px;
    border: 1px solid var(--border);
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    text-align: center;
    border-radius: 8px;
}
.inv-card:hover { border-color: var(--blue); transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0,0,0,0.06); }

.img-wrap { width: 100%; height: 220px; overflow: hidden; margin-bottom: 30px; border-radius: 4px; border: 1px solid #EEE; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s; }
.inv-card:hover .img-wrap img { transform: scale(1.15); }

.inv-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--blue); margin-bottom: 15px; }
.inv-card p { color: var(--gray); font-size: 0.95rem; }

/* Verbatim Services Refinement */
.services-section { padding: 150px 0; background: #FFF; border-top: 1px solid var(--border); }
.services-grid-verbatim { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 80px; 
}

/* Specific 3 + 2 layout logic */
.s-card-ns {
    background: #F8F9FA;
    padding: 60px 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: 0.5s;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.s-card-ns:hover {
    background: var(--blue);
    transform: translateY(-10px);
}

.s-card-ns i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 25px;
    transition: 0.4s;
}

.s-card-ns:hover i { color: #FFF; scale: 1.1; }

.s-card-ns h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.6;
    transition: 0.4s;
}

.s-card-ns:hover h3 { color: #FFF; }

/* Handling the 4th and 5th items to center them on a new row */
.services-grid-verbatim :nth-child(4) { grid-column: 1 / span 1.5; margin-left: auto; width: 100%; }
.services-grid-verbatim :nth-child(5) { grid-column: 2 / span 2; margin-right: auto; width: 100%; max-width: 440px; }

@media (max-width: 992px) {
    .services-grid-verbatim { grid-template-columns: 1fr; }
    .services-grid-verbatim :nth-child(4), .services-grid-verbatim :nth-child(5) { 
        grid-column: auto; width: 100%; max-width: none; margin: 0; 
    }
}

/* Contact Box Ultra */
.contact-box-ultra {
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 50px 120px rgba(0,0,0,0.08);
}
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; }
.c-info-text { padding: 90px; border-right: 1px solid var(--border); }
.c-info-text h2 { font-size: 3.8rem; color: var(--blue); margin-bottom: 30px; }

.c-details-list { margin-top: 40px; }
.c-detail { display: flex; gap: 20px; margin-bottom: 30px; align-items: center; }
.c-detail i { color: var(--red); font-size: 1.6rem; width: 40px; text-align: center; }
.c-detail p { font-weight: 600; font-size: 1rem; color: var(--white); }

.c-form-wrap { padding: 90px; background: #F8F9FA; }
input, textarea {
    width: 100%;
    background: #FFF;
    border: 1px solid #DDD;
    padding: 22px;
    color: #111;
    font-family: inherit;
    border-radius: 6px;
    transition: 0.3s;
    margin-bottom: 15px;
}
input:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 15px rgba(26,35,126,0.1); }

.btn-brand-split {
    width: 100%;
    background: var(--blue);
    color: white;
    padding: 22px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.4s;
}
.btn-brand-split:hover { background: var(--blue-light); transform: translateY(-5px); }

/* Footer */
.footer { padding: 100px 0; background: #FFF; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; gap: 60px; }
.f-col h4 { font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 30px; }
.f-brand img { height: 100px; margin-bottom: 25px; }
.f-brand p { color: var(--silver); line-height: 1.8; max-width: 350px; font-size: 0.95rem; }
.f-link-grid { display: grid; gap: 15px; }
.f-link-grid a { text-decoration: none; color: var(--silver); font-weight: 600; transition: 0.3s; }
.f-link-grid a:hover { color: var(--red); padding-left: 10px; }
.f-copy { margin-top: 40px; color: var(--gray); font-size: 0.85rem; border-top: 1px solid #EEE; padding-top: 25px; }

/* Mobile Optimizations */
@media (max-width: 992px) {
    .container { padding: 0 30px; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.8rem; }
    .grid-2, .inventory-grid, .services-grid, .contact-info-grid, .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .c-info-text, .c-form-wrap { padding: 60px 40px; }
    .c-info-text { border-right: none; border-bottom: 1px solid var(--border); }
    
    .nav-links {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 0;
        text-align: center;
        transition: 0.4s;
        display: flex; gap: 30px;
    }
    .nav-links.active { left: 0; }
    .nav-links a { color: var(--blue) !important; text-shadow: none; font-size: 1.2rem; }
    .menu-btn { display: block; color: #FFF; }
    .navbar.scrolled .menu-btn { color: var(--blue); }
}
