/* ====== Reset & Base ====== */

:root {
    --primary: #0b5bd7;
    --primary-dark: #084abf;
    --muted: #6b7280;
    --bg: #f7f9fc;
    --card: #ffffff;
    --shadow-light: rgba(11, 91, 215, 0.12);
    --shadow-strong: rgba(15, 23, 42, 0.1);
    --border-radius: 14px;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: var(--font-sans);
    color: #0f172a;
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: green;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: greenyellow;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}


/* ====== Container ====== */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px;
}


/* ====== Topbar ====== */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e3e8f1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #3d3e3f);
    color: white;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 6px 18px var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.logo:hover {
    box-shadow: 0 8px 22px var(--shadow-strong);
}

.brand h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.brand p {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.contact {
    display: flex;
    gap: 16px;
    align-items: center;
}

.phone {
    background: linear-gradient(90deg, #e0f2ff, #f0f9ff);
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: background-color 0.3s ease;
    cursor: default;
}

.phone:hover {
    background: linear-gradient(90deg, #c4defc, #b9e3ff);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #25d366;
    color: white;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1da851;
}


/* ====== Hero ====== */

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: center;
    padding: 36px 0;
}

.hero-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 36px var(--shadow-strong);
    transition: box-shadow 0.3s ease;
}

.hero-card:hover {
    box-shadow: 0 16px 48px var(--shadow-strong);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 22px;
    border-radius: 14px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-light);
    user-select: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    outline: none;
    box-shadow: 0 6px 18px var(--shadow-strong);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e6eefc;
    color: var(--primary);
    font-weight: 700;
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary);
    color: rgb(23, 37, 230);
    outline: none;
    box-shadow: 0 6px 18px var(--shadow-strong);
}


/* ====== Features ====== */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feat {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: var(--border-radius);
    background: #f0f5ff;
    box-shadow: 0 6px 20px rgba(11, 91, 215, 0.1);
    transition: background-color 0.3s ease;
    cursor: default;
}

.feat:hover {
    background: #e2ecff;
}

.icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4e3ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 78, 255, 0.1);
}


/* ====== Right card (image) ====== */

.promo {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: linear-gradient(180deg, #0a184f, #10387b);
    color: green;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(10, 24, 79, 0.7);
}

.promo h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.promo p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}


/* ====== Services ====== */


/* === General Reset === */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* === Gallery Styles === */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.gallery img,
.gallery .g {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 14px;
    color: #555;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover,
.gallery .g:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


/* === Video Section === */

.video-slideshow {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* === Service Cards with Images === */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Exactly 3 per row */
    gap: 20px;
    margin: 20px 0;
}

.service-card {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 450px;
    /* Fixed height */
    object-fit: cover;
    /* Keeps aspect ratio but fills area */
    object-position: top;
    /* Focus on top part of the image */
    border-radius: 6px;
    margin-bottom: 12px;
}


/*Lights*/

.lighting-projects {
    margin: 50px auto;
    max-width: 100%;
    padding: 0 20px;
}

.lighting-projects h3 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #222;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #ffb400;
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 10px;
    text-align: center;
    background: #f9f9f9;
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


/*Main Gallery*/

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.g {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.g img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.g:hover img {
    transform: scale(1.1);
}

.g p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.g:hover p {
    opacity: 1;
}


/* === Section Headings === */

h3 {
    margin-top: 30px;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    color: blue;
}


/* === Contact Card === */

.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.contact-card a.btn {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn {
    background-color: #0a66df;
    color: white;
}

.btn:hover {
    background-color: #ddd;
}


/* ====== Temporary Logo text tweak ====== */

.logo small {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 600;
}


/*Social Icons */

.icon i {
    font-size: 24px;
    color: var(--primary-color);
    /* or whatever your theme color is */
    width: 30px;
    /* keeps icons aligned */
    text-align: center;
}


/*Language */


/* Container styling */

#google_translate_element {
    display: inline-block;
    margin-left: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    vertical-align: middle;
}


/* Style the select dropdown */

.goog-te-combo {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1.5px solid #0d2b4a;
    background-color: #f9f9f9;
    font-size: 12px;
    color: #0d2b4a;
    cursor: pointer;
    height: 30px;
    /* match typical button height */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    vertical-align: middle;
    min-width: 90px;
}

.goog-te-combo:hover {
    background-color: #e1e8f5;
    border-color: #004f99;
}


/* Optional: Remove Google Translate branding (be cautious with ToS) */

.goog-logo-link,
.goog-te-gadget-icon {
    display: none !important;
}

@media (max-width: 480px) {
    .goog-te-combo {
        font-size: 10px;
        height: 26px;
        min-width: 75px;
        padding: 3px 6px;
    }
}