/**
 * Main stylesheet for Hypnotherapy Academy Theme
 */

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: #6B46C1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #553C9A;
}

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.main-content {
    min-width: 0;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info span {
    margin-right: 20px;
}

.header-social a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s;
}

.header-social a:hover {
    color: #6B46C1;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
}

.site-title a {
    color: #1a1a1a;
}

.site-description {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-wrapper ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.menu-wrapper a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.menu-wrapper a:hover {
    color: #6B46C1;
}

.cta-button {
    background: #6B46C1;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #553C9A;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #6B46C1;
    color: #fff;
}

.btn-primary:hover {
    background: #553C9A;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #6B46C1;
    border-color: #fff;
}

.btn-secondary:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #6B46C1;
    border-color: #6B46C1;
}

.btn-outline:hover {
    background: #6B46C1;
    color: #fff;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Welcome Section */
.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.course-title a {
    color: #1a1a1a;
}

.course-title a:hover {
    color: #6B46C1;
}

.course-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1rem;
    margin: 0;
    color: #1a1a1a;
}

.author-title {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Posts & Articles
   ========================================================================== */

article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    margin-bottom: 15px;
}

.entry-meta {
    color: #888;
    font-size: 14px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.entry-content {
    margin-bottom: 30px;
}

.read-more {
    display: inline-block;
    color: #6B46C1;
    font-weight: 600;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar .widget {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #6B46C1;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #fff;
}

.footer-widgets {
    padding: 60px 0;
}

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

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column p {
    color: #ccc;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 8px 0;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: #6B46C1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.footer-bottom {
    background: #0a0a0a;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

.footer-social a {
    color: #fff;
    margin-left: 15px;
}

.footer-social a:hover {
    color: #6B46C1;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-numbers {
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
}

.page-numbers.current {
    background: #6B46C1;
    color: #fff;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 80px 20px;
}

.error-404 .page-title {
    font-size: 8rem;
    color: #6B46C1;
}

.error-message {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 30px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-wrapper {
        display: none;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}