/*
Theme Name: Eagle Eye CNC Custom Theme
Theme URI: https://eagleeyecnc.co.uk
Author: Eagle Eye Group Ltd
Author URI: https://eagleyegroup.co.uk
Description: A custom theme for Eagle Eye CNC, built from existing HTML.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eagle-eye-cnc
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Roboto:wght@400;700&display=swap');

/* CSS Variables for Your Brand Colours */
:root {
  --deep-blue: #0056B3;
  --light-grey: #F0F0F0;
  --muted-gold: #B8860B;
  --background-dark: #121212;
}

/* Basic Body Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-dark);
    color: var(--light-grey);
    overflow-x: hidden;
}

body.body-no-scroll {
    overflow: hidden;
}

h1, h2, h3 {
    overflow-wrap: break-word;
}

/* Global Container for consistent alignment */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* Main Header Styling */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 100px;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    max-height: 80px;
    width: auto;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-contact a {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.header-contact a:hover {
    color: var(--muted-gold);
}

.header-contact svg {
    fill: var(--muted-gold);
}

/* =================================
    MOBILE NAVIGATION STYLES
    ================================= */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 2rem;
    height: 3px;
    background: var(--muted-gold);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.nav-toggle:checked + .hamburger span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.nav-toggle:checked + .hamburger span:nth-child(3) { transform: rotate(-45deg); }

/* Default Nav state */
.main-nav {
    display: flex;
}

/* =================================
    DESKTOP NAVIGATION STYLES
    ================================= */
@media (min-width: 768px) {
    .hamburger { display: none; }
    
    h1 {
        hyphens: none;
    }
    
    .main-nav {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .main-nav a {
        color: var(--light-grey);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s, text-shadow 0.3s;
        padding: 1.5rem 0;
        margin: 0;
    }

    /* Dynamic active state for desktop navigation */
    .main-nav a:hover,
    .main-nav .active { /* This targets the 'active' class added by PHP */
        color: var(--muted-gold);
        text-shadow: 0 0 8px hsla(43, 89%, 39%, 0.7);
    }

    .dropdown { position: relative; }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #1e1e1e;
        min-width: 240px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 101;
        border-radius: 4px;
        border-top: 2px solid var(--muted-gold);
    }

    .dropdown-content a {
        color: var(--light-grey);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        transition: color 0.3s, text-shadow 0.3s, background-color 0.3s;
    }

    .dropdown-content a:hover {
        background-color: rgba(0,0,0,0.1);
        color: var(--muted-gold);
        text-shadow: 0 0 8px hsla(43, 89%, 39%, 0.7);
    }

    .dropdown:hover .dropdown-content { display: block; }
    .dropdown-arrow { display: none; }
}

/* =================================
    TABLET & MOBILE STYLES 991px
    ================================= */
@media (max-width: 767px) {
 h1 {
    -webkit-hyphens: auto;  /* For older versions of Chrome and Safari */
    -ms-hyphens: auto;       /* For older versions of Internet Explorer */
    hyphens: auto;           /* The standard property */
    word-break: break-word; /* This is a useful fallback */
  }
@media (min-width: 768px) {
    .gallery-item {
        /* Set a fixed height for the container, forcing all items to be the same size */
        height: 300px; /* You can adjust this value */
        overflow: hidden; /* This hides any part of the image that extends beyond the container */
    }

    .gallery-item img {
        /* Make the image fill the fixed height container */
        height: 100%;
        width: 100%;
        object-fit: cover; /* This makes the image fill the container, cropping if necessary */
    }
}
    .header-contact { display: none; }
    header { height: 80px; }
    .logo, .footer-logo { max-height: 65px; }
    
   
    
    .hamburger { display: flex; }

    .nav-toggle:checked + .hamburger {
        position: fixed;
        right: 1.5rem;
        top: 28px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 20px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
        
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        color: var(--light-grey);
        text-decoration: none;
        transition: color 0.3s, text-shadow 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Dynamic active state for mobile navigation */
    .main-nav a:hover,
    .main-nav .active { /* This targets the 'active' class added by PHP */
        color: var(--muted-gold);
        text-shadow: 0 0 8px hsla(43, 89%, 39%, 0.7);
    }
    
    .dropdown-toggle {
        position: relative;
    }
    .dropdown-arrow {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        fill: var(--light-grey);
        transition: transform 0.3s ease-in-out;
    }
    .dropdown.submenu-open .dropdown-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown-content {
        background-color: rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .dropdown.submenu-open .dropdown-content {
        max-height: 500px;
    }
    .dropdown-content a {
        font-size: 1rem;
        padding-left: 3rem;
        justify-content: flex-start;
        text-align: left;
    }

    /* --- CRITICAL CHANGE FOR LAYOUT (about-grid, service-grid) --- */
    .about-grid, .service-grid {
        display: block !important; /* Force display to block */
        grid-template-columns: none !important; /* Ensure grid columns are reset */
        gap: 0 !important; /* Remove any grid/flex gaps */
    }

    .main-content,
    .sidebar-content {
        width: 100% !important; /* Force them to take full width on mobile */
        box-sizing: border-box !important; /* Ensures padding and border are included in the 100% width */
        flex: none !important; /* Reset any flex properties */
        float: none !important; /* Reset any float properties */
    }
    /* --- END OF CRITICAL CHANGE FOR LAYOUT --- */

    .sidebar-content {
        margin-top: 2rem; /* Keep your existing margin */
    }
    .contact-container {
        flex-direction: column; /* This rule is correct and working for contact page */
    }
    
    .footer-columns {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Hero Section (Homepage Specific) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
    box-sizing: border-box;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.page-intro {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--muted-gold);
    color: var(--background-dark);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #d4a012;
    transform: scale(1.05);
}

/* Services Section (Homepage Specific) */
.services-section {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--deep-blue);
}

.services-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Service Card Styling */
.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--muted-gold);
    border-radius: 8px;
    width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.card-link:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.card-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-gold);
}

