/* Promedics Professional Medical Pharmacy - Brand Colors */
:root {
    --primary-teal: #4A8B8B;
    --secondary-teal: #5FA5A5;
    --dark-teal: #2E6A6A;
    --light-teal: #E8F4F4;
    --accent-teal: #6BC4C4;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --border-color: #D1E5E5;
    --success: #28A745;
    --warning: #FFC107;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(74, 139, 139, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-teal);
}

.navbar {
    padding: 0.8rem 0;
}

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

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

.logo-img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.logo h1 {
    display: none;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: var(--primary-teal);
    background: var(--light-teal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 106, 106, 0.95) 0%, rgba(74, 139, 139, 0.92) 100%),
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=80') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.02) 10px,
            rgba(255,255,255,0.02) 20px
        );
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    line-height: 1.6;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-teal);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    padding: 16px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    background: #f8f9fa;
}

.hero-trust-line {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

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

.btn-secondary:hover {
    background: var(--dark-teal);
    border-color: var(--dark-teal);
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    background: linear-gradient(to bottom, #f8fafb 0%, var(--light-teal) 100%);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid var(--primary-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.badge-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(74, 139, 139, 0.2);
}

.badge-icon {
    font-size: 2.8rem;
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 2px 4px rgba(74, 139, 139, 0.3));
}

.badge-item h4 {
    color: var(--dark-teal);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--white);
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 139, 139, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(74, 139, 139, 0.2);
    border-color: var(--primary-teal);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.product-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 1.5rem;
}

.product-badge {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--light-teal);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(74, 139, 139, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(74, 139, 139, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--dark-teal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: var(--white);
}

.info-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.info-section h3 {
    color: var(--dark-teal);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.info-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Product Detail Page */
.product-detail {
    padding: 3rem 0;
    background: var(--white);
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-teal);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.product-image {
    background: var(--light-teal);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

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

.product-info h1 {
    color: var(--primary-teal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-tagline {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.price-box {
    background: var(--light-teal);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-teal);
}

.price-from {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-teal);
}

.dosage-options {
    margin-bottom: 2rem;
}

.dosage-options h3 {
    color: var(--dark-teal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dosage-options ul {
    list-style: none;
    padding: 0;
}

.dosage-options li {
    padding: 0.8rem 1rem;
    background: var(--light-teal);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    color: var(--text-dark);
}

.product-details-section {
    padding: 4rem 0;
    background: var(--light-teal);
}

.related-products {
    padding: 4rem 0;
    background: var(--white);
}

.related-products h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-teal);
}

/* Footer */
footer {
    background: var(--dark-teal);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
    font-size: 1.2rem;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    color: var(--accent-teal);
    font-size: 1.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Icons (Using Unicode/Text) */
.icon-shield::before { content: "🛡️ "; }
.icon-truck::before { content: "🚚 "; }
.icon-lock::before { content: "🔒 "; }
.icon-check::before { content: "✓ "; }

/* Responsive Design */
@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .products-section h2,
    .benefits h2 {
        font-size: 1.8rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Accessibility */
a:focus, button:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

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

.product-card, .benefit-item {
    animation: fadeIn 0.6s ease-out;
}

/* Footer Contact Styling */
.footer-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* Social Links */
.social-links {
    color: rgba(255, 255, 255, 0.7);
}
