/* ============================================
   IRONCLAD SECURITY - Main Stylesheet
   Strong, Efficient, Male-Dominated Aesthetic
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #0a0a0a;
    --color-secondary: #1a1a1a;
    --color-accent: #c9a227;
    --color-accent-dark: #9a7b1a;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-text-dark: #333333;
    --color-border: #2a2a2a;
    --color-success: #28a745;
    --color-error: #dc3545;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-condensed: 'Roboto Condensed', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    
    --container-width: 1200px;
    --section-padding: 100px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accent {
    color: var(--color-accent);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.btn-contact {
    background: var(--color-accent);
    color: var(--color-primary) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-contact:hover {
    background: var(--color-accent-dark);
}

.btn-contact::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 16px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon {
    font-size: 24px;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border: 2px solid var(--color-accent);
    padding: 20px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--color-border);
    z-index: -1;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    background: var(--color-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-medium);
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-card-image::before {
    content: attr(data-initials);
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
}

.team-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
}

.team-card-content {
    padding: 24px;
}

.team-card-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.team-card-role {
    font-family: var(--font-condensed);
    font-size: 14px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.team-card-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.team-card-stat {
    text-align: center;
}

.team-card-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.team-card-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews {
    background: var(--color-secondary);
}

.review-stats {
    margin-bottom: 60px;
}

.rating-summary {
    text-align: center;
}

.average-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.rating-stars {
    font-size: 32px;
    color: var(--color-accent);
    letter-spacing: 4px;
}

.rating-count {
    font-family: var(--font-condensed);
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.review-card {
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition-medium);
}

.review-card:hover {
    border-color: var(--color-accent);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.review-date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.review-rating {
    color: var(--color-accent);
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-style: italic;
}

/* Review Form */
.review-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px;
}

.form-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    gap: 8px;
    font-size: 32px;
    color: var(--color-border);
    cursor: pointer;
}

.star-rating-input .star {
    transition: var(--transition-fast);
    user-select: none;
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: var(--color-accent);
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
}

.review-message {
    text-align: center;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    font-weight: 500;
    display: none;
}

.review-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.review-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 8px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.contact-item p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.contact-cta {
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 48px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-cta p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-note {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #050505;
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .brand-icon {
    font-size: 32px;
}

.footer-brand .brand-text {
    font-size: 28px;
    display: block;
    margin: 12px 0;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-note {
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-body {
    padding: 48px;
}

/* Profile Modal Styles */
.profile-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-image {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--color-accent);
    opacity: 0.5;
}

.profile-info h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.profile-role {
    font-family: var(--font-condensed);
    font-size: 16px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.profile-bio {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.profile-stats {
    display: flex;
    gap: 32px;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.profile-details h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.skill-tag {
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: var(--font-condensed);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-experience {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.experience-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-primary);
    border-radius: 4px;
}

.experience-year {
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    min-width: 100px;
}

.experience-text {
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .modal-body {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .team-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-form-container {
        padding: 24px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card,
.review-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}