/* Custom Properties */
:root {
    --color-red: #E31837; /* Vibrant Red from Logo */
    --color-red-glow: rgba(227, 24, 55, 0.4);
    --color-black: #080808;
    --color-dark-grey: #111111;
    --color-light-grey: #222222;
    --color-border: #333333;
    --color-text: #E0E0E0;
    --color-white: #FFFFFF;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--color-black);
    color: var(--color-text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.2;
}

.highlight-red {
    color: var(--color-red);
}

.laser-effect {
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Give it space to render without clipping */
}

.laser-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 25%;
    height: 6px;
    background: #ffffff;
    box-shadow: 0 0 15px 5px var(--color-red), 0 0 35px 12px var(--color-red);
    border-radius: 4px;
    animation: laserScan 2.5s ease-in-out infinite;
    z-index: 10;
}

@keyframes laserScan {
    0% {
        left: 0%;
        opacity: 0;
        transform: scaleX(0.5);
    }
    10% {
        opacity: 1;
        transform: scaleX(1);
    }
    90% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        left: 75%;
        opacity: 0;
        transform: scaleX(0.5);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.primary-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
}

.primary-btn:hover {
    background-color: transparent;
    box-shadow: 0 0 15px var(--color-red-glow);
}

.primary-btn.glow {
    box-shadow: 0 0 20px var(--color-red-glow);
}
.primary-btn.glow:hover {
    box-shadow: 0 0 30px var(--color-red-glow);
    transform: translateY(-2px);
}

.primary-btn.outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.primary-btn.outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.secondary-btn {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.secondary-btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.nav-logo {
    height: 45px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

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

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,1) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #cccccc;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #aaaaaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-dark-grey);
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(227, 24, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-red);
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #999999;
}

/* Products */
.products-section {
    background-color: var(--color-dark-grey);
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.product-item {
    text-align: center;
}

.product-item h3 {
    margin-top: 2rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-item p {
    color: #888888;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 24, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.product-item:hover .hover-overlay {
    opacity: 1;
}

/* Local Authority */
.local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.local-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.local-text p {
    font-size: 1.1rem;
    color: #bbbbbb;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-light-grey);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
}

.pulsing-dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-red);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px var(--color-red);
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--color-red);
    animation: pulse 2s infinite;
}

.map-placeholder p {
    z-index: 2;
    font-weight: 600;
    color: var(--color-white);
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #666;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a, .footer-links p {
    display: block;
    color: #888;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

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

.footer-cta {
    color: var(--color-red) !important;
    font-weight: 800;
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    color: #444;
}

/* Animations */
.fade-in-up, .slide-in-left, .slide-in-right, .slide-in-up, .fade-in-scale {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up { transform: translateY(40px); }
.slide-in-left { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.slide-in-up { transform: translateY(60px); }
.fade-in-scale { transform: scale(0.95); }

.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Contact Form */
.contact-section {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-light-grey);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.quote-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--color-black);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(227, 24, 55, 0.2);
}

.submit-btn {
    width: 100%;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .service-grid { grid-template-columns: 1fr; }
    .product-showcase { grid-template-columns: 1fr; }
    .local-grid { grid-template-columns: 1fr; gap: 2rem; }
    .catalog-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .nav-links { display: none; }
    .cta-group { flex-direction: column; }
    .form-container { padding: 2rem; }
    
    .auto-fade-container { height: 250px; margin-top: 1rem; }
    .map-placeholder { height: 250px; }
    .local-text h3 { font-size: 1.6rem !important; }
    .local-text p { margin-bottom: 1.5rem !important; font-size: 1rem !important; }
}

/* Auto-Fading Portfolio Image Showcase */
.auto-fade-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    background-color: var(--color-black);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.auto-fade-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
    z-index: 10;
}

.auto-fade-container:hover {
    transform: translateY(-10px);
    border-color: var(--color-red) !important;
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.2);
}

.auto-fade-container:hover::before {
    transform: scaleX(1);
}

.auto-fade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.auto-fade-image.active {
    opacity: 1;
    z-index: 5;
}

.combined-text p {
    color: #888888;
}

/* Full Supply Catalog Page */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.catalog-card {
    display: flex;
    flex-direction: column;
}

.catalog-title {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.catalog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.catalog-list li {
    font-size: 1.1rem;
    color: #bbbbbb;
    margin-bottom: 0.8rem;
    transition: color var(--transition-fast);
}

.catalog-list li:hover {
    color: var(--color-white);
}
