/* ==================================================
   RESET
================================================== */

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

html {
    scroll-behavior: smooth;
}

/* ==================================================
   BODY - MODERN & DYNAMIC
================================================== */

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #1a2a1a;
    line-height: 1.7;
    padding-top: 100px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ORIGINAL BACKGROUND IMAGE - RESTORED */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/salustania.png") center center no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* ADDITIONAL OVERLAY FOR DEPTH */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(67, 177, 67, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(67, 177, 67, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ==================================================
   HEADER - GLASS MORPHISM
================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(67, 177, 67, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-shadow: 0 4px 30px rgba(67, 177, 67, 0.25);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(67, 177, 67, 0.96);
    box-shadow: 0 4px 40px rgba(67, 177, 67, 0.35);
}

.logo img {
    height: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ==================================================
   NAVIGATION - ENHANCED
================================================== */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #ffffff, #c8e6c9);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* ==================================================
   CATEGORY BAR - MODERN
================================================== */

.category-bar {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(67, 177, 67, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 999;
}

.category-container {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.category-container a {
    text-decoration: none;
    color: #2f8f2f;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-container a:hover {
    background: linear-gradient(135deg, #43B143, #2f8f2f);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 177, 67, 0.3);
}

/* ==================================================
   SECTION - SOLID GREEN BORDER - NO MOVEMENT
================================================== */

.section {
    max-width: 1200px;
    margin: 25px auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border-top: 6px solid #43B143;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* NO .section:hover - COMPLETELY REMOVED */

.section h2 {
    font-size: 38px;
    color: #1a4a1a;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 5px;
    background: linear-gradient(to right, #43B143, #79C679, #a8d5a8);
    border-radius: 3px;
}

.section h2::before {
    content: '✦';
    color: #43B143;
    margin-right: 12px;
    font-size: 32px;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.section p {
    font-size: 17px;
    color: #1e2a1e;
    line-height: 2;
    text-align: left;
}

.section p b {
    color: #2f8f2f;
    font-weight: 700;
}

/* ==================================================
   CLIENT CATEGORY - ENHANCED
================================================== */

.client-category {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 6px solid #43B143;
    border-radius: 18px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.06),
        0 2px 10px rgba(67, 177, 67, 0.06);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 170px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(67, 177, 67, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.client-category::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(67, 177, 67, 0.08),
            transparent 70%);
}

/* ==================================================
   CATEGORY TITLE - ENHANCED
================================================== */

.client-category h3 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #f8fff8, #e8f5e9);
    border-left: 5px solid #43B143;
    border-radius: 12px;
    font-size: 24px;
    color: #1a4a1a;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(67, 177, 67, 0.08);
}

.client-category h3::before {
    content: "";
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #43B143, #79C679);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* ==================================================
   CLIENT GRID
================================================== */

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ==================================================
   CLIENT CARD - ENHANCED
================================================== */

.client-card {
    position: relative;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #43B143;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.client-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg,
            #efefef 0%,
            #e3e3e3 100%);
    box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.10),
                inset 0 -4px 8px rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transition: all 0.3s ease;
}

.client-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    transition: 0.8s;
}

.client-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #2f8f2f;
    box-shadow: 0 20px 45px rgba(67, 177, 67, 0.25);
}

.client-card:hover::after {
    left: 140%;
}

.client-card:hover::before {
    background: linear-gradient(180deg,
            #e8f5e9 0%,
            #c8e6c9 100%);
}

/* ==================================================
   CLIENT LOGO - ENHANCED
================================================== */

.client-card img {
    position: relative;
    z-index: 2;
    display: block;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover img {
    transform: scale(1.10);
    filter: drop-shadow(0 6px 15px rgba(67, 177, 67, 0.2));
}

/* Move Ecoplaza logo slightly downward */
.ecoplaza-logo {
    transform: translateY(6px);
}

.client-card:hover .ecoplaza-logo {
    transform: translateY(6px) scale(1.10);
}

/* ==========================================
   LARGE LOGOS - ENHANCED
========================================== */

.eton-logo {
    max-width: 98%;
    max-height: 98%;
    transform: scale(1.22);
}

.peninsula-logo {
    max-width: 98%;
    max-height: 98%;
    transform: scale(1.22);
}

.streetscape-logo {
    max-width: 98%;
    max-height: 98%;
    transform: scale(1.22);
}

.jnhsm-logo {
    max-width: 98%;
    max-height: 98%;
    transform: scale(1.22);
}

.client-card:hover .eton-logo {
    transform: scale(1.28);
}

.client-card:hover .peninsula-logo {
    transform: scale(1.28);
}

.client-card:hover .streetscape-logo {
    transform: scale(1.28);
}

.client-card:hover .jnhsm-logo {
    transform: scale(1.30);
}

/* ==================================================
   FOOTER - MODERN
================================================== */

footer {
    background: linear-gradient(135deg, #1a4a1a, #2f8f2f);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   SILENT PROTECTION - NO VISIBLE INDICATORS
   ============================================ */

/* Allow pointer events on clickable elements */
[onclick] {
    cursor: pointer !important;
}

/* Prevent image selection and dragging - but keep pointer events for clickable images */
img {
    -webkit-user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Only block pointer events on non-interactive images */
img:not([onclick]) {
    pointer-events: none !important;
}

/* Prevent text selection on the entire page - SILENT */
body {
    -webkit-user-select: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Disable selection on everything - SILENT */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Disable text selection in all text elements - SILENT */
p, h1, h2, h3, h4, h5, h6, span, div, label, button, a {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Prevent text selection highlighting - SILENT */
::selection {
    background: transparent !important;
}

::-moz-selection {
    background: transparent !important;
}

/* ============================================
   SILENT PRINT BLOCKING - NO MESSAGES
   ============================================ */

/* Hide everything when printing - SILENT */
@media print {
    body * {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Completely blank - no message shown */
    html, body {
        background: white !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* No message displayed - just blank pages */
    body::before {
        display: none !important;
    }
}

/* Remove any warning message styling */
.screenshot-warning {
    display: none !important;
}

/* ==================================================
   LARGE LAPTOPS
================================================== */

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

/* ==================================================
   TABLETS
================================================== */

@media (max-width: 992px) {
    body {
        padding-top: 100px;
    }

    header {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }

    .logo img {
        height: 60px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .category-bar {
        top: 120px;
        height: auto;
        padding: 10px 0;
    }

    .category-container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 15px;
    }

    .section {
        margin: 25px 20px;
        padding: 35px;
    }
    
    .section h2 {
        font-size: 32px;
    }

    .client-category {
        scroll-margin-top: 220px;
        padding: 30px;
    }
    
    .client-category h3 {
        font-size: 21px;
    }

    .client-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .client-card {
        height: 180px;
    }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
    body {
        padding-top: 150px;
    }

    header {
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
        height: auto;
        min-height: 90px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }

    .category-container {
        justify-content: center;
        gap: 10px;
    }

    .category-container a {
        font-size: 14px;
        padding: 8px 15px;
    }

    .section {
        margin: 20px 15px;
        padding: 25px;
        border-top: 6px solid #43B143;
    }

    .section h2 {
        font-size: 28px;
    }

    .section h2::before {
        font-size: 26px;
    }

    .client-category {
        padding: 25px;
        scroll-margin-top: 235px;
    }

    .client-category h3 {
        font-size: 20px;
        padding: 10px 18px;
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .client-card {
        height: 170px;
    }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {
    body {
        padding-top: 150px;
    }

    .logo img {
        height: 50px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 12px;
    }

    .category-container {
        gap: 8px;
    }

    .category-container a {
        font-size: 13px;
        padding: 7px 12px;
    }

    .section {
        padding: 20px;
        border-top: 6px solid #43B143;
    }
    
    .section h2 {
        font-size: 24px;
    }

    .section h2::before {
        font-size: 22px;
    }

    .client-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .client-card {
        height: 160px;
    }

    .client-card img {
        max-width: 75%;
        max-height: 75%;
    }
    
    .client-category h3 {
        font-size: 18px;
    }
}