/* ===================================
   Elite Peptide Company - Stylesheet
   =================================== */

/* Root Variables */
:root {
    --navy: #1A2B4A;
    --white: #FFFFFF;
    --silver: #C0C5CE;
    --accent: #3D5A80;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --border: #E1E4E8;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

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

.nav-links a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    position: relative;
}

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

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

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

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Trust Indicators */
.trust-indicators {
    padding: 4rem 0;
    background: var(--light-bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.trust-icon {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.trust-item p {
    color: var(--text-light);
    margin: 0;
}

/* Section Styling */
.about-section,
.quality-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--navy);
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.value-list {
    list-style: none;
    margin-top: 2rem;
}

.value-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.value-list li:last-child {
    border-bottom: none;
}

.value-list strong {
    color: var(--accent);
}

.about-image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Quality Section */
.quality-section {
    background: var(--light-bg);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.quality-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.quality-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.quality-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.quality-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.quality-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Disclaimer Section - Removed (now in footer) */

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--silver);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    margin: 2rem 0 1rem;
    text-align: justify;
}

.footer-disclaimer p {
    font-size: 0.813rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer strong {
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* Products Page */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    margin: 0;
}

/* Filters */
.filters-section {
    padding: 2rem 0;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
}

.filters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-secondary);
    background: var(--white);
    cursor: pointer;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
    margin-left: auto;
}

.search-box input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-secondary);
}

.search-box svg {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Products Grid */
.products-section {
    padding: 3rem 0 5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    padding: 1.5rem;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-purity {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-ruo {
    background: #FFF3E0;
    color: #E65100;
}

.product-price {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.product-variants {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--navy);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 8px;
    padding: 2rem;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
}

.modal-details h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.product-meta {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-meta p {
    margin-bottom: 0.5rem;
}

.product-meta p:last-child {
    margin-bottom: 0;
}

.purity-badge,
.ruo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.purity-badge {
    background: #E8F5E9;
    border: 1px solid #4CAF50;
}

.ruo-badge {
    background: #FFF3E0;
    border: 1px solid #FF9800;
}

.badge-label {
    font-weight: 700;
    text-transform: uppercase;
}

.modal-disclaimer {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 1.5rem;
}

.product-description h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.product-selector {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.strength-dropdown {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.price-label {
    font-weight: 600;
    color: var(--text-dark);
}

.price-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.modal-actions {
    margin-bottom: 1.5rem;
}

.product-specs h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.product-specs li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: 4rem 0;
    }
}

