﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 50%, #e0f0e0 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
    min-height: 100vh;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

/* Header Styles */
#header {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #5d8f6b 100%);
    color: white;
    padding: 25px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

#logo {
    position: relative;
    z-index: 2;
}

#logo h1 {
    font-size: 2.8em;
    margin-bottom: 8px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

.hunza {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nutrition {
    color: #90EE90;
    font-weight: 300;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: 25px;
    color: #f0f8f0;
    letter-spacing: 1px;
}

/* Navigation Styles */
#navigation {
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 100%);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

#navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#navigation li {
    position: relative;
}

/* Remove pseudo-elements from navigation - keep nav clean */
#navigation li::before {
    display: none;
}

#navigation li {
    position: static;
}

#navigation a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    font-size: 1.05em;
    display: block;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

#navigation a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
    color: #ffd700;
}

#navigation a:active {
    transform: translateY(-1px) scale(1.02);
}

/* Main Content Styles */
#main-content {
    padding: 50px 40px;
    min-height: 600px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfa 100%);
}

#content h1 {
    color: #2c5530;
    font-size: 2.5em;
    margin-bottom: 25px;
    border-bottom: 4px solid #4a7c59;
    padding-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

#content h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #90EE90);
    border-radius: 2px;
}

#content h2 {
    color: #4a7c59;
    font-size: 2em;
    margin: 40px 0 20px 0;
    border-left: 6px solid #90EE90;
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(144,238,144,0.1) 0%, transparent 100%);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
}

#content h3 {
    color: #2c5530;
    font-size: 1.5em;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px dotted #90EE90;
}

#content p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

/* Enhanced Lists - Keep the cute leaf emojis! */
#content ul, #content ol {
    margin: 20px 0 20px 45px;
}

#content li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1.05em;
}

#content ul li {
    position: relative;
    padding-left: 5px;
}

#content ul li::before {
    content: '🌿';
    position: absolute;
    left: -30px;
    top: 0;
    font-size: 16px;
    line-height: 1.7;
}

#content ol li {
    padding-left: 10px;
    font-weight: 500;
}

/* Footer lists should be clean */
#footer ul {
    margin: 0;
}

#footer li {
    position: static;
    margin-bottom: 10px;
}

#footer li::before {
    display: none;
}

/* Enhanced Links */
a {
    color: #4a7c59;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: #2c5530;
    border-bottom-color: #90EE90;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Special Elements */
.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff8dc 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 6px solid #2c5530;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.highlight h3 {
    color: #2c5530;
    margin-top: 0;
    font-size: 1.4em;
}

.quote {
    font-style: italic;
    font-size: 1.2em;
    color: #555;
    border-left: 5px solid #90EE90;
    padding: 20px 20px 20px 40px;
    margin: 25px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f8f0 100%);
    border-radius: 0 15px 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4em;
    color: #90EE90;
    position: absolute;
    left: 10px;
    top: -10px;
    font-family: Georgia, serif;
    opacity: 0.5;
}

/* Enhanced Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    margin: 15px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.image-left {
    float: left;
    margin: 0 25px 20px 0;
    max-width: 350px;
}

.image-right {
    float: right;
    margin: 0 0 20px 25px;
    max-width: 350px;
}

.image-center {
    display: block;
    margin: 25px auto;
    text-align: center;
}

/* Enhanced Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

caption {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 15px;
    text-align: left;
}

th {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

tr:nth-child(even) {
    background: #f9f9f9;
}

tr:hover {
    background: linear-gradient(90deg, rgba(144,238,144,0.1) 0%, rgba(144,238,144,0.05) 100%);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Enhanced Footer */
#footer {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: white;
    padding: 40px 0 25px 0;
    margin-top: 50px;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #90EE90, #ffd700);
}

#footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 18px;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border-bottom: 2px solid rgba(255,215,0,0.3);
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #90EE90;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffd700;
    text-decoration: underline;
    transform: translateX(5px);
}

#copyright {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    font-size: 0.95em;
    opacity: 0.8;
    background: rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    #wrapper {
        margin: 0 10px;
    }
    
    #main-content {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    #wrapper {
        margin: 0;
        border-radius: 0;
    }
    
    #main-content {
        padding: 20px 15px;
    }
    
    #navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    #navigation li {
        width: 250px;
        text-align: center;
    }
    
    #navigation a {
        width: 100%;
    }
    
    #logo h1 {
        font-size: 2.2em;
    }
    
    #footer-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
    }
    
    .footer-section {
        min-width: auto;
    }
    
    .image-left, .image-right {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }
    
    #content h1 {
        font-size: 2em;
    }
    
    #content h2 {
        font-size: 1.6em;
    }
    
    #content h3 {
        font-size: 1.3em;
    }
    
    table {
        font-size: 0.9em;
    }
    
    th, td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    #content p {
        font-size: 1em;
    }
    
    .highlight {
        padding: 18px;
        margin: 15px 0;
    }
    
    .quote {
        padding: 15px 15px 15px 30px;
        margin: 15px 0;
    }
    
    ul, ol {
        margin-left: 25px;
    }
    
    ul li::before {
        left: -20px;
    }
}