/* ========== GEMOLOGICAL LABORATORY PAGE ========== */
.gemology-page {
    width: 100%;
    font-family: var(--font-family); /* Updated to use your global font */
}

/* --- Hero Section --- */
.gem-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.gem-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.3);
    z-index: 0;
}
.gem-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    width: 100%;
}

/* NEW: Styling for the logo image */
.gem-hero-logo {
    max-width: 750px;   /* Adjust this based on the actual resolution of your image */
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Intro Section --- */
.gem-intro {
    background-color: var(--color-light-gray); /* Updated to use root variable */
    padding: 60px 0;
    text-align: center;
}
.gem-title-center {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}
.gem-desc-center {
    font-size: 1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Experts Section --- */
.gem-experts {
    background-color: var(--color-white);
    padding: 60px 0 80px 0;
}
.gem-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr; /* Center column slightly wider */
    gap: 40px;
    align-items: center;
}
.gem-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
.gem-title-left {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}
.gem-desc-left {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* --- Services Section (Deep Dark Blue) --- */
.gem-services {
    background-color: var(--color-dark); /* Updated to match your dark blue variable */
    padding: 80px 0;
}
.gem-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.gem-services .gem-img-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.3); /* Shadow using --color-black base */
}
.gem-title-left.gold-accent {
    color: var(--color-white);
}
.gem-title-left.gold-accent::before {
    /* Gold accent mark next to the title */
    content: '';
    display: inline-block;
    width: 4px; 
    height: 25px;
    background-color: var(--color-primary); /* Updated to your primary gold */
    margin-right: 12px;
    vertical-align: middle;
}
.gem-desc-left.text-white {
    color: var(--color-white);
    opacity: 0.9;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .gem-hero-texts h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .gem-hero { min-height: 50vh; }
    .gem-hero-logo {
        max-width: 400px; /* Scale down neatly for mobile screens */
        width: 85%;
    }
    
    .gem-grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .gem-grid-2 { grid-template-columns: 1fr; gap: 30px; }
    
    .gem-experts .gem-text-col { text-align: center; }
    .gem-services { padding: 50px 0; }
    
    .gem-title-left.gold-accent::before { display: none; } /* Remove vertical bar on mobile */
}

/* ========== Hero Section (Report Search Dark Mode) ========== */
.hero.report-search-hero {
    /* Background Image - REPLACE THIS URL with your jeweler inspecting gem image */
    background-image: url('/assets/images/gemLab/jewelry-inspection-bg.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 5rem 0;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: none;
}

/* Dark overlay for optimal text readability */
.hero.report-search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 70% dark overlay */
    z-index: 0;
}

/* Ensure content sits above the dark overlay */
.hero.report-search-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}

.hero.report-search-hero h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero.report-search-hero .hero-subtitle {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ========== SEARCH BAR ========== */
.report-search-form {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    max-width: 550px;
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.report-search-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--color-black);
    background: transparent;
}
.report-search-form input::placeholder {
    color: var(--color-gray);
}

.report-search-form button {
    background-color: var(--color-secondary); /* Dark blue from your variables */
    color: var(--color-primary); /* Gold icon */
    border: none;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.report-search-form button:hover {
    background-color: var(--color-primary); /* Turns Gold on hover */
    color: var(--color-white); /* Icon turns White on hover */
}

.report-search-form button svg {
    stroke: currentColor;
    width: 22px;
    height: 22px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero.report-search-hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .hero.report-search-hero { padding: 3rem 0; min-height: auto; }
    .hero.report-search-hero h1 { font-size: 2.2rem; }
    .hero.report-search-hero .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .report-search-form {
        max-width: 100%;
        border-radius: 4px;
    }
    .report-search-form input { padding: 0.8rem 1rem; font-size: 0.95rem; }
    .report-search-form button { padding: 0 1.2rem; }
}