/* GEC Streamlined & Secure Styles - Version 2.0 */

/* CSS Security Headers */
* {
    box-sizing: border-box;
}

/* Prevent content theft */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Re-enable text selection for readable content */
p, h1, h2, h3, h4, h5, h6, article, section {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* CSS Variables for consistency */
:root {
    --primary-gold: #ffd700;
    --dark-gold: #b8860b;
    --bg-dark: #1a1a1a;
    --bg-darker: #111;
    --text-light: #e0e0e0;
    --text-gold: var(--primary-gold);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.15);
}

/* Header - Optimized */
header {
    background: var(--bg-darker);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    position: relative;
}

.logo-left {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.header-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 1;
}

.header-right {
    width: 100px; /* Match logo width for balance */
}

.header-text h1 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.header-text p {
    margin: 0;
    color: var(--text-light);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.9;
}

/* Navigation - SIMPLE AND RELIABLE */
nav {
    background: rgba(26, 26, 26, 0.95);
    position: sticky;
    top: 0;
    z-index: 1001;
    padding: 0.75rem 0;
}

.nav-toggle-checkbox {
    display: none;
}

.nav-toggle-label {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1003;
    background: var(--primary-gold);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: black;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: black;
    transition: 0.3s;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-toggle-checkbox:checked ~ .nav-menu {
        transform: translateY(0);
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border: 1px solid rgba(255, 215, 0, 0.3);
        background: rgba(255, 215, 0, 0.1);
        width: 250px;
        text-align: center;
        margin: 0.5rem 0;
        display: block;
    }
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Main Content Sections */
section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Manufacturers Section */
.manufacturers-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.manufacturers-section h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.manufacturers-section > p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.manufacturers-list {
    max-width: 900px;
    margin: 0 auto;
}

.manufacturers-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manufacturers-list li {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.manufacturers-list li:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--primary-gold);
    transform: translateX(5px);
    box-shadow: -3px 0 0 var(--primary-gold);
}

.manufacturers-list strong {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.manufacturers-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.manufacturers-list a:hover {
    color: var(--primary-gold);
    opacity: 1;
    text-decoration: underline;
}

.manufacturers-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.manufacturers-expanded.active {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.7s ease-in, opacity 0.5s ease-in;
}

.manufacturers-toggle {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #000;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manufacturers-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold));
}

.manufacturers-toggle:active {
    transform: translateY(0);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .manufacturers-section {
        padding: 1.5rem;
    }
    
    .manufacturers-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .manufacturers-section h3 {
        font-size: 1.5rem;
    }
}

/* Team Section */
.team-container {
    max-width: 1000px;
    margin: 2rem auto 0;
}

.team-verification {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    text-align: center;
}

.cf-turnstile-team {
    margin: 0 auto 1rem auto;
    text-align: center;
}

.team-verification-text {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.team-profiles {
    animation: fadeInUp 0.6s ease-out;
}

.team-member {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.7) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    transition: width 0.3s ease;
}

.team-member:hover::before {
    width: 8px;
}

.team-member:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.team-member-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.team-member-icon {
    font-size: 3.5rem;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(184, 134, 11, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.team-member:hover .team-member-icon {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(184, 134, 11, 0.2));
    transform: scale(1.05);
}

.team-member-info {
    flex: 1;
}

.team-member-name {
    margin: 0 0 0.5rem 0;
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
}

.team-member-position {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.team-member-bio {
    color: var(--text-light);
    line-height: 1.8;
}

.team-member-bio p {
    margin: 0 0 1rem 0;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

/* Security: Prevent easy copying of team info */
.team-profiles {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.team-member-bio {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

@media (max-width: 768px) {
    .team-member {
        padding: 1.5rem;
    }
    
    .team-member-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-member-icon {
        font-size: 3rem;
        min-width: 70px;
        height: 70px;
    }
    
    .team-member-name {
        font-size: 1.5rem;
    }
    
    .team-member-position {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1.25rem;
    }
    
    .team-verification {
        padding: 1rem;
    }
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Contact Section - Enhanced Security */
#contact {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-verification {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    text-align: center;
}

/* Make Cloudflare Turnstile invisible and unobtrusive */
.cf-turnstile {
    margin: 0 auto 1rem auto;
    text-align: center;
    /* Invisible mode - no visual styling needed */
}

.verification-text {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.verification-text::before {
    content: '🔒';
    font-size: 1.1rem;
}

/* Contact Cards - Secure Display */
.contact-details {
    animation: fadeInUp 0.6s ease-out;
    /* Prevent easy copying */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-item:hover::before {
    transform: translateX(100%);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.contact-icon {
    font-size: 2.2rem;
    margin-right: 1rem;
    min-width: 50px;
    text-align: center;
    filter: sepia(1) hue-rotate(35deg) saturate(2) brightness(1.2);
}

.contact-info-text {
    flex: 1;
    text-align: left;
}

.contact-info-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    /* Security: Prevent easy selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

.contact-link:hover::after {
    width: 100%;
}

/* Hide invisible Turnstile */
.cf-turnstile[data-size="invisible"] {
    display: none !important;
}

/* Footer */
footer {
    background: var(--bg-darker);
    text-align: center;
    padding: 2rem;
    border-top: 2px solid var(--primary-gold);
    margin-top: 3rem;
}

footer p {
    margin: 0;
    color: var(--text-light);
    opacity: 0.8;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-text {
        position: static;
        transform: none;
        width: auto;
    }
    
    .header-right {
        display: none;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        font-size: 2rem;
    }
    
    .contact-info-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .contact-verification {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

/* Security: Prevent common attacks */
.contact-details * {
    pointer-events: auto;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .contact-details {
        display: none !important;
    }
    
    .verification-text::after {
        content: " - Contact via website for security";
    }
}