.card p {
    margin-top: 0;
    flex-grow: 1;
}

.card.visible { opacity: 1; transform: translateY(0); }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }
.card:nth-child(5) { transition-delay: 0.4s; }
.card:nth-child(6) { transition-delay: 0.5s; }


/*
=================================
Generic Inner Page Styles
=================================
*/
.about-page, .contact-page, .gallery-page, .service-detail-page, .service-page-content {
    padding-top: 100px;
}

.page-header-banner {
    padding: 4rem 1.5rem;
    text-align: center;
    background-color: var(--deep-blue);
    border-radius: 8px;
    margin: 2rem 0;
}

.page-header-banner h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    color: var(--muted-gold);
    margin: 0 0 1rem 0;
}

.page-header-banner .page-intro {
    color: var(--light-grey);
    margin-bottom: 0;
}


.about-content, .service-content, .gallery-grid-section {
    padding: 4rem 0;
}

.about-grid, .service-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--muted-gold);
}

.main-content p, .main-content ul li {
    line-height: 1.7;
}

.main-content ul {
    list-style: none;
    padding-left: 0;
}

.main-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.main-content ul li::before {
    content: '✔';
    color: var(--muted-gold);
    position: absolute;
    left: 0;
}

.sidebar-content {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.sidebar-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.sidebar-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--muted-gold);
    margin-top: 0;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
}

.sidebar-content ul li {
    margin-bottom: 0.5rem;
}

.sidebar-content .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    box-sizing: border-box; 
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

/* =================================
    Contact Form 7 Styling
    ================================= */

/* Ensure the main form container maintains its flex behavior with contact-info */
.contact-container {
    display: flex; /* Ensure flex is active for desktop layout */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem; /* Keep the gap between form and info */
    padding-top: 2rem;
}

/* Re-apply flex sizing to contact-form and contact-info */
.contact-form {
    flex: 2; /* 2 parts of space */
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-sizing: border-box; /* Crucial for width calculations */
}

.contact-info {
    flex: 1; /* 1 part of space */
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-sizing: border-box; /* Crucial for width calculations */
}


/* General styling for all form controls (input, textarea) */
.wpcf7-form-control {
    width: 100%; /* Make them fill their parent container */
    padding: 10px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: var(--light-grey);
    font-size: 1rem;
    box-sizing: border-box; /* Include padding/border in width */
    transition: border-color 0.3s, box-shadow 0.3s;
}




/* Styles for textarea */
.wpcf7-form-control.wpcf7-textarea {
    resize: vertical; /* Allow vertical resizing only */
}

/* Focus state for all input fields and textareas */
.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--muted-gold);
    box-shadow: 0 0 8px hsla(43, 89%, 39%, 0.3);
}

/* Styling for the submit button */
.wpcf7-submit {
    background-color: var(--muted-gold);
    color: var(--background-dark);
    padding: 15px 30px;
    text-decoration: none; /* In case it's an anchor-like button */
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block; /* Ensure it behaves like your cta-button */
    width: 100%; /* Make button full width as per original form */
    border: none; /* Remove default button border */
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
}

.wpcf7-submit:hover {
    background-color: #d4a012;
    transform: scale(1.05);
}

/* Adjustments for Contact Form 7's default paragraph wrapping */
/* CF7 wraps labels and inputs in <p> tags by default, which adds extra spacing. */
.wpcf7-form p {
    margin-bottom: 1.5rem; /* Matches your old .form-group spacing */
    position: relative; /* Useful for validation messages */
}
}

