/* ========================================
   CANNABIS HEALTH HUB - MASTER STYLESHEET
   ======================================== */

/* ==================
   RESET & BASE STYLES
   ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* ==================
   NAVIGATION
   ================== */
nav {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    color: #a8dadc;
}

/* ==================
   HERO SECTION
   ================== */
.hero {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.95) 0%, rgba(45, 106, 79, 0.95) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232d6a4f" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 5% 100px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ==================
   BUTTONS
   ================== */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: #52b788;
    color: white;
}

.btn-primary:hover {
    background: #40916c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 183, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a4d2e;
    transform: translateY(-2px);
}

/* ==================
   CONTAINER & LAYOUT
   ================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 80px 5%;
}

/* ==================
   SECTION HEADERS
   ================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================
   HEALTH TOPICS GRID
   ================== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.topic-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #52b788;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #52b788, #2d6a4f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.topic-card h3 {
    font-size: 1.5rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.topic-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.topic-card a {
    color: #2d6a4f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.topic-card a:hover {
    gap: 1rem;
}

/* ==================
   CANNABINOID SECTION
   ================== */
.cannabinoid-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.cannabinoid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cannabinoid-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.cannabinoid-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.cannabinoid-card h3 {
    font-size: 1.8rem;
    color: #1a4d2e;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cannabinoid-card .subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.cannabinoid-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==================
   RESEARCH SECTION
   ================== */
.research-section {
    background: white;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.research-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 5px solid #52b788;
    transition: all 0.3s;
}

.research-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.research-card .tag {
    display: inline-block;
    background: #52b788;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.research-card h3 {
    font-size: 1.3rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.research-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.research-card .meta {
    font-size: 0.9rem;
    color: #999;
}

/* ==================
   MYTH VS FACT SECTION
   ================== */
.myth-fact-section {
    background: #f0f4f8;
}

.myth-fact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.myth-fact-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.myth {
    background: #ffebee;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 5px solid #d32f2f;
}

.myth h4 {
    color: #c62828;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.myth p {
    color: #666;
    line-height: 1.7;
}

.fact {
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #388e3c;
}

.fact h4 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fact p {
    color: #666;
    line-height: 1.7;
}

/* ==================
   CTA SECTION
   ================== */
.cta-section {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
    color: white;
    text-align: center;
    padding: 80px 5%;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ==================
   FOOTER - FULL WIDTH SINGLE ROW
   ================== */
footer {
    background: #1a1a1a;
    color: #ccc;
    width: 100%;
}

/* Top Footer Section - Main Links in One Row */
.footer-top {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
    padding: 60px 5%;
    width: 100%;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Fixed 5 columns */
    gap: 2rem;
    padding: 0 3%;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.footer-newsletter input {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-newsletter button {
    width: 100%;
    padding: 10px 15px;
    background: #52b788;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-newsletter button:hover {
    background: #40916c;
    transform: translateY(-2px);
}

/* Middle Footer Section - Social & Quick Info */
.footer-middle {
    background: #252525;
    padding: 40px 5%;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-middle-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3%;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(82, 183, 136, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52b788;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: #52b788;
    color: white;
    transform: scale(1.1);
}

.footer-contact-info {
    display: flex;
    gap: 3rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.footer-contact-item i {
    color: #52b788;
    font-size: 1.1rem;
}

/* Bottom Footer Section - Copyright & Legal */
.footer-bottom {
    background: #1a1a1a;
    padding: 30px 5%;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3%;
}

.footer-copyright {
    color: #999;
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #52b788;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.footer-legal a:hover {
    color: #40916c;
}

/* Medical Disclaimer Row */
.footer-disclaimer {
    background: #0f0f0f;
    padding: 25px 5%;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
    max-width: 1200px;
    margin: 0 auto;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Footer - Only for very small screens */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(5, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-middle-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}


/* ==================
   CARD VARIATIONS
   ================== */

/* Info Card - Blue Theme */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #3498db;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Warning Card - Orange Theme */
.warning-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #f39c12;
}

.warning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Success Card - Green Theme */
.success-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #52b788;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==================
   CONTENT SECTIONS
   ================== */

/* Article/Blog Content Styling */
.content-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.content-area h1 {
    font-size: 2.5rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-area h2 {
    font-size: 2rem;
    color: #1a4d2e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-area h3 {
    font-size: 1.5rem;
    color: #2d6a4f;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content-area p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-area ul,
.content-area ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.content-area li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-area blockquote {
    border-left: 4px solid #52b788;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* ==================
   FORM ELEMENTS
   ================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a4d2e;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #52b788;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==================
   TABLES
   ================== */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

thead {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #555;
}

tr:hover {
    background: #f8f9fa;
}

/* ==================
   BADGES & TAGS
   ================== */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: #52b788;
    color: white;
}

.badge-secondary {
    background: #2d6a4f;
    color: white;
}

.badge-info {
    background: #3498db;
    color: white;
}

.badge-warning {
    background: #f39c12;
    color: white;
}

.badge-danger {
    background: #e74c3c;
    color: white;
}

/* ==================
   ALERTS & NOTIFICATIONS
   ================== */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 5px solid;
}

.alert-success {
    background: #e8f5e9;
    border-color: #388e3c;
    color: #2e7d32;
}

.alert-info {
    background: #e3f2fd;
    border-color: #1976d2;
    color: #0d47a1;
}

.alert-warning {
    background: #fff3e0;
    border-color: #f57c00;
    color: #e65100;
}

.alert-danger {
    background: #ffebee;
    border-color: #d32f2f;
    color: #c62828;
}

/* ==================
   BREADCRUMBS
   ================== */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 1rem 0;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb li {
    color: #666;
}

.breadcrumb li a {
    color: #52b788;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #2d6a4f;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: #999;
}

/* ==================
   PAGINATION
   ================== */
.pagination {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination li a {
    padding: 0.5rem 1rem;
    border: 2px solid #52b788;
    border-radius: 8px;
    color: #52b788;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination li a:hover {
    background: #52b788;
    color: white;
}

.pagination li.active a {
    background: #52b788;
    color: white;
}

/* ==================
   RESPONSIVE DESIGN
   ================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .topics-grid,
    .cannabinoid-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    section {
        padding: 60px 5%;
    }
}

/* ==================
   ANIMATIONS
   ================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ==================
   PRINT STYLES
   ================== */
@media print {
    nav,
    footer,
    .cta-section,
    .btn {
        display: none;
    }

    body {
        background: white;
    }

    .topic-card,
    .cannabinoid-card,
    .research-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
  
  
}
