/* Kundli Generator Specific Styles */

/* Tool Page Common Styles (inherited from age calculator) */
.tool-page {
    padding-top: 0;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-purple);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.tool-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

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

.tool-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.tool-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.tool-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 16px;
}

.meta-separator {
    opacity: 0.5;
}

.tool-content {
    padding: 60px 20px;
    background: var(--bg-light);
}

/* Kundli Container */
.kundli-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.kundli-header {
    text-align: center;
    color: white;
    margin-bottom: 35px;
}

.kundli-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 900;
}

.kundli-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* Kundli Form */
.kundli-form {
    background: white;
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.kundli-input-group {
    margin-bottom: 25px;
}

.kundli-input-group label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.kundli-input-group label i {
    color: #ff6b6b;
    margin-right: 8px;
}

.kundli-input-group input,
.kundli-input-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.kundli-input-group input:focus,
.kundli-input-group select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.kundli-input-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}

.kundli-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kundli-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.kundli-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.kundli-btn i {
    margin-right: 8px;
}

/* Kundli Result */
.kundli-result {
    background: white;
    border-radius: 15px;
    padding: 35px;
    display: none;
    margin-top: 30px;
}

.kundli-result.show {
    display: block;
    animation: slideIn 0.6s ease-out;
}

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

.kundli-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff6b6b;
}

.kundli-result-header h3 {
    font-size: 32px;
    color: #ff6b6b;
    font-weight: 900;
}

.download-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.download-btn i {
    margin-right: 6px;
}

/* Kundli Sections */
.kundli-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 5px solid #ff6b6b;
}

.kundli-section h4 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 800;
}

.kundli-section h4 i {
    color: #ff6b6b;
    margin-right: 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.detail-item.highlight {
    border: 2px solid #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.detail-item .label {
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-item .value {
    display: block;
    font-weight: 800;
    color: #ff6b6b;
    font-size: 18px;
}

/* Rashi Chart */
.rashi-chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: #ddd;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.rashi-house {
    aspect-ratio: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 13px;
    text-align: center;
    position: relative;
}

.rashi-house .house-number {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 10px;
    color: #999;
    font-weight: 700;
}

.rashi-house .rashi-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    font-size: 12px;
}

.rashi-house .planet-list {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 11px;
}

.rashi-house.ascendant {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 2px solid #ff6b6b;
}

/* Planet Table */
.planet-table {
    overflow-x: auto;
}

.planet-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.planet-table th {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}

.planet-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.planet-table tr:hover td {
    background: #fff5f5;
}

.planet-table td:first-child {
    font-weight: 700;
    color: #333;
}

/* Predictions */
.prediction-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
}

.prediction-content h5 {
    color: #ff6b6b;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
}

.prediction-content p {
    color: #555;
    margin-bottom: 15px;
}

.prediction-content ul {
    margin-left: 20px;
    color: #555;
}

.prediction-content li {
    margin-bottom: 8px;
}

/* Info Box */
.kundli-info-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
}

.kundli-info-box h4 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 800;
}

.kundli-info-box h4 i {
    margin-right: 8px;
}

.kundli-info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.kundli-info-box ul {
    margin: 0;
    padding-left: 25px;
    color: #555;
}

.kundli-info-box li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.kundli-info-box strong {
    color: #333;
}

/* Name Suggestions Section */
.name-suggestion-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-left-color: #4CAF50;
}

.name-suggestions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.suggestion-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #4CAF50;
}

.suggestion-box h5 {
    color: #4CAF50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.letters-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.letter-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.names-list {
    line-height: 2;
    color: #555;
    font-size: 15px;
}

.name-item {
    display: inline-block;
    margin-right: 15px;
    font-weight: 600;
    color: #4CAF50;
}

.optional-tag {
    background: #FFA726;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

/* Mool Nakshatra Section */
.mool-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-left-color: #FF9800;
}

.mool-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #FF9800;
}

.mool-warning {
    color: #E65100;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.mool-info ul {
    margin: 15px 0;
    padding-left: 25px;
}

.mool-info li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.mool-info strong {
    color: #E65100;
}

.mool-info .note {
    margin-top: 15px;
    padding: 12px;
    background: #FFF3E0;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
}

/* SEO Content Styles */
.seo-content {
    padding: 80px 20px;
    background: white;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-article h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-article p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 16px;
}

.content-article ul,
.content-article ol {
    margin-bottom: 25px;
    padding-left: 30px;
    color: var(--text-gray);
}

.content-article li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.content-article strong {
    color: var(--text-dark);
    font-weight: 700;
}

.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.related-tools h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #ff6b6b;
}

.related-tool-card .tool-icon {
    font-size: 42px;
}

.related-tool-card .tool-name {
    font-weight: 700;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 32px;
    }
    
    .tool-subtitle {
        font-size: 16px;
    }
    
    .tool-icon-large {
        font-size: 52px;
    }
    
    .tool-meta {
        font-size: 14px;
    }
    
    .kundli-container {
        padding: 25px;
    }
    
    .kundli-header h2 {
        font-size: 28px;
    }
    
    .kundli-form {
        padding: 25px;
    }
    
    .kundli-row {
        grid-template-columns: 1fr;
    }
    
    .kundli-result {
        padding: 25px;
    }
    
    .kundli-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .kundli-result-header h3 {
        font-size: 24px;
    }
    
    .rashi-chart {
        max-width: 100%;
    }
    
    .rashi-house {
        font-size: 11px;
        padding: 5px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .content-article h2 {
        font-size: 26px;
    }
    
    .content-article h3 {
        font-size: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .name-suggestions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tool-header {
        padding: 40px 20px;
    }
    
    .tool-header h1 {
        font-size: 26px;
    }
    
    .kundli-header h2 {
        font-size: 24px;
    }
    
    .kundli-btn {
        font-size: 16px;
        padding: 15px;
    }
    
    .planet-table {
        font-size: 12px;
    }
    
    .planet-table th,
    .planet-table td {
        padding: 10px 8px;
    }
}