/* Vastu Shastra Styles */

/* Page Header */
.vastu-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vastu-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vastu-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

/* Hero Section */
.vastu-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.vastu-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.vastu-hero p {
    font-size: 1.25rem;
    color: #6c757d;
}

/* Philosophy Card */
.philosophy-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.philosophy-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 1.5rem 2rem;
    margin: -2rem -2rem 2rem;
}

.philosophy-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.philosophy-card ul li {
    padding: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.philosophy-card ul li i {
    font-size: 1.2rem;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    background: white;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.category-card .card-body {
    padding: 2rem;
    text-align: center;
}

.category-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.category-card a {
    text-decoration: none;
}

/* Category Icon Colors */
.category-icon-overview {
    color: #667eea;
}

.category-icon-flat {
    color: #10b981;
}

.category-icon-room {
    color: #f59e0b;
}

.category-icon-remedies {
    color: #ef4444;
}

.category-icon-concepts {
    color: #8b5cf6;
}

.category-icon-faq {
    color: #06b6d4;
}

/* Article Cards */
.article-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-card .card-body {
    padding: 2rem;
}

.article-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.article-card .card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card .card-title a:hover {
    color: #f59e0b;
}

.article-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-card .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Article Detail */
.article-detail-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-detail-card .card-body {
    padding: 3rem;
}

.article-detail-card h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

/* Tips Cards */
.tips-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: white;
}

.tips-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
}

.tips-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.tips-card .list-group-item {
    border: none;
    padding: 1rem;
    font-size: 1rem;
    color: #555;
    background: transparent;
    border-bottom: 1px solid #f8f9fa;
}

.tips-card .list-group-item:last-child {
    border-bottom: none;
}

.tips-card .list-group-item i {
    font-size: 1.1rem;
}

/* Quick Tips Grid */
.quick-tips-section {
    margin-top: 3rem;
}

.quick-tips-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.tip-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    background: white;
    border-left: 4px solid #f59e0b;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: #d97706;
}

.tip-card .card-body {
    padding: 1.5rem;
}

.tip-card p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tip-card i {
    color: #f59e0b;
    font-size: 1.2rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: sticky;
    top: 100px;
}

.sidebar-nav-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-nav-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 1.5rem;
}

.sidebar-nav-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.sidebar-nav-card .card-body {
    padding: 1.5rem;
}

.sidebar-nav-card .btn {
    justify-content: flex-start;
    text-align: left;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-nav-card .btn:hover {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    transform: translateX(4px);
}

/* CTA Cards */
.cta-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-card .card-body {
    padding: 3rem;
    text-align: center;
}

.cta-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-card .btn {
    background: white;
    color: #f59e0b;
    border: none;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-card .btn:hover {
    background: #fff;
    color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Sidebar CTA */
.sidebar-cta-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    overflow: hidden;
}

.sidebar-cta-card .card-body {
    padding: 2rem;
    text-align: center;
}

.sidebar-cta-card i {
    font-size: 3rem;
    color: #f59e0b;
}

.sidebar-cta-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.sidebar-cta-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.sidebar-cta-card .btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #d97706;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Alert Styles */
.alert-info {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.alert-warning {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .vastu-header h1,
    .vastu-hero h1 {
        font-size: 2rem;
    }
    
    .vastu-header {
        padding: 3rem 0 2rem;
    }
    
    .article-detail-card .card-body {
        padding: 2rem;
    }
    
    .article-detail-card h1 {
        font-size: 1.75rem;
    }
    
    .sidebar-nav {
        position: static;
        margin-top: 2rem;
    }
    
    .cta-card .card-body {
        padding: 2rem;
    }
    
    .category-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .vastu-header h1,
    .vastu-hero h1 {
        font-size: 1.75rem;
    }
    
    .vastu-header p,
    .vastu-hero p {
        font-size: 1rem;
    }
    
    .article-detail-card .card-body {
        padding: 1.5rem;
    }
    
    .article-detail-card h1 {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .philosophy-card .card-body {
        padding: 1.5rem;
    }
    
    .philosophy-header {
        padding: 1.25rem 1.5rem;
        margin: -1.5rem -1.5rem 1.5rem;
    }
    
    .category-card i {
        font-size: 2.5rem;
    }
    
    .category-card h5 {
        font-size: 1.1rem;
    }
    
    .cta-card .card-body {
        padding: 1.5rem;
    }
    
    .cta-card i {
        font-size: 2.5rem;
    }
    
    .cta-card h4 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .vastu-header,
    .sidebar-nav,
    .cta-card,
    .breadcrumb,
    .btn {
        display: none;
    }
    
    .article-detail-card,
    .tips-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .article-content {
        font-size: 12pt;
        line-height: 1.6;
    }
}
