:root {
    --primary: #e05226;
    --primary-dark: #b8431f;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --brutalist-border: 3px solid #1e293b;
    --brutalist-shadow: 6px 6px 0px #1e293b;
    --blueprint-line: rgba(224, 82, 38, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Blueprint grid background with the pattern image behind the lines, faded like a watermark */
    background-image: 
        linear-gradient(var(--blueprint-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95)),
        url('../images/background pattern.png');
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px, 100% 100%, auto;
    background-repeat: repeat, repeat, repeat, repeat, no-repeat, repeat;
}

/* Removed bg-icons as we are using a background image on body instead */


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

/* Semi-Brutalism Classes */
.brutalist {
    border: var(--brutalist-border);
    box-shadow: var(--brutalist-shadow);
    transition: all 0.2s ease;
}

.brutalist:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 2rem;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

nav .logo img {
    height: 75px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Sections */
section {
    padding: 140px 10% 60px;
    min-height: 100vh;
}

.section-spacing {
    padding: 120px 10% 80px;
}

@media (max-width: 768px) {
    section {
        padding: 110px 5% 40px;
        min-height: auto;
    }
    .section-spacing {
        padding: 110px 5%;
    }
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 5% 80px;
    min-height: 70vh;
}

.hero .glass.brutalist {
    width: 100%;
    max-width: 900px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.btn {
    padding: 1rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

/* Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}



.card {
    padding: 2rem;
    background: var(--glass-bg);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Catalog Specific Sizing */
.catalog-item {
    padding: 1.5rem !important;
}

.catalog-icon {
    height: 100px !important;
    background: rgba(224, 82, 38, 0.08) !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem !important;
    transition: transform 0.3s ease;
}

.catalog-item:hover .catalog-icon {
    transform: scale(1.05);
}

.catalog-item h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.catalog-item p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: var(--text-muted);
}

.hero-btns {
    display: flex; 
    gap: 1.5rem; 
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
}
.blueprint-marker {
    position: absolute;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--primary);
    opacity: 0.5;
}

/* Responsive Layout Utilities */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.full-bleed-mobile {
    width: 100%;
}

@media (max-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .mobile-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}



.grid-2-col {
    grid-template-columns: 1fr 1fr !important;
}

.grid-4-col {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
}

@media (max-width: 1200px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .grid-2-col, .grid-4-col {
        grid-template-columns: 1fr !important;
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.card, .brutalist, h1, h2 {
    opacity: 0;
    transform: translateY(20px);
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Solution Cards */
.solution-card {
    padding: 3rem;
    grid-column: span 2;
}

.solution-card-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .solution-card {
        grid-column: span 1 !important;
        padding: 2rem;
    }
    .solution-card-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .solution-card-inner div:first-child {
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border);
        padding-right: 0 !important;
        padding-bottom: 1.5rem;
    }
}

.info-block {
    margin-top: 100px;
    padding: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
}

@media (max-width: 768px) {
    .info-block {
        margin-top: 60px;
        padding: 2.5rem 1.5rem;
    }
}

/* Mobile Menu */
.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        border-left: 1px solid var(--glass-border);
        gap: 2rem;
    }
    .nav-links.active { right: 0; }
    
    .hero h1 { font-size: 2.5rem; }
    
    footer {
        padding: 3rem 5% !important;
    }
    
    footer > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* Premium Slideshow Style */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Best for mixed product catalogs/schematics to prevent cropping */
    background-color: #ffffff;
    transition: transform 6s ease;
}

/* Subtle Ken Burns zoom effect on active slide */
.slide.active img {
    transform: scale(1.02);
}

/* Slideshow Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px var(--text-dark);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--text-dark);
    transform: translateY(-52%) scale(1.05);
    box-shadow: 4px 4px 0px var(--text-dark);
}

.slide-btn:active {
    transform: translateY(-48%) scale(0.95);
    box-shadow: 1px 1px 0px var(--text-dark);
}

/* Dots/Indicators */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.75);
    padding: 6px 12px;
    border: 2px solid var(--text-dark);
    box-shadow: 3px 3px 0px var(--text-dark);
    backdrop-filter: blur(8px);
}

.slide-dot {
    width: 10px;
    height: 10px;
    background: rgba(30, 41, 59, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.slide-dot:hover {
    background: var(--primary);
}

.slide-dot.active {
    background: var(--primary);
    width: 24px;
}

@media (max-width: 768px) {
    .slideshow-container {
        height: 300px;
    }
    .slide-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        box-shadow: 2px 2px 0px var(--text-dark);
    }
    .slide-btn:hover {
        transform: translateY(-52%);
        box-shadow: 3px 3px 0px var(--text-dark);
    }
    .slide-prev { left: 10px; }
    .slide-next { right: 10px; }
}