/* Hide default screen reader responses if plugin handles visual feedback */
.screen-reader-response {
    display: none;
}

/* Basic styling for validation messages if needed (adjust colors to your theme) */
.wpcf7-not-valid-tip {
    color: #FF0000; /* Red for errors */
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 1em 0.5em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    background-color: #fff;
    color: #000;
}
/* General message for success/failure */
.wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #46b450; /* Green for success */
    background-color: #e6ffe6;
    color: #46b450;
}
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
    border-color: #dc3232; /* Red for errors */
    background-color: #ffebe8;
    color: #dc3232;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-info p a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info p a:hover { color: var(--muted-gold); text-decoration: underline; }

.contact-info h3, .contact-info h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--muted-gold);
    border-bottom: 1px solid var(--muted-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.contact-info p { line-height: 1.6; margin-bottom: 1.2rem; }

.contact-info .hours { margin-top: 2rem; }

.contact-info .special-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(0, 86, 179, 0.2);
    border-left: 3px solid var(--deep-blue);
    border-radius: 4px;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--light-grey);
}

.form-group input,.form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: var(--light-grey);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,.form-group textarea:focus {
    outline: none;
    border-color: var(--muted-gold);
    box-shadow: 0 0 8px hsla(43, 89%, 39%, 0.3);
}

.contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover { background-color: #1DA851; color: white; text-shadow: none; }

.remote-cta {
    background-color: #1e1e1e;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 8px;
    text-align: center;
}

.remote-cta h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--muted-gold);
    font-size: 2rem;
    margin-top: 0;
}

.remote-cta p {
    max-width: 650px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.map-section {
    height: 450px;
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) grayscale(90%) brightness(1.1) contrast(0.9);
}

/* Gallery Page Specifics */
.gallery-intro {
    padding: 4rem 0 0 0;
}

.gallery-intro .container {
    position: relative;
}

.logo-animation-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

#volume-toggle {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

#volume-toggle svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.7));
    transition: transform 0.2s;
}

#volume-toggle:hover svg {
    transform: scale(1.1);
}

.hidden {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    /* New properties to ensure consistent alignment */
    align-items: start;
    justify-items: center; 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Ensures items fill the vertical space */
    justify-items: center; /* Centres any items that don't fill the row */
}

.gallery-item img {
    width: 100%;
    height: auto; /* This makes the image height fluid, maintaining its aspect ratio */
    display: block;
    border-radius: 8px;
    border: 2px solid var(--muted-gold);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Footer Styling */
footer {
    background-color: #1e1e1e;
    color: #aaa;
    padding: 3rem 0;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col-logo {
    flex-grow: 1.5;
    text-align: center;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 1rem;
}

.footer-col-logo p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--muted-gold);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.75rem;
    position: relative;
    text-align: center;
}

.footer-col h4 a {
    color: inherit;
    text-decoration: none;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--muted-gold);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col > p {
    text-align: center;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer-col a:hover, .footer-col a.active {
    color: var(--muted-gold);
    text-shadow: 0 0 6px hsla(43, 89%, 39%, 0.5);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a svg {
    width: 32px;
    height: 32px;
    fill: #aaa;
    transition: fill 0.3s;
}

.social-icons a.youtube:hover svg { fill: #FF0000; }
.social-icons a.facebook:hover svg { fill: #1877F2; }
.social-icons a.instagram:hover svg { fill: #E4405F; }

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-legal p {
    margin: 0.25rem 0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.payment-icon {
    display: inline-block;
    width: 50px;           /* This is the fixed size of the span's box */
    height: 32px;          /* This is the fixed size of the span's box */
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    /* Remove background-size: contain; from here, as it's now inlined. */
    /* Or if you need to be very explicit about overriding, use: */
    /* background-size: initial; */
}

/* No need for individual .payment-icon.visa, .payment-icon.mastercard etc.
   if you are setting the background-image directly in the HTML's style attribute. */

/*
=================================
= Service Page Specific Styles
=================================
*/

.service-page-content .service-content {
    padding: 2rem 0;
}

.benefit-item {
    margin-bottom: 2rem;
}

.benefit-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: var(--light-grey);
    margin: 0 0 0.5rem 0;
}

.benefit-item h4 svg {
    stroke: var(--muted-gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefit-item p {
    margin: 0;
    color: #aaa;
    padding-left: calc(24px + 0.75rem); /* Align with text */
}

.applications-section {
    background-color: var(--deep-blue);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}

.applications-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-top: 0;
}

.applications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem;
}

.applications-grid span {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--muted-gold);
    font-weight: 700;
}

.service-cta {
    text-align: center;
    padding: 3rem 0;
}

.service-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--muted-gold);
}

.service-gallery-section {
    padding: 2rem 0;
    text-align: center;
}

.service-gallery-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--muted-gold);
}
