/* === Base Styles === */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(0deg, #181818 0%, #000000cc 100%) no-repeat center center fixed, url('RedlineBackground1.png') no-repeat center center fixed;
    background-size: cover, cover;
    color: #eee;
    min-height: 100vh;
}

/* === Navigation Bar === */
nav {
    width: 100%;
    background: #181818cc;
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0; left: 0; z-index: 100;
    border-bottom: 1px solid #333;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0;
}
.nav-logo-outer {
    height: 100%;
    display: flex;
    align-items: center;
    min-width: 80px;
    position: absolute;
    left: 0; top: 0; bottom: 0;
    z-index: 2;
}
.nav-logo img {
    height: 56px; width: 56px;
    border-radius: 8px;
    display: block;
}
.nav-links-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    pointer-events: none;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    pointer-events: auto;
    background: none;
    position: relative;
    z-index: 1;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color .2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
    color: #ff5252;
    border-bottom: 2px solid #ff5252;
}

/* === Header === */
header {
    padding: 5.5rem 0 2.5rem 0;
    text-align: center;
    color: #fff;
    background: transparent;
    position: relative;
    z-index: 1;
}
.logo-img {
    width: 220px;
    max-width: 95vw;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 20px #d32f2f88);
}

/* === Main Content === */
main {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    background: #131313cc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}
h1, h2 { color: #fff; }
section { margin-bottom: 2rem; }

/* === Links === */
a { color: #ff5252; }
a:hover, a:focus {
    position: relative;
    z-index: 1;
    color: #fff;
    text-decoration: none;
}
a:hover::before, a:focus::before {
    content: '';
    position: absolute;
    left: -6px; right: -6px; top: -2px; bottom: -2px;
    border-radius: 6px;
    z-index: -1;
    box-shadow: 0 0 12px 2px #d32f2f55;
    background: transparent;
    pointer-events: none;
}

/* === Lists === */
.values-list, .asset-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 1.2em;
}
.values-list li, .asset-list li {
    margin-bottom: .5rem;
    padding-left: 1.2em;
    position: relative;
}
.values-list li::before {
    content: "✔";
    color: #d32f2f;
    position: absolute;
    left: 0;
}
.asset-list li::before {
    content: "•";
    color: #d32f2f;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* === Product Cards === */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 0 0;
    padding: 0;
    list-style: none;
}
.product-card {
    background: #232323ee;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .15s;
}
.product-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 4px 16px #d32f2f33;
}
.product-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: .5rem;
}
.product-desc {
    font-size: .98rem;
    color: #ccc;
    margin-bottom: .5rem;
}
.product-tag {
    background: #d32f2f;
    color: #fff;
    font-size: .8rem;
    border-radius: 4px;
    padding: .2em .7em;
    margin-right: .5em;
    margin-bottom: .2em;
    display: inline-block;
}
.product-img {
    width: 100%;
    max-width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: .8rem;
    background: #181818;
    box-shadow: 0 2px 8px #0006;
    display: block;
}

