/* ============================================================
   Aashray Chemo Pharma — Full Redesign
   Pharmaceutical & Scientific Theme
   Colors: Teal #00695c | Gold #b8860b | White #ffffff
   Font: Inter (loaded via functions.php)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
    background: #f8fafb;
    margin: 0;
    padding: 0;
}

a { color: #00695c; text-decoration: none; transition: color 0.2s; }
a:hover { color: #004d40; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #00695c;
    margin-top: 0;
}

/* ---- Top Bar ---- */
.ae-topbar {
    background: #004d40;
    color: #b2dfdb;
    font-size: 12px;
    padding: 5px 0;
}
.ae-topbar .rcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.ae-topbar-left, .ae-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ae-topbar a { color: #b2dfdb; font-size: 13px; }
.ae-topbar a:hover { color: #ffffff; }
.ae-topbar .lni { margin-right: 5px; color: #80cbc4; }

/* ---- Header / Nav ---- */
#masthead.site-header {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,105,92,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #00695c;
}
#masthead .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 72px;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-branding .custom-logo { max-height: 60px; width: auto; }
.site-branding .site-title {
    font-size: 20px;
    font-weight: 800;
    color: #00695c;
    margin: 0;
    line-height: 1.2;
}
.site-branding .site-title a { color: #00695c; }
.site-branding .site-description {
    font-size: 11px;
    color: #b8860b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Nav Menu */
#site-navigation .rcontainer {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    padding: 0;
}
#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
#primary-menu > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    border-radius: 4px;
    transition: color 0.2s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
    color: #00695c;
    background: transparent;
}
#simple-menu { color: #00695c; font-size: 22px; display: none; }

/* ---- Hero Section ---- */
.ae-hero {
    background: linear-gradient(135deg, #004d40 0%, #00695c 50%, #00796b 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ae-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/svg%3E");
}
.ae-hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
.ae-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
}
.ae-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}
.ae-hero h1 span { color: #80cbc4; }
.ae-hero p {
    font-size: 18px;
    color: #b2dfdb;
    max-width: 640px;
    margin: 0 auto 32px;
}
.ae-hero-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.ae-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}
.ae-btn-primary {
    background: #ffffff;
    color: #00695c;
    border: 2px solid #ffffff;
}
.ae-btn-primary:hover { background: #e0f2f1; border-color: #e0f2f1; color: #004d40; }
.ae-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.5);
}
.ae-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ---- Stats Bar ---- */
.ae-stats {
    background: #00796b;
    color: #ffffff;
    padding: 22px 20px;
}
.ae-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ae-stat-item { text-align: center; }
.ae-stat-number { font-size: 28px; font-weight: 800; display: block; }
.ae-stat-label { font-size: 13px; opacity: 0.85; font-weight: 500; }

/* ---- Content Area ---- */
#content.site-content { background: #f8fafb; }
#primary.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px;
    margin: 40px 0;
    box-shadow: 0 2px 16px rgba(0,105,92,0.07);
}
.entry-content h2 {
    font-size: 1.55rem;
    color: #004d40;
    border-left: 4px solid #00695c;
    padding-left: 16px;
    margin: 40px 0 18px;
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
    font-size: 1.1rem;
    color: #00695c;
    margin: 28px 0 12px;
    font-weight: 700;
}
.entry-content p {
    color: #4a5568;
    margin-bottom: 16px;
    font-size: 15.5px;
}
.entry-content ul, .entry-content ol {
    padding-left: 20px;
    color: #4a5568;
}
.entry-content ul li, .entry-content ol li {
    margin-bottom: 8px;
    font-size: 15px;
}
.entry-content ul li::marker { color: #00695c; }

/* Product / data tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 10px rgba(0,105,92,0.1);
}
.entry-content table thead th {
    background: #00695c;
    color: #ffffff;
    padding: 13px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.entry-content table tbody tr:nth-child(even) { background: #e8f5e9; }
.entry-content table tbody tr:hover { background: #e0f2f1; }
.entry-content table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #4a5568;
}

/* CAS number badge styling */
.entry-content table tbody td:last-child {
    font-family: monospace;
    font-size: 13px;
    color: #00695c;
    font-weight: 600;
}

/* Highlight boxes */
.entry-content p:last-of-type {
    background: linear-gradient(135deg, #004d40, #00695c);
    color: #ffffff;
    padding: 28px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 40px;
}
.entry-content p:last-of-type a {
    color: #80cbc4;
    font-weight: 700;
}

/* ---- Footer ---- */
#colophon.site-footer {
    background: #004d40;
    color: #80cbc4;
    padding: 60px 20px 30px;
}
.ae-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ae-footer-col h4 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00695c;
    display: inline-block;
}
.ae-footer-col p { font-size: 14px; line-height: 1.8; color: #80cbc4; margin: 0 0 12px; }
.ae-footer-links { list-style: none; padding: 0; margin: 0; }
.ae-footer-links li { margin-bottom: 10px; }
.ae-footer-links a {
    color: #80cbc4;
    font-size: 14px;
    transition: color 0.2s;
}
.ae-footer-links a:hover { color: #ffffff; }
.ae-footer-links a::before { content: '→ '; color: #4db6ac; font-size: 12px; }
.ae-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #80cbc4;
}
.ae-footer-contact-item .icon { color: #4db6ac; font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.ae-footer-contact-item a { color: #80cbc4; }
.ae-footer-contact-item a:hover { color: #ffffff; }

.ae-certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #b2dfdb;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 4px 4px 4px 0;
}

.bottom-footer {
    background: #00251a;
    color: #4db6ac;
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
}
.bottom-footer a { color: #80cbc4; }
.bottom-footer a:hover { color: #ffffff; }

/* ---- Page Banner ---- */
.resoto-page-banner {
    background: linear-gradient(135deg, #004d40, #00695c);
    color: white;
    padding: 40px 20px;
    text-align: center;
}
.resoto-page-banner h1, .resoto-page-banner h2 { color: white; font-size: 2rem; margin: 0; }

/* ---- Hide unused ---- */
.resoto-preloader, .resoto-search, .resoto-hotelcart { display: none !important; }

/* ---- Side Menu ---- */
#resoto-sidemenu { background: #004d40; }
#resoto-sidemenu ul li a { color: #b2dfdb; }
#resoto-sidemenu ul li a:hover { color: #ffffff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .ae-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .entry-content { padding: 28px 20px; }
}
@media (max-width: 640px) {
    #masthead .main-header { padding: 0 16px; min-height: 60px; }
    #primary-menu { display: none; }
    #simple-menu { display: block; }
    .ae-hero { padding: 50px 16px; }
    .ae-hero h1 { font-size: 1.75rem; }
    .ae-stats-inner { gap: 16px; }
    .ae-stat-number { font-size: 22px; }
    .ae-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .entry-content { padding: 20px 16px; margin: 20px 0; }
    .ae-topbar .ae-topbar-right { display: none; }
}
