/* ============================================
   UNDERGROUND PEPTIDE SHOP - MAIN STYLESHEET
   
   COLOR SCHEME:
   - Background: #000000 (black)
   - Primary Text: #FFA500 (orange)
   - Accent/Hover: #FF6B35 (darker orange)
   - Success/Price: #00FF00 (green)
   
   TO CHANGE COLORS:
   1. Find the color hex codes above
   2. Use Find & Replace to change throughout file
   3. Test hover effects after changes
   
   FONT:
   - Main: 'Courier New', monospace
   - To change: Replace font-family values below
   ============================================ */

/* ============================================
   RESET AND BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000; /* Main background color */
    color: #ffffff; /* Main text color */
    font-family: 'Courier New', monospace; /* Main font - change here */
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

/* ============================================
   PASSWORD SCREEN STYLES
   ============================================ */
#password-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.ascii-art {
    font-size: 10px;
    line-height: 1;
    margin-bottom: 30px;
    color: #ff0000;
    white-space: pre;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00000052; /* Glowing effect */
    animation: flicker 2s infinite;
}

/* Flickering animation for headers */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.password-container {
    margin-top: 30px;
}

.password-label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
}

#password-input {
    background-color: #000000;
    border: 2px solid #ff0000;
    color: #ff0000;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 1.1em;
    width: 250px;
    margin-bottom: 20px;
    outline: none;
}

#password-input:focus {
    box-shadow: 0 0 15px #000000;
}

.enter-btn {
    background-color: #000000;
    border: 2px solid #ffffff;
    color: #ff0000;
    padding: 12px 40px;
    font-family: inherit;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.enter-btn:hover {
    background-color: #000000;
    color: #000000;
    box-shadow: 0 0 20px #000000;
    transform: scale(1.05);
}

/* ============================================
   NAVIGATION BAR STYLES
   ============================================ */
.navbar {
    background-color: rgb(0, 0, 0);
    border-bottom: 1px solid #ffffff;
    padding: 10px 20px;
    margin-bottom: 0px;
    position: sticky;
    top: 20px;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2px;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.nav-brand h2 {
    font-size: 2.5em;
    margin: 0;
    text-shadow: 0 0 10px #000000;
}

.nav-subtitle {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Search Container Styles */
.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background-color: #000000;
    border: 2px solid #393939;
    color: #ff0000;
    font-family: inherit;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 0 15px #000000;
}

.search-input::placeholder {
    color: rgba(156, 156, 156, 0.5);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    pointer-events: none;
}

/* Request Button Styles */
.request-btn {
    background-color: #000000;
    border: 1px solid #ffffff;
    color: #f30000;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.request-btn:hover {
    background-color: #000000;
    color: #000000;
    box-shadow: 0 0 15px #000000;
    transform: scale(1.05);
}

/* ============================================
   MAIN CONTENT STYLES
   ============================================ */
#main-content {
    display: none; /* Hidden until password is correct */
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s;
}

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

.header {
    text-align: center;
    margin-bottom: 35px;
    padding: 20px;
    border-bottom: 1px solid #ffffff;
}

.header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.8;
}

/* ============================================
   PRODUCT GRID STYLES
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Individual Product Card */
.product-card {
    border: 1px solid #ffffff;
    padding: 20px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}

/* Hidden state for filtered products */
.product-card.hidden {
    display: none;
}

.product-card:hover {
    box-shadow: 0 0 30px #000000;
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0);
}

/* Scanning line effect on hover */
.product-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0), transparent);
    transition: top 0.5s;
}

.product-card:hover::before {
    top: 100%;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #ffffff;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.product-card:hover .product-image {
    filter: none;
}

.product-name {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #00FF00; /* Green for price */
    text-shadow: 0 0 5px #00ff00ba;
}

/* Learn More Button */
.learn-more-btn {
    background-color: #000000;
    border: 1px solid #ffffff;
    color: #ff0000;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
}

.learn-more-btn:hover {
    background-color: #ba0000;
    color: #000000;
    box-shadow: 0 0 15px #000000;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 50px;
    font-size: 1.2em;
    opacity: 0.7;
}

/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */
.product-page {
    padding: 0;
}

.product-nav {
    margin-bottom: 0;
    position: relative;
}

.back-btn {
    background-color: #000000;
    border: 1px solid #ffffff;
    color: #ff0000;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.back-btn:hover {
    background-color: #b20000;
    color: #000000;
    box-shadow: 0 0 10px #000000;
}

/* Product Detail Container */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Images Column */
.product-images-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-main-image img {
    width: 100%;
    border: 1px solid #ffffff;
    filter: sepia(50%) hue-rotate(15deg) brightness(0.9);
}

.molecular-structure {
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #000000;
    padding: 20px;
}

.molecular-structure h3 {
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2em;
    text-shadow: 0 0 5px #000000;
}

.molecular-structure img {
    width: 100%;
    margin-bottom: 15px;
    
}

.molecular-formula {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Info Column */
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-header {
    border-bottom: 2px solid #d00000;
    padding-bottom: 20px;
}

.product-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #000000;
}

.product-subtitle {
    font-size: 1.1em;
    opacity: 0.8;
    margin-bottom: 15px;
}

.product-detail-price {
    font-size: 1.3em;
    color: #00FF00;
    text-shadow: 0 0 10px #00ff00b6;
}

/* Scientific Description */
.scientific-description h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #000000;
}

.description-section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(255, 165, 0, 0.02);
    border-left: 3px solid #c50000;
}

.description-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffffff;
}

.description-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.effects-list {
    list-style: none;
    padding-left: 0;
}

.effects-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.effects-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #00FF00;
}

/* Request Section */
.request-section {
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #ffffff;
    padding: 30px;
    text-align: center;
}

.availability-notice {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.request-product-btn {
    background-color: #000000;
    border: 3px solid #d00000;
    color: #ffffff;
    padding: 15px 40px;
    font-family: inherit;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    max-width: 300px;
}

.request-product-btn:hover {
    background-color: #da0000;
    color: #000000;
    box-shadow: 0 0 20px #000000;
    transform: scale(1.05);
}

.crypto-notice {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 20px;
    font-style: italic;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 2px solid #939393;
    margin-top: 50px;
    opacity: 0.7;
}

.footer p {
    font-size: 0.9em;
}

.product-footer {
    margin-top: 0;
    padding: 30px 20px;
}

/* ============================================
   RESPONSIVE DESIGN FOR MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Adjust header sizes */
    h1 {
        font-size: 1.8em;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    /* Navigation adjustments */
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
    }
    
    .request-btn {
        width: 100%;
    }
    
    /* Product grid adjustments */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Product detail page adjustments */
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-title {
        font-size: 2em;
    }
    
    /* Password input adjustments */
    #password-input {
        width: 200px;
    }
    
    /* ASCII art adjustments */
    .ascii-art {
        font-size: 6px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .navbar {
        padding: 10px;
    }
    
    .nav-brand h2 {
        font-size: 1.4em;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-name {
        font-size: 1.2em;
    }
    
    .product-price {
        font-size: 1.1em;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

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

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px #000000;
    }
    50% {
        box-shadow: 0 0 30px #000000;
    }
    100% {
        box-shadow: 0 0 10px #000000;
    }
}

/* Loading animation for async operations */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CUSTOM SCROLLBAR (Webkit browsers)
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border: 1px solid #000000;
}

::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border: 1px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #a4a4a4;
}

/* ============================================
   PRINT STYLES (if needed)
   ============================================ */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar,
    .footer,
    .request-btn,
    .learn-more-btn,
    .request-product-btn {
        display: none;
    }
}