/* ========================================
   David Thompson Custom Blades - Styles
   Theme: Dark Forge (Charcoal, Army Green, Steel)
   ======================================== */

:root {
    --orange: #4a5d23;
    --orange-dark: #3d4d1c;
    --orange-light: #5a7028;
    --charcoal: #1a1a1a;
    --charcoal-light: #2a2a2a;
    --steel: #4a4a4a;
    --steel-light: #6a6a6a;
    --cream: #f5f0eb;
    --tan: #e8e0d5;
    --text: #e5e5e5;
    --text-muted: #999;
    --white: #ffffff;
    --black: #0d0d0d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(74, 93, 35, 0.4);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--charcoal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--charcoal);
}

.btn-light {
    background: var(--white);
    color: var(--charcoal);
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 16px 0;
}

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

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

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 2px;
}

.logo-name {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 84px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/products/Resized_20250413_160449.jpeg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.92) 0%, rgba(26, 26, 26, 0.85) 50%, rgba(74, 93, 35, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--orange);
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--charcoal-light);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--orange);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--steel);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.feature-item svg {
    color: var(--orange);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--steel);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--orange);
    z-index: -1;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--charcoal-light);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--steel);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--steel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--charcoal-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--steel);
    transition: var(--transition);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--orange);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--charcoal);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--charcoal-light);
    border: 1px solid var(--steel);
    transition: var(--transition);
}

.contact-method:hover {
    border-left: 4px solid var(--orange);
    transform: translateX(8px);
}

.method-icon {
    width: 52px;
    height: 52px;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.method-text strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.method-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.method-text a {
    color: var(--orange);
}

.method-text a:hover {
    color: var(--orange-light);
}

/* Process Info */
.process-info h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--orange);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--steel);
    color: var(--orange);
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 2px;
}

.step-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--charcoal-light);
    padding: 48px;
    border: 1px solid var(--steel);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--steel);
    background: var(--charcoal);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--text);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--steel);
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--orange);
    border-color: var(--orange);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 60px 0 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.footer-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

    .about-image::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-features {
        flex-direction: column;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .process-steps {
        gap: 20px;
    }
}

/* Mobile menu active state */
.nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--charcoal);
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    gap: 20px;
    border-top: 1px solid var(--steel);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar.scrolled {
    padding: 12px 0;
}
