/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
}

/* Header styles */
.header {
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #00a7e0;
}

.logo-section img {
    height: 64px;
    width: auto;
    display: block;
    padding-bottom:1%;
}

.logo-text {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-left: 1rem;
    color: #00a7e0;
    line-height: 1;
    margin-bottom: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.phone-link {
    font-family: 'Lato', arial, sans-serif;
    color: #002241;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    background: url('https://lh3.googleusercontent.com/d/1kBwIZziQLL8aD7L21urB8qde4Ui0aCCH') no-repeat center;
    background-size: contain;
    padding: 1rem;
    min-width: 150px;
    text-align: center;
    transition: transform 0.2s;
}

.phone-link:hover {
    transform: scale(1.05);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: white;
    color: #002241;
    text-decoration: none;
    border: 1px solid #002241;
    border-radius: 2px;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.2s;
}

.contact-btn:hover {
    background: #002241;
    color: white;
    transform: translateY(-2px);
}

.contact-btn svg {
    width: 28px;
    height: 28px;
}

/* Banner styles */
.banner {
    min-height: 60vh;
    background: 
        linear-gradient(to right, 
            rgba(25, 42, 86, 1) 8%, 
            rgba(25, 42, 86, 0.85) 30%, 
            rgba(25, 42, 86, 0.4) 70%, 
            rgba(25, 42, 86, 0.15) 100%
        ),
        url('https://lh3.googleusercontent.com/d/1n3WuiKebpdpLfmptGzkXzE0fi_H3AoFw');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 100%;
    color: white;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.company-name {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.tagline {
    font-size: clamp(1.125rem, 3vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.awards {
    margin: 2rem 0;
}

.awards h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.awards ul {
    list-style: none;
    font-size: 1.1rem;
    line-height: 1.8;
}

.awards li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.awards li:before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffd700;
}

.cta-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #2d3748;
    border: none;
    padding: 1.125rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.25rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4a 0%, #ffd700 100%);
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s infinite ease-in-out;
}

.spark:nth-child(1) { top: 20%; left: 70%; animation-delay: 0s; }
.spark:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.spark:nth-child(3) { top: 40%; left: 90%; animation-delay: 2s; }
.spark:nth-child(4) { top: 80%; left: 75%; animation-delay: 0.5s; }
.spark:nth-child(5) { top: 30%; left: 85%; animation-delay: 1.5s; }

/* Features section */
.features {
    padding: 4rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card.blue { background: #002341; color: white; }
.feature-card.yellow { background: #ffe800; color: #002341; }
.feature-card.light-blue { background: #00aeef; color: white; }

.feature-card img {
    width: 42px;
    height: 42px;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Raleway', sans-serif;
}

/* Services section */
.services {
    padding: 4rem 0;
    background: #cdeef9;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.125rem);
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    color: #002341;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0, 35, 65, 0.8) 100%);
    z-index: 1;
}

.service-card h3 {
    position: absolute;
    bottom: 1rem; left: 1rem; right: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    z-index: 2;
}

.service-card.electrical { background: url('https://lh3.googleusercontent.com/d/1g30JwSD6BIRM8JlvuPjCn8l63taOrai8') center/cover; }
.service-card.data { background: url('https://lh3.googleusercontent.com/d/1aoOCsskiWbRe4DtxiKoDZ2adpHcOXaU7') center/cover; }
.service-card.security { background: url('https://lh3.googleusercontent.com/d/1PDBYyYuTnU-rfKw2_yuDX81JUEWweZjs') center/cover; }
.service-card.cctv { background: url('https://lh3.googleusercontent.com/d/1PmlTCGgbKM9vFO1P0IaYEzgeBEfwuX0-') center/cover; }
.service-card.fire { background: url('https://lh3.googleusercontent.com/d/17AYLutmzN221pO4S7TIqS1yR0iNL7SZg') center/cover; }
.service-card.pa { background: url('https://lh3.googleusercontent.com/d/1zyWN5uRS-0aSE9yZRw6jqOOcl-pbEv6I') center/cover; }

.more-services-btn {
    display: block;
    max-width: 200px;
    padding: 1rem 1.5rem;
    background: #002341;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin: 2rem auto;
    text-align: center;
}

.more-services-btn:hover {
    background: #003d5c;
    transform: translateY(-2px);
}

/* =========================================
   FOOTER STYLES (Extracted & Cleaned)
   ========================================= */
.site-footer {
    padding: 80px 0;
    overflow: hidden;
    color: #ffffff;
    background: 
        radial-gradient(827.25px at 100% 100%, rgba(0, 107, 144, 0.7) 0px, rgba(0, 34, 65, 0) 100%), 
        radial-gradient(711px at 6.13% 24.83%, rgb(0, 107, 144) 0px, rgb(0, 34, 65) 100%), 
        rgb(0, 34, 65);
}

.footer-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col-center {
    display: flex;
    align-items: center;
}

.footer-block {
    margin-bottom: 40px;
}

.footer-heading {
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgb(255, 230, 0);
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-phone {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.social-list, .action-list, .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list {
    display: flex;
}

.social-list li {
    margin-right: 10px;
}

.social-icon {
    display: block;
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    text-indent: -5000px;
    overflow: hidden;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon.facebook {
    background-image: url('https://www.laserelectricalqueenstown.co.nz/images/icons/social-facebook.svg');
}

.action-list li {
    margin-bottom: 16px;
}

.footer-action-btn {
    display: inline-block;
    width: 100%;
    padding: 25px 95.5px 25px 34px;
    position: relative;
    text-decoration: none;
    color: rgb(0, 34, 65);
    font-weight: 600;
    font-size: 17px;
    line-height: 20.74px;
    border-radius: 2px;
    transition: transform 0.2s;
    box-shadow: rgba(90, 154, 175, 0.2) 0px 10px 15px -3px, rgba(90, 154, 175, 0.1) 0px 4px 6px -2px;
}

.footer-action-btn:hover {
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: rgb(255, 230, 0);
}

.btn-blue {
    background-color: rgb(0, 167, 224);
}

.btn-icon-wrapper {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 70px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-wrapper i {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-location { background-image: url('https://www.laserelectricalqueenstown.co.nz/images/icons/location.svg'); }
.icon-work { background-image: url('https://www.laserelectricalqueenstown.co.nz/images/icons/work.svg'); }

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.15s ease-in-out;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    margin-top: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}


/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Responsive design */
@media (max-width: 1024px) {
    .banner { background-attachment: scroll; }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
        text-align: center;
    }
    .header-right {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    .phone-link {
        min-width: auto;
        font-size: 1rem;
    }
    .banner {
        min-height: 75vh;
        padding: 2rem 1rem;
        justify-content: center;
    }
    .banner-content {
        width: 100%;
        text-align: center;
    }
    .awards ul { font-size: 1rem; }
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    .features-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-card { padding: 1.5rem; }
    .service-card { height: 200px; }
    .footer-container { flex-direction: column; }
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .header-right {
        flex-direction: column;
        width: 100%;
    }
    .phone-link {
        background: none;
        color: #002241;
        text-decoration: underline;
    }
    .banner {
        min-height: 70vh;
        padding: 1rem;
        justify-content: center;
    }
    .banner-content {
        width: 100%;
        max-width: none;
        text-align: center;
    }
    .company-name {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .features, .services { padding: 2rem 0; }
}

/* Performance and Accessibility */
.banner, .service-card, .feature-card, .cta-button {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .banner { background: #192a56; }
    .tagline { color: #ffed4a; }
}