/* === Product Modal === */
.product-modal {
    display: none;
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s cubic-bezier(.4,0,.2,1);
    background: rgba(0,0,0,0.45);
}
.product-modal.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
.product-modal-content {
    position: absolute;
    background: #232323;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 12px;
    max-width: 95vw;
    width: 400px;
    box-shadow: 0 8px 32px #000a, 0 0 12px 2px #d32f2f55;
    text-align: center;
    pointer-events: auto;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
}
.product-modal-img {
    width: 100%; max-width: 340px; height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 12px #0008;
    margin-bottom: 1rem;
}
.product-modal-title { color: #fff; margin: 0.5rem 0 0.5rem 0; }
.product-modal-tags { margin-bottom: 0.7rem; }
.product-modal-tags .product-tag { margin-bottom: 0.2em; }
.product-modal-desc { color: #ccc; margin-bottom: 1rem; }
.product-modal-price { color: #ff5252; font-weight: bold; font-size: 1.1rem; }

/* === Team Cards === */
.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 0 0;
    padding: 0;
    list-style: none;
}
.team-card {
    background: #232323ee;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .15s;
    text-align: center;
}
.team-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 4px 16px #d32f2f33;
}
.team-img {
    width: 100px; height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: .8rem;
    background: #181818;
    box-shadow: 0 2px 8px #0006;
    display: block;
}
.team-name { font-size: 1.1rem; font-weight: bold; color: #fff; margin-bottom: .2rem; }
.team-role { font-size: .95rem; color: #ff5252; margin-bottom: .5rem; font-weight: 500; }
.team-desc { font-size: .95rem; color: #ccc; }

/* === Review Form (Modern, Clean, Easy to Edit) === */
.review-form-card {
    background: #181818;
    border-radius: 18px;
    /* Remove the red glow from here: */
    box-shadow: 0 6px 32px #000a;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 420px;
    margin: 2.5rem auto 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.25s;
}
.review-form-card:hover,
.review-form-card:focus-within {
    box-shadow: 0 6px 32px #000a, 0 0 12px 2px #d32f2f66;
}
.review-form-title {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.modern-review-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-row-center {
    align-items: center;
    justify-content: center;
}
.modern-review-form label {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.modern-review-form input,
.modern-review-form select,
.modern-review-form textarea {
    background: #181818;
    color: #fff;
    border: 1.5px solid #333;
    border-radius: 7px;
    padding: 0.85em 1.1em;
    font-size: 1.05rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.modern-review-form input:focus,
.modern-review-form select:focus,
.modern-review-form textarea:focus {
    border: 1.5px solid #d32f2f;
    box-shadow: 0 0 0 2px #d32f2f33;
}
.modern-review-form textarea {
    min-height: 90px;
    resize: vertical;
}
.modern-btn {
    background: linear-gradient(90deg, #d32f2f 60%, #b71c1c 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.9em 2.2em;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px #d32f2f33;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}
.modern-btn:hover, .modern-btn:focus {
    background: linear-gradient(90deg, #b71c1c 60%, #d32f2f 100%);
    box-shadow: 0 4px 16px #d32f2f55;
    transform: translateY(-2px) scale(1.03);
}
#review-success {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.2rem;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #111a;
    color: #fff;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* === Responsive Design === */
@media (max-width:1300px) {
    .redline-ad { max-width: 110px; width: 9vw; }
    .redline-ad-left { left: 18px; }
    .redline-ad-right { right: 18px; }
}
@media (max-width:1100px) {
    .redline-ad { display: none; }
}
@media (max-width:900px) {
    .logo-img { width: 180px; }
    main { padding: 1rem; }
}
@media (max-width:700px) {
    nav { height: 80px; flex-direction: row; align-items: center; }
    .nav-logo-outer { position: absolute; left: 0; top: 0; bottom: 0; margin-left: 0; margin-top: 0; margin-bottom: 0; }
    .nav-logo img { height: 44px; width: 44px; }
    .nav-links-container { width: 100%; justify-content: center; align-items: center; padding: 0; }
    .nav-links { gap: 1.2rem; padding: 1rem 0; font-size: 1rem; flex-direction: row; }
    .product-modal-content { left: 50%!important; top: 50%!important; transform: translate(-50%,-50%)!important; width: 97vw; }
}
@media (max-width:600px) {
    .logo-img { width: 120px; }
    main { max-width: 99vw; padding: .5rem; }
    .products-list, .team-list { grid-template-columns: 1fr; gap: 1.2rem; }
    .product-img, .team-img { height: 100px; width: 100%; max-width: 100%; }
    .product-card, .team-card { padding: 1rem; }
    .nav-links { flex-direction: row; gap: 1rem; align-items: center; }
    header { padding: 5rem 0 2rem 0; }
    .product-modal-content { padding: 1rem; width: 97vw; }
}

/* Make sure the review form uses the same font as the rest of the site */
.review-form-card,
.modern-review-form,
.modern-review-form label,
.modern-review-form input,
.modern-review-form select,
.modern-review-form textarea,
.modern-btn {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}