/* Custom Styles */

/* 1. Typography Imports (Google Fonts) */
/* CONSOLIDATED: Montserrat ONLY. (Weights: 400, 500, 600, 700, 800) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* 2. Theme Variables (Brand Colors) */
:root {
    --zemond-primary: #0D2149;     /* Dark Navy */
    --zemond-primary-light: #1a3b7c; 
    --zemond-accent: #00B0FF;      /* Electric Cyan */
    --zemond-accent-light: #40c4ff;
    --text-color: #2c3e50;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* 3. Global Typography */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7; /* Increased line-height for better readability */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: var(--bg-light);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased; /* Smoother fonts on Mac */
    -moz-osx-font-smoothing: grayscale;
}

/* Brand Classes */
.zemond-primary {
    background-color: var(--zemond-primary) !important;
}

.zemond-primary-text {
    color: var(--zemond-primary) !important;
}

/* Ensure headings inside dark backgrounds are white */
.zemond-primary h1,
.zemond-primary h2,
.zemond-primary h3,
.zemond-primary h4,
.zemond-primary h5,
.zemond-primary h6 {
    color: #ffffff !important;
}

.zemond-accent {
    background-color: var(--zemond-accent) !important;
}

.zemond-accent-text {
    color: var(--zemond-accent) !important;
}

/* Headings (Hierarchy) */
h1, h2, h3, h4, h5, h6, .card-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--zemond-primary);
    margin-top: 0;
}

h1 { font-weight: 800; letter-spacing: -1px; }
h2 { font-weight: 700; letter-spacing: -0.5px; }
h3 { font-weight: 700; }
h4 { font-weight: 600; }
h5 { font-weight: 600; }

/* Banner Enhancements */
h1.header {
    font-size: 3.5rem; /* Larger hero text */
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Softer shadow */
}

@media only screen and (max-width: 600px) {
    h1.header {
        font-size: 2.5rem;
    }
}

/* Navbar Polish */
nav.white {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03); /* Extremely subtle shadow */
    height: 70px;
    line-height: 70px;
}

nav .nav-wrapper {
    height: 70px;
}

/* Navbar Brand */
.brand-logo {
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex !important; 
    align-items: center !important; 
    height: 100%;
    min-width: 150px; /* Fixed container space */
}

.brand-logo img {
    height: 45px; 
    width: auto;
    margin: 0; 
    display: block;
}

/* Nav Links */
nav.white ul a {
    color: var(--zemond-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav.white ul a:hover {
    color: var(--zemond-accent);
    background-color: transparent;
}

/* Navbar CTA Button */
nav ul a.btn {
    margin-top: 0; /* Align button */
    margin-left: 15px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    box-shadow: none;
    background-color: var(--zemond-primary);
    color: white !important;
    padding: 0 25px;
    font-size: 0.85rem;
}

nav ul a.btn:hover {
    background-color: var(--zemond-primary-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 33, 73, 0.2);
}

nav.white .sidenav-trigger {
    height: 70px;
    line-height: 70px;
}

nav.white .sidenav-trigger i {
    color: var(--zemond-primary);
    height: 70px;
    line-height: 70px;
}

/* Fix overlap on smaller screens (Tablets/Small Laptops) */
@media only screen and (max-width: 1350px) {
    nav .nav-wrapper .hide-on-med-and-down {
        display: none !important;
    }
    
    nav .nav-wrapper .sidenav-trigger {
        display: block !important;
        float: right;
        margin-right: 0;
    }
}

main {
    flex: 1 0 auto;
}

footer.page-footer {
    margin-top: auto;
    padding-top: 40px;
}

/* Hero Parallax Section Polish */
#index-banner {
    min-height: 650px; /* Taller hero */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#index-banner .parallax img {
    filter: blur(4px); /* Blur to mask low res */
    opacity: 1; /* Ensure visibility */
    transform: translate3d(-50%, 0, 0); /* Fix for some parallax glitches */
}

#index-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient Overlay */
    background: linear-gradient(135deg, rgba(13, 33, 73, 0.85) 0%, rgba(13, 33, 73, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

#index-banner .section {
    z-index: 2;
    width: 100%;
}

#index-banner .light {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Card Polish */
.card {
    border-radius: 16px; /* More rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Softer, larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-content {
    padding: 30px !important;
}

/* Features Section */
.icon-block {
    padding: 20px 10px;
}

.icon-block h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.icon-block h5 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.icon-block p {
    font-size: 1rem;
    color: #666;
}

/* Section spacing */
.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section.no-pad-bot {
    padding-bottom: 0;
}

/* Buttons */
.btn, .btn-large {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Primary CTA Button (Accent Cyan) */
.btn-cta {
    background-color: var(--zemond-accent) !important;
    color: #fff !important;
    height: 54px;
    line-height: 54px;
    padding: 0 40px;
    font-size: 1rem;
}

.btn-cta:hover {
    background-color: var(--zemond-accent-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 176, 255, 0.4);
}

/* Form Styles */
input[type=text]:focus:not([readonly]),
input[type=email]:focus:not([readonly]), 
input[type=password]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid var(--zemond-accent) !important;
    box-shadow: 0 1px 0 0 var(--zemond-accent) !important;
}

input[type=text]:focus:not([readonly]) + label,
input[type=email]:focus:not([readonly]) + label,
textarea.materialize-textarea:focus:not([readonly]) + label {
    color: var(--zemond-accent) !important;
}

.select-wrapper input.select-dropdown:focus {
    border-bottom: 1px solid var(--zemond-accent) !important;
}

/* Secondary Parallax */
.parallax-container {
    height: 450px; 
}

/* Inner Page Headers */
@import url('patterns.css');

/* Footer Links */
footer ul li {
    margin-bottom: 10px;
}

footer a {
    transition: color 0.2s;
}

footer a:hover {
    color: var(--zemond-accent) !important;
}

/* Helper for spacing without BR tags */
.spacer-2 { margin-top: 2rem; }
.spacer-4 { margin-top: 4rem; }

/* Product Filter Tabs */
#product-filters .tab a {
    color: #777; /* Muted inactive color */
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 20px;
    text-transform: none; /* Competitor uses Title Case, not UPPER */
}

#product-filters .tab a.active {
    color: var(--zemond-accent); /* Active text blue */
    background-color: transparent;
}

#product-filters .indicator {
    background-color: var(--zemond-accent); /* Underline blue */
}

#product-filters .tab a:hover {
    color: var(--zemond-primary);
    background-color: transparent;
}

/* Ensure tab scrolling works nicely on mobile */
.tabs {
    height: 48px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

/* Additional product card polish */
.product-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensure content spacing */
    height: 300px; /* Increased height for name */
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.product-card img {
    max-width: 100%;
    max-height: 75%; /* Reduced slightly to ensure name fits well */
    object-fit: contain;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-name {
    margin-top: 10px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    /* Removed truncate to allow wrapping if needed, or handle with ellipsis */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}