/* HOMEPAGE STYLESHEET - Tactical/Military Theme */

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: #1a1a1a;
    position: relative;
}

/* Dark Urban Camouflage */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #2a2f25;
    background-image: 
        /* Large dark patches */
        radial-gradient(circle at 15% 20%, #1a1e16 0%, #1a1e16 80px, transparent 80px),
        radial-gradient(circle at 45% 35%, #1f2419 0%, #1f2419 120px, transparent 120px),
        radial-gradient(circle at 75% 15%, #242920 0%, #242920 90px, transparent 90px),
        radial-gradient(circle at 85% 50%, #1a1e16 0%, #1a1e16 110px, transparent 110px),
        radial-gradient(circle at 25% 65%, #2c312a 0%, #2c312a 100px, transparent 100px),
        radial-gradient(circle at 60% 75%, #1f2419 0%, #1f2419 95px, transparent 95px),
        radial-gradient(circle at 90% 85%, #242920 0%, #242920 85px, transparent 85px),
        radial-gradient(circle at 10% 90%, #2a2f25 0%, #2a2f25 105px, transparent 105px),
        
        /* Medium patches */
        radial-gradient(circle at 35% 10%, #353a2f 0%, #353a2f 60px, transparent 60px),
        radial-gradient(circle at 55% 25%, #2f3429 0%, #2f3429 70px, transparent 70px),
        radial-gradient(circle at 20% 45%, #323730 0%, #323730 65px, transparent 65px),
        radial-gradient(circle at 70% 60%, #2a2f25 0%, #2a2f25 75px, transparent 75px),
        radial-gradient(circle at 40% 80%, #353a2f 0%, #353a2f 55px, transparent 55px),
        radial-gradient(circle at 80% 30%, #2f3429 0%, #2f3429 68px, transparent 68px),
        
        /* Small detail patches */
        radial-gradient(circle at 12% 55%, #3a4034 0%, #3a4034 40px, transparent 40px),
        radial-gradient(circle at 48% 48%, #272c22 0%, #272c22 45px, transparent 45px),
        radial-gradient(circle at 65% 8%, #313629 0%, #313629 38px, transparent 38px),
        radial-gradient(circle at 88% 70%, #3a4034 0%, #3a4034 42px, transparent 42px),
        radial-gradient(circle at 30% 92%, #272c22 0%, #272c22 35px, transparent 35px),
        radial-gradient(circle at 95% 12%, #313629 0%, #313629 40px, transparent 40px);
    
    background-size: 800px 800px, 800px 800px;
    background-position: 0 0, 400px 400px;
}

/* Layer 2: Additional texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 22% 72%, #1a1e16 0%, #1a1e16 55px, transparent 55px),
        radial-gradient(circle at 52% 88%, #2f3429 0%, #2f3429 48px, transparent 48px),
        radial-gradient(circle at 78% 42%, #242920 0%, #242920 52px, transparent 52px),
        radial-gradient(circle at 8% 28%, #353a2f 0%, #353a2f 45px, transparent 45px),
        radial-gradient(circle at 42% 5%, #2c312a 0%, #2c312a 50px, transparent 50px),
        radial-gradient(circle at 68% 95%, #323730 0%, #323730 43px, transparent 43px),
        radial-gradient(circle at 92% 58%, #1f2419 0%, #1f2419 47px, transparent 47px);
    background-size: 600px 600px;
    background-position: 200px 200px;
    opacity: 0.7;
}

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

/* Header - Tactical Style */
.site-header {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.85) 100%);
    border-bottom: 3px solid #5a6b3d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-image {
    height: 80px;
    width: auto;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-title a {
    color: #d4a574;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.site-tagline {
    color: #b8b8b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Navigation - Tactical Menu */
.main-nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-nav > a,
.dropdown-toggle {
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(90, 107, 61, 0.3);
    border: 1px solid #5a6b3d;
    transition: all 0.3s;
    cursor: pointer;
}

.main-nav > a:hover,
.dropdown-toggle:hover {
    background: #5a6b3d;
    border-color: #d4a574;
    color: #fff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 26, 0.98);
    border: 2px solid #5a6b3d;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #3a3a3a;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #5a6b3d;
    color: #fff;
    padding-left: 25px;
}

/* Hero Section - Tactical */
.hero {
    background: linear-gradient(135deg, rgba(45, 58, 31, 0.9) 0%, rgba(73, 84, 46, 0.9) 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 4px solid #d4a574;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="rgba(212,165,116,0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Tactical Style */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #d4a574;
    color: #1a1a1a;
    border-color: #d4a574;
}

.btn-primary:hover {
    background: #c08d5a;
    border-color: #c08d5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #d4a574;
    border-color: #d4a574;
}

.btn-secondary:hover {
    background: #d4a574;
    color: #1a1a1a;
}

.btn-outline {
    background: transparent;
    color: #e0e0e0;
    border-color: #5a6b3d;
}

.btn-outline:hover {
    background: #5a6b3d;
    border-color: #5a6b3d;
    color: #fff;
}

/* Section Styling */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    color: #d4a574;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: #b8b8b8;
    margin-bottom: 40px;
    font-size: 18px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.view-all:hover {
    color: #c08d5a;
    text-decoration: underline;
}

/* Featured Products - Tactical Cards */
.featured-products {
    background: rgba(26, 26, 26, 0.7);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(45, 58, 31, 0.6);
    border: 2px solid #5a6b3d;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 24px;
    color: #d4a574;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-description {
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.product-link:hover {
    color: #c08d5a;
}

/* Blog Posts Section */
.latest-posts {
    background: rgba(26, 26, 26, 0.5);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    background: rgba(45, 58, 31, 0.6);
    border: 2px solid #5a6b3d;
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1a1a1a;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.post-title a {
    color: #d4a574;
    text-decoration: none;
}

.post-title a:hover {
    color: #c08d5a;
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #f5f5f5;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.read-more:hover {
    color: #c08d5a;
}

/* About Section */
.about-section {
    background: rgba(45, 58, 31, 0.4);
}

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

.about-text h2 {
    font-size: 32px;
    color: #d4a574;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-text p {
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    border: 3px solid #5a6b3d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Services CTA */
.services-cta {
    background: rgba(26, 26, 26, 0.8);
    text-align: center;
}

.services-cta h2 {
    font-size: 36px;
    color: #d4a574;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-cta > p {
    color: #b8b8b8;
    margin-bottom: 40px;
    font-size: 18px;
}

.services-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.service-option {
    background: rgba(45, 58, 31, 0.6);
    border: 2px solid #5a6b3d;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: #d4a574;
    transform: translateY(-5px);
}

.service-option.featured {
    border-color: #d4a574;
    background: rgba(73, 84, 46, 0.6);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #d4a574;
    color: #1a1a1a;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.service-option h3 {
    font-size: 24px;
    color: #d4a574;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.price {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-option p {
    color: #f0f0f0;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(45, 58, 31, 0.6);
    text-align: center;
    border-top: 3px solid #5a6b3d;
    border-bottom: 3px solid #5a6b3d;
}

.newsletter-section h2 {
    font-size: 32px;
    color: #d4a574;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.newsletter-section p {
    color: #f0f0f0;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Footer */
.site-footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 3px solid #5a6b3d;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #d4a574;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 18px;
}

.footer-col p,
.footer-col a {
    color: #b8b8b8;
    line-height: 1.8;
    text-decoration: none;
}

.footer-col a:hover {
    color: #d4a574;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .products-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 640px) {
    .logo-image {
        height: 60px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}