/* Natural Personality Institute - Main Stylesheet */

/* 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-color: #f8f8f8;
}

/* Header styles */
#header-wrap {
    background: linear-gradient(135deg, #4a6fa5 0%, #6b8bc3 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#header-left {
    text-align: center;
}

#title a {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

#title a:hover {
    opacity: 0.9;
}

#tagline {
    font-size: 1.2em;
    color: #e8f0ff;
    margin-top: 10px;
    font-style: italic;
}

/* Navigation styles */
#navbar-1-wrap {
    background: #2c3e50;
    border-bottom: 3px solid #34495e;
}

#navbar-1 {
    max-width: 1200px;
    margin: 0 auto;
}

#nav-1 {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#nav-1 li {
    position: relative;
}

#nav-1 a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#nav-1 a:hover {
    background-color: #34495e;
}

#nav-1 .current-menu-item a {
    background-color: #3498db;
}

/* Sub-menu styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #34495e;
    min-width: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#nav-1 li:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #2c3e50;
}

.sub-menu a:hover {
    background-color: #3498db;
}

/* Video section */
.video-section {
    position: relative;
    background: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.video-overlay {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><rect fill="%23333" width="800" height="400"/><g fill="%23666"><circle cx="200" cy="150" r="30"/><circle cx="400" cy="200" r="25"/><circle cx="600" cy="120" r="35"/></g></svg>');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 20px;
}

.video-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-subtitle {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.play-button {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Profile/Image sections */
.profile-image-section,
.services-image-section {
    background: #2c3e50;
    padding: 40px 20px;
    text-align: center;
}

.profile-image-container,
.services-image-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.profile-image,
.services-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Main content wrapper */
#wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 500px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Content area styles */
#content-sidebar-wrap {
    display: flex;
    gap: 30px;
    padding: 40px;
}

#content-wrap {
    flex: 2;
}

#sidebar-1-wrap {
    flex: 1;
}

/* Content styles */
.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.entry-content h1 {
    color: #2c3e50;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

.entry-content h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.entry-content h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin: 25px 0 15px 0;
}

.entry-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.entry-content ol, .entry-content ul {
    margin: 20px 0 20px 40px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #2980b9;
}

.entry-content strong {
    color: #2c3e50;
}

/* Special content sections */
.books-section {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.books-section h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1.8em;
}

.books-section ol {
    margin-left: 20px;
}

.books-section li {
    margin-bottom: 8px;
    font-weight: bold;
}

.articles-section {
    margin: 30px 0;
}

.articles-section h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1.8em;
}

.articles-section ul {
    list-style: none;
    margin-left: 0;
}

.articles-section li {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
}

.implications-section {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.implications-section h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.testimonials-link {
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin: 30px 0;
}

.testimonials-link a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.testimonials-link a:hover {
    color: #c0392b;
}

/* Form and interactive elements */
.questionnaire-section {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.questionnaire-section a {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.questionnaire-section a:hover {
    background: #2980b9;
}

.note-section {
    background: #fff9c4;
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.contact-section {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.contact-section a {
    color: #3498db;
    text-decoration: underline;
}

.contact-section a:hover {
    color: #5dade2;
}

/* Sidebar styles */
#sidebar-1 {
    background: #ecf0f1;
    padding: 30px;
    border-radius: 10px;
}

.widget {
    margin-bottom: 30px;
}

.widget img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.widgettitle {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.textwidget {
    line-height: 1.6;
}

/* Footer styles */
#footer-wrap {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

#footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-text {
    line-height: 1.8;
}

.footer-textwidget {
    background: #34495e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    #nav-1 {
        flex-direction: column;
    }
    
    #content-sidebar-wrap {
        flex-direction: column;
        padding: 20px;
    }
    
    #title a {
        font-size: 2em;
    }
    
    .video-title {
        font-size: 1.8em;
    }
    
    .entry-content h1 {
        font-size: 2em;
    }
    
    .entry-content h2 {
        font-size: 1.5em;
    }
}

/* Utility classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Loading animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Hover effects */
.widget:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    #navbar-1-wrap, #sidebar-1-wrap, #footer-wrap {
        display: none;
    }
    
    #wrap {
        box-shadow: none;
        max-width: 100%;
    }
    
    body {
        background: white;
    }
}