/* 
    PANEL VIZYON - Professional Industrial CSS
    Version: 3.1 (Restored & Refined)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-bg: #0F0F0F;       /* Solid Professional Black */
    --secondary-gold: #C5A028;  /* Refined Gold */
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, .premium-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 9999;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    height: 70px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-area { display: flex; align-items: center; gap: 15px; }
.logo { height: 45px; width: auto; transition: var(--transition-smooth); }
.header.scrolled .logo { height: 35px; }

.logo-area h1 {
    font-size: 1rem;
    color: var(--secondary-gold);
    letter-spacing: 2px;
}

/* --- NAVIGATION --- */
.navbar { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 30px; }
.menu-toggle { display: none; }

.nav-menu li a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #FFF;
    opacity: 0.8;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-menu li a:hover, .nav-menu li a.active { 
    opacity: 1; 
    color: var(--secondary-gold); 
}

/* Products link remains clickable but has special hover */
.nav-menu li a[href="/Products"]:hover {
    color: var(--secondary-gold);
    opacity: 1;
}

.nav-portal-li a {
    border: 1px solid var(--secondary-gold);
    padding: 10px 20px !important;
    border-radius: 4px;
    opacity: 1 !important;
}

.nav-portal-li a:hover { background: var(--secondary-gold); color: #000 !important; }

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

/* --- SECTIONS --- */
.section { padding: 100px 0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* --- CARDS --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-gold);
    background: rgba(197, 160, 40, 0.05);
}

/* --- UTILITIES --- */
.text-gold { color: var(--secondary-gold); }
.product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 15px;
    background: var(--secondary-gold);
    color: #000;
    border-radius: 4px;
    margin-bottom: 20px;
}

.btn-premium {
    padding: 15px 40px;
    border: 1px solid var(--secondary-gold);
    color: var(--secondary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-premium:hover { background: var(--secondary-gold); color: #000; }

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 40, 0.1);
    border: 1px solid var(--secondary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--secondary-gold);
    transition: 0.3s;
}

.product-card:hover .icon-box {
    background: var(--secondary-gold);
    color: #000;
}

/* --- FORM CONTROLS --- */
.form-group { margin-bottom: 25px; }
.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(197, 160, 40, 0.1);
}

/* --- PRODUCT DETAIL PAGE --- */
.pano-detail {
    padding-top: 220px;
    padding-bottom: 100px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--secondary-gold);
    letter-spacing: 3px;
    font-weight: 600;
}

.pano-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.pano-desc-box {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.pano-tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.pano-tech-table th, .pano-tech-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
}

.pano-tech-table th {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.usage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.usage-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.pano-cta {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background: var(--secondary-gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.pano-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.pano-img-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pano-img-placeholder {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    filter: grayscale(0.5);
    transition: 0.5s;
}

.pano-img-placeholder:hover {
    filter: grayscale(0);
}

/* --- FOOTER ENHANCEMENTS --- */
.footer-main {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--secondary-gold);
    padding-left: 5px;
}

/* --- PORTAL DASHBOARD PREVIEW --- */
.portal-preview-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--secondary-gold);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.portal-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.portal-menu-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.portal-menu-item i {
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

.portal-menu-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.portal-menu-item:hover {
    background: rgba(197, 160, 40, 0.1);
    border-color: var(--secondary-gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero-btns .btn-premium {
        margin-left: 0 !important;
        width: 100%;
        max-width: 300px;
    }
    .pano-detail {
        padding-top: 150px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .menu-toggle { display: block !important; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%; width: 280px; height: 100vh;
        background: #151515;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1001;
    }
    .nav-menu.show { right: 0; }
}
