/* Shared layout for Natural Supplementss subpages — matches index.html */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #27ae60;
    transition: color 0.3s;
}

a:hover { color: #219a52; }

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #27ae60;
    font-size: 16px;
}

.btn:hover {
    background-color: #219a52;
    border-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #27ae60;
}

.logo span { color: #2c3e50; }

nav ul { display: flex; list-style: none; }

nav ul li { margin-left: 30px; }

nav ul li a {
    color: #2c3e50;
    font-weight: 500;
    font-size: 17px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #27ae60;
    transition: width 0.3s;
}

nav ul li a:hover:after { width: 100%; }

nav ul li a.active { color: #27ae60; }

.header-icons { display: flex; align-items: center; }

.header-icons a {
    margin-left: 25px;
    color: #2c3e50;
    font-size: 22px;
}

.header-icons a:hover { color: #27ae60; }

.language-toggle {
    display: flex;
    align-items: center;
    margin-left: 30px;
    background-color: #f8f9fa;
    padding: 5px;
    border-radius: 25px;
    border: 1px solid #ddd;
}

.language-toggle span {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
}

.language-toggle .active {
    background-color: #27ae60;
    color: white;
}

/* Page hero */
.page-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.82), rgba(39, 174, 96, 0.75)), url('../img/hero/background.png') no-repeat center center/cover;
    padding: 70px 0;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 12px;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Main content card */
.page-section { padding: 60px 0 80px; }

.page-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.page-card h2 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin: 28px 0 10px;
}

.page-card h2:first-child { margin-top: 0; }

.page-card h3 {
    color: #374151;
    font-size: 1.05rem;
    margin: 18px 0 8px;
}

.page-card p, .page-card li {
    color: #4b5563;
    margin-bottom: 10px;
}

.page-card ul, .page-card ol {
    padding-left: 22px;
    margin: 12px 0;
}

.page-card .updated {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.page-card .intro {
    padding: 16px 18px;
    border-left: 4px solid #27ae60;
    background: #f2fbf5;
    border-radius: 0 10px 10px 0;
    margin-bottom: 16px;
}

.page-card .highlight {
    padding: 18px;
    border: 2px solid #27ae60;
    border-radius: 10px;
    background: #f2fbf5;
    margin: 18px 0;
}

.page-card .related {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.page-card .related a {
    display: inline-block;
    margin: 0 14px 8px 0;
    font-weight: 600;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.product-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    background: #fafcfa;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 14px;
    background: white;
    border-radius: 10px;
}

.product-card h3 { color: #27ae60; margin-bottom: 8px; }

.product-card .price { font-weight: 800; color: #2c3e50; }

/* FAQ */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 14px 0;
    background: #fafcfa;
}

.faq-item h3 { color: #27ae60; margin: 0 0 8px; font-size: 1.05rem; }

.faq-item p { margin: 0; }

/* Contact cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.contact-card {
    background: #f2fbf5;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #d1e7dd;
}

.contact-card strong { color: #2c3e50; display: block; margin-bottom: 6px; }

/* SMS form */
.sms-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.sms-form .full { grid-column: 1 / -1; }

.sms-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #2c3e50;
}

.sms-form input, .sms-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cfded4;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.sms-form textarea { min-height: 92px; resize: vertical; }

.sms-consent-box {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 2px solid #27ae60;
    border-radius: 10px;
    background: #f2fbf5;
}

.sms-consent-box input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #27ae60;
}

.sms-consent-box label { margin: 0; font-weight: 600; }

.sms-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 16px 22px;
    background: #27ae60;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.sms-submit:hover { background: #219a52; }

/* Footer */
footer {
    background-color: #1a252f;
    color: #bdc3c7;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    color: #ecf0f1;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #27ae60;
}

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

.footer-column ul li { margin-bottom: 12px; }

.footer-column ul li a {
    color: #bdc3c7;
    transition: all 0.3s;
}

.footer-column ul li a:hover {
    color: #27ae60;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact li i {
    margin-right: 15px;
    color: #27ae60;
    min-width: 20px;
    font-style: normal;
}

.social-icons { display: flex; gap: 15px; margin-top: 20px; }

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
}

.social-icons a:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2c3e50;
    font-size: 0.9rem;
}

.footer-bottom a { color: #27ae60; }

@media (max-width: 768px) {
    .main-header { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 5px 10px; }
    .header-icons { margin-top: 10px; }
    .page-card { padding: 24px; }
    .page-hero { padding: 50px 0; }
    .sms-form { grid-template-columns: 1fr; }
}
