/* Tool Page Common Styles */
.tool-page {
    padding-top: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #f5576c;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #ddd;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* Tool Header */
.tool-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 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: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.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-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-separator {
    opacity: 0.5;
}

/* Tool Content */
.tool-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

/* Anniversary Calculator Specific Styles */
.anniversary-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.12);
    overflow: hidden;
}

.anniversary-body {
    padding: 40px 30px;
}

.anniversary-input-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.anniversary-input-group {
    margin-bottom: 0;
}

.anniversary-input-group label {
    display: block;
    font-weight: 700;
    color: #8b3a3a;
    margin-bottom: 12px;
    font-size: 16px;
}

.anniversary-input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 3px solid #fff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
    background: white;
}

.anniversary-input-group input:focus {
    outline: none;
    border-color: #f5576c;
    box-shadow: 0 0 0 4px rgba(245,87,108,0.2);
}

.anniversary-calc-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.anniversary-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,87,108,0.4);
}

.anniversary-result {
    margin-top: 35px;
    display: none;
}

.anniversary-result.show {
    display: block;
    animation: fadeInUp 0.6s;
}

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

.anniversary-hero-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.anniversary-hero-card::before {
    content: '💑';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -40px;
    left: -40px;
}

.anniversary-hero-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
}

.anniversary-years {
    font-size: 64px;
    font-weight: 900;
    margin: 15px 0;
    line-height: 1;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.anniversary-milestone {
    font-size: 24px;
    font-weight: 600;
    margin-top: 15px;
    opacity: 0.95;
}

.anniversary-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.anniversary-stat-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 5px solid #f5576c;
    transition: all 0.3s;
}

.anniversary-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.anniversary-stat-card h4 {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.anniversary-stat-card p {
    font-size: 32px;
    font-weight: 800;
    color: #f5576c;
    margin: 0;
}

.anniversary-stat-card .subtitle {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    margin-top: 5px;
}

.anniversary-milestones {
    background: white;
    border: 3px solid #ffecd2;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.anniversary-milestones h3 {
    font-size: 24px;
    color: #f5576c;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.milestone-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to right, #fff5f5, #ffffff);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 5px solid #f5576c;
    transition: all 0.3s;
}

.milestone-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.milestone-icon {
    font-size: 40px;
    margin-right: 20px;
    min-width: 50px;
}

.milestone-info {
    flex: 1;
}

.milestone-year {
    font-size: 22px;
    font-weight: 700;
    color: #f5576c;
    margin-bottom: 5px;
}

.milestone-name {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.milestone-date {
    font-size: 14px;
    color: #999;
    margin-top: 3px;
}

.anniversary-traditions {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.anniversary-traditions h3 {
    font-size: 22px;
    color: #2d3436;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

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

.tradition-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tradition-card h4 {
    font-size: 16px;
    color: #f5576c;
    margin-bottom: 8px;
    font-weight: 700;
}

.tradition-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.anniversary-tips {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 25px;
    border-radius: 12px;
}

.anniversary-tips h4 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.anniversary-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.anniversary-tips li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* SEO Content Section */
.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: #333;
}

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

.content-article h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #333;
}

.content-article p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.content-article ul,
.content-article ol {
    margin-bottom: 25px;
    padding-left: 30px;
    color: #666;
}

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

.content-article strong {
    color: #333;
    font-weight: 700;
}

/* Related Tools */
.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

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

.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 #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #f5576c;
}

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

.related-tool-card .tool-name {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* 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;
    }
    
    .anniversary-container {
        margin: 20px;
        border-radius: 20px;
    }
    
    .anniversary-body {
        padding: 30px 20px;
    }
    
    .anniversary-input-section {
        padding: 25px 20px;
    }
    
    .anniversary-hero-card {
        padding: 30px 20px;
    }
    
    .anniversary-years {
        font-size: 48px;
    }
    
    .anniversary-milestone {
        font-size: 20px;
    }
    
    .anniversary-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .milestone-item {
        flex-direction: column;
        text-align: center;
    }
    
    .milestone-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .tradition-grid {
        grid-template-columns: 1fr;
    }
    
    .content-article h2 {
        font-size: 26px;
    }
    
    .content-article h3 {
        font-size: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .anniversary-years {
        font-size: 40px;
    }
    
    .anniversary-stat-card p {
        font-size: 28px;
    }
}