/* Dark shared base */
.team-page,
.contact-page,
.showroom-page {
    background: #0f0f0f;
    color: #e9e9ea;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

/* Full-bleed adjustment where needed */
.contact-page,
.showroom-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Hero shells */
.team-hero,
.contact-hero,
.showroom-hero {
    padding: 150px 20px 70px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.team-hero h1,
.contact-hero h1,
.showroom-hero h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
    color: #fff;
}

.team-hero p,
.contact-hero p,
.showroom-hero p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    color: #cfd0d4;
    line-height: 1.7;
}

/* Individual hero gradients */
.team-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.1) 100%),
        url("../images/hero/hero-lc300.webp") right center / cover no-repeat,
        #0f0f0f;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.08) 100%),
        url("../images/hero/hero-lx600.webp") right center / cover no-repeat,
        #0f0f0f;
}

.showroom-hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.08) 100%),
        url("../images/hero/hero-showroom-in.webp") center 35% / cover no-repeat,
        #0f0f0f;
}

/* Page shells */
.team-shell,
.contact-shell {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px 20px;
}

.showroom-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

/* Cards */
.contact-card,
.intro-card,
.video-card,
.gallery-card,
.contact-map-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px 20px 18px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.contact-card h2,
.contact-card h3,
.intro-card h3,
.gallery-card h3,
.contact-map-card h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-card p,
.contact-card li,
.contact-card td,
.intro-card p,
.gallery-card p {
    color: #cfd0d4;
}

/* Team cards retain their gradient but keep specific tweaks */
.team-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(61, 217, 214, 0.5);
}

.team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 16px 16px 18px;
}

.team-card h3 {
    font-size: 18px;
    margin: 0 0 6px;
    color: #fff;
}

.team-card p {
    margin: 0 0 12px;
    color: #cfd0d4;
    font-size: 14px;
}

/* Pills & badges */
.team-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.2px;
    color: #b4f1f0;
    margin-bottom: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    letter-spacing: 0.2px;
    margin: 0 8px 10px 0;
    color: #b4f1f0;
}

.contact-pill i {
    color: #7bc3ff;
}

/* Contact links */
.contact-card a {
    color: #cfe2ff;
    text-decoration: none;
}

.contact-card a:hover {
    color: #ffffff;
}

/* Info blocks */
.info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.info-block h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
}

.info-block p {
    margin: 0;
    line-height: 1.6;
}

.info-block ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.info-block li {
    margin-bottom: 8px;
}

.info-block strong {
    color: #fff;
}

/* Layouts */
.contact-grid {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 20px;
    align-items: start;
}

.gm-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.gm-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.gm-copy .team-pill {
    margin-bottom: 12px;
}

.gm-copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 26px;
    letter-spacing: -0.3px;
}

.gm-copy p {
    color: #cfd0d4;
    line-height: 1.7;
    margin: 0 0 10px;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.team-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b4f1f0;
    font-weight: 600;
    font-size: 13px;
    margin-right: 14px;
    text-decoration: none;
}

.team-meta a:hover {
    color: #7bc3ff;
}

/* Highlight section (team) */
.team-highlight {
    margin: 50px auto 10px;
    max-width: 1200px;
    padding: 0 20px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.highlight-card {
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(140deg, #3dd9d6, #7bc3ff);
    display: grid;
    place-items: center;
    color: #0f0f0f;
    font-size: 18px;
    font-weight: 700;
}

.highlight-card h4 {
    margin: 0;
    font-size: 15px;
    color: #fff;
}

.highlight-card p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #cfd0d4;
}

.team-quote {
    max-width: 900px;
    margin: 50px auto 30px;
    padding: 30px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(61, 217, 214, 0.15), rgba(123, 195, 255, 0.12));
    border-radius: 16px;
    border: 1px solid rgba(123, 195, 255, 0.35);
    color: #f5f5f7;
    box-shadow: 0 20px 50px rgba(61, 217, 214, 0.18);
}

.team-quote p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.team-quote span {
    color: #0f0f0f;
    background: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.team-cta {
    text-align: center;
    padding: 20px 20px 70px;
}

.team-cta h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.team-cta p {
    color: #cfd0d4;
    margin-bottom: 18px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(120deg, #21e1d9, #7ac7ff);
    color: #0f0f0f;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(61, 217, 214, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(61, 217, 214, 0.35);
}

/* Contact specifics */
.contact-card h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.contact-form-card .form-lede {
    color: #cfd0d4;
    margin-bottom: 14px;
}

.contact-form-card .form-group {
    margin-bottom: 12px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    color: #f5f5f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form-card textarea {
    min-height: 140px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: #7bc3ff;
    box-shadow: 0 0 0 3px rgba(123, 195, 255, 0.18);
    outline: none;
    transform: translateY(-1px);
}

.contact-form-card .submit-button {
    width: 100%;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #fff;
    color: #0f0f0f;
    border: none;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15);
}

.contact-form-card .submit-button:hover {
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.2);
}

.contact-form-card .google-message {
    margin-top: 8px;
    color: #cfd0d4;
}

.contact-form-card .google-message a {
    color: #7bc3ff;
}

.contact-map-wrap {
    max-width: none;
    width: 90%;
    margin: 50px auto 0;
    padding: 0 0 40px;
}

.contact-map-card iframe {
    border-radius: 14px;
    border: none;
    pointer-events: auto;
    width: 100%;
    height: 600px;
}

.contact-map-card .map-container {
    width: 100%;
    margin: 0;
}

.contact-map-card .map {
    height: 600px;
}

/* Showroom specifics */
.intro-card p {
    margin-bottom: 0;
}

.video-card .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.photo-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.photo-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    border-color: rgba(123, 195, 255, 0.35);
}

/* Responsiveness */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-hero,
    .contact-hero,
    .showroom-hero {
        padding: 110px 16px 50px;
    }

    .team-hero h1,
    .contact-hero h1,
    .showroom-hero h1 {
        font-size: 28px;
    }

    .team-card img {
        height: auto;
    }

    .gm-row {
        grid-template-columns: 1fr;
    }

    .gm-photo img {
        height: auto;
    }

    .photo-gallery img {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
