/* Terrapin Surplus - Modern Style */

/* Color Variables - Tactical Theme */
:root {
    --tactical-green: #475e0b;
    --tactical-tan: #cda451;
    --tactical-light-tan: #afc37b;
    --tactical-bg: #8f8875;
    --tactical-dark: #1a1a1a;
    --tactical-black: #000000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1a;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('multicam.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: var(--tactical-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--tactical-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-link {
    color: var(--tactical-light-tan);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.top-link:hover {
    color: var(--tactical-tan);
}

.top-divider {
    color: var(--medium-gray);
    margin: 0 0.5rem;
}

/* Main Navigation */
.main-nav {
    background-color: rgba(255, 255, 255, 0.25) !important;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('multicam.jpg');
    background-blend-mode: overlay;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.main-nav .navbar-brand {
    padding: 0;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.main-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.main-nav .nav-link:hover {
    color: var(--tactical-tan) !important;
}

.main-nav .btn-cta {
    background-color: var(--tactical-green);
    color: var(--white) !important;
    border-radius: 4px;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem;
}

.main-nav .btn-cta:hover {
    background-color: var(--tactical-dark);
    transform: translateY(-2px);
}

.dropdown-menu-dark {
    background-color: var(--tactical-dark);
}

.dropdown-item {
    color: var(--tactical-light-tan) !important;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--tactical-green) !important;
    color: var(--white) !important;
}

.category-dot {
    font-size: 0.5rem;
    margin-right: 0.5rem;
    color: var(--tactical-light-tan);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--tactical-green) 0%, var(--tactical-light-tan) 100%);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

.promo-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../static/multicam.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 94, 11, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 100%;
    width: 450px;
    height: auto;
    filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.7));
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--tactical-tan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-primary {
    background-color: var(--tactical-tan);
    color: var(--tactical-dark);
    border: 2px solid var(--tactical-tan);
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: var(--tactical-tan);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(205, 164, 81, 0.3);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-secondary:hover {
    background-color: var(--white);
    color: var(--tactical-dark);
    transform: translateY(-3px);
}

/* Section Headers */
.category-section,
.featured-section,
.cta-section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--tactical-light-tan);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Selling Points Styling */
.selling-points {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(175, 195, 123, 0.3);
}

.selling-point-text {
    color: var(--white);
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.05rem;
}

/* Products We Believe In Section */
.products-belief-section {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 10px;
    border: 2px solid rgba(175, 195, 123, 0.4);
    backdrop-filter: blur(5px);
}

.products-belief-title {
    color: var(--tactical-tan);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.products-belief-text {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Cards */
.category-card {
    background-color: rgba(255, 255, 255, 0.25);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('multicam.jpg');
    background-blend-mode: overlay;
    border: 2px solid rgba(175, 195, 123, 0.3);
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    display: block;
    height: 100%;
    backdrop-filter: blur(5px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(205, 164, 81, 0.4);
    border-color: var(--tactical-tan);
    color: var(--tactical-tan);
    background-color: rgba(255, 255, 255, 0.35);
}

.category-icon {
    font-size: 3rem;
    color: var(--tactical-light-tan);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2);
    color: var(--tactical-tan);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.category-coming-soon {
    opacity: 0.5;
    cursor: default;
}

.category-coming-soon:hover {
    transform: none;
    border-color: rgba(175, 195, 123, 0.3);
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.25);
}

/* Page Header */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--tactical-light-tan);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.breadcrumb {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--tactical-light-tan);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--tactical-tan);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--medium-gray);
}

/* Products Section */
.products-section {
    padding: 3rem 0 5rem;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.product-description {
    font-size: 0.9rem;
    color: var(--tactical-light-tan);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-product {
    background-color: var(--tactical-green);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-product:hover {
    background-color: var(--tactical-tan);
    color: var(--tactical-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 164, 81, 0.4);
}

/* Product Detail Pages */
.product-detail-section {
    padding: 3rem 0 5rem;
}

.product-detail-card {
    background-color: rgba(255, 255, 255, 0.25);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('multicam.jpg');
    background-blend-mode: overlay;
    border: 2px solid rgba(175, 195, 123, 0.3);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    margin-bottom: 2rem;
}

.product-detail-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.product-detail-card h2,
.product-detail-card h3,
.product-detail-card h4 {
    color: var(--tactical-tan);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}

.product-detail-card p,
.product-detail-card li {
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.8;
}

.product-detail-card ul {
    margin-bottom: 1.5rem;
}

.btn-back {
    background-color: var(--tactical-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn-back:hover {
    background-color: var(--tactical-tan);
    color: var(--tactical-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 164, 81, 0.4);
}

/* Product Cards */
.product-card {
    background-color: rgba(255, 255, 255, 0.25);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('multicam.jpg');
    background-blend-mode: overlay;
    border: 2px solid rgba(175, 195, 123, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(5px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(205, 164, 81, 0.4);
    border-color: var(--tactical-tan);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg,
        rgba(71, 94, 11, 0.95) 0%,
        rgba(26, 26, 26, 0.95) 100%),
        url('../static/multicam.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.cta-list {
    list-style: none;
    padding: 0;
}

.cta-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.cta-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--tactical-tan);
    font-size: 1.3rem;
}

.btn-cta-large {
    background-color: var(--tactical-tan);
    color: var(--tactical-dark);
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-cta-large:hover {
    background-color: var(--white);
    color: var(--tactical-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--tactical-light-tan);
}

/* Footer */
.site-footer {
    background-color: var(--tactical-dark);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: var(--tactical-tan);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.footer-tagline {
    color: var(--tactical-light-tan);
    font-size: 1rem;
    margin-top: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--tactical-tan);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--tactical-light-tan);
    margin-right: 0.5rem;
}

.footer-contact a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--tactical-tan);
}

.footer-divider {
    border-color: var(--medium-gray);
    opacity: 0.3;
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Contact Modal Styling */
.contact-modal-content {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url('multicam.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(175, 195, 123, 0.3);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.8);
}

.contact-modal-content .modal-header {
    padding: 0.5rem 1rem;
    position: relative;
    justify-content: flex-start;
}

.contact-modal-content .btn-close {
    position: relative;
    margin: 0;
    padding: 0.5rem;
    opacity: 0.2;
    font-size: 0.8rem;
}

.contact-modal-content .btn-close:hover {
    opacity: 0.5;
}

.contact-modal-content .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(175, 195, 123, 0.5);
}

.contact-modal-content .form-control:focus {
    background-color: rgba(255, 255, 255, 1);
    border-color: var(--tactical-light-tan);
    box-shadow: 0 0 0 0.25rem rgba(175, 195, 123, 0.25);
}

.contact-modal-content .btn-light {
    background-color: var(--tactical-light-tan);
    border-color: var(--tactical-light-tan);
    color: #000;
}

.contact-modal-content .btn-light:hover {
    background-color: var(--tactical-tan);
    border-color: var(--tactical-tan);
    color: #000;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .main-nav .btn-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 3rem 0;
    }

    .hero-logo {
        width: 300px;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .product-image {
        height: 180px;
    }

    .category-section,
    .featured-section,
    .cta-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .btn-cta-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}
