/* Public Holidays Tool Styles */

.tool-page { 
    padding-top: 0; 
}

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

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

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

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

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

.tool-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.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;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

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

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

.meta-separator { 
    opacity: 0.5; 
}

.tool-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

/* Holidays Container */
.holidays-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.12);
    overflow: hidden;
}

.holidays-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 45px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.holidays-header::before {
    content: '🎉';
    position: absolute;
    font-size: 180px;
    opacity: 0.1;
    top: -30px;
    right: -30px;
}

.holidays-header h2 {
    font-size: 38px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.holidays-header p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

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

.holidays-search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(102,126,234,0.3);
}

.holidays-search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    margin-bottom: 15px;
}

.holidays-detect-btn {
    padding: 14px 24px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.holidays-detect-btn:hover {
    background: white;
    color: #667eea;
}

.holidays-detect-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.holidays-input-group {
    position: relative;
}

.holidays-input-group label {
    display: block;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.holidays-input-group select,
.holidays-input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: white;
    transition: all 0.3s;
}

.holidays-input-group select:focus,
.holidays-input-group input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.holidays-search-btn {
    width: 100%;
    padding: 16px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.holidays-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.holidays-loading {
    text-align: center;
    padding: 60px 20px;
}

.holidays-loader {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #f5576c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.holidays-loading p {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.holidays-results {
    display: none;
}

.holidays-results.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.holidays-summary {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.holidays-summary h3 {
    font-size: 24px;
    color: #8b3a3a;
    margin-bottom: 15px;
    font-weight: 700;
}

.holidays-summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

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

.holidays-stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #f5576c;
    margin-bottom: 5px;
}

.holidays-stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.holidays-upcoming {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid #4caf50;
}

.holidays-upcoming h3 {
    font-size: 20px;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 700;
}

.holiday-next-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.holiday-next-icon {
    font-size: 48px;
    min-width: 60px;
    text-align: center;
}

.holiday-next-info {
    flex: 1;
}

.holiday-next-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.holiday-next-date {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.holiday-next-countdown {
    text-align: right;
    font-size: 28px;
    font-weight: 900;
    color: #4caf50;
}

.holidays-list-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.holidays-grid {
    display: grid;
    gap: 15px;
}

.holiday-card {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.holiday-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.holiday-icon {
    font-size: 40px;
    min-width: 50px;
    text-align: center;
}

.holiday-info {
    flex: 1;
}

.holiday-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.holiday-type {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.holiday-date-info {
    text-align: right;
}

.holiday-date {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 3px;
}

.holiday-day {
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

.holidays-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: #e0e0e0;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.filter-tab:hover {
    transform: translateY(-2px);
}

.holidays-info-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.holidays-info-box h4 {
    color: #e65100;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

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

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

.no-holidays {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-holidays-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

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

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

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

.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: #1a1a1a;
    font-weight: 700;
}

.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.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 #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 20px 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: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .tool-header h1 { 
        font-size: 32px; 
    }
    
    .tool-subtitle { 
        font-size: 16px; 
    }
    
    .tool-icon-large { 
        font-size: 52px; 
    }
    
    .holidays-search-grid {
        grid-template-columns: 1fr;
    }
    
    .holiday-card {
        flex-direction: column;
        text-align: center;
    }
    
    .holiday-date-info {
        text-align: center;
    }
    
    .holidays-filter-tabs {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .content-article h2 { 
        font-size: 26px; 
    }
    
    .content-article h3 { 
        font-size: 20px; 
    }
    
    .related-tools-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 480px) {
    .tool-header {
        padding: 40px 15px;
    }
    
    .tool-header h1 { 
        font-size: 26px; 
    }
    
    .tool-subtitle { 
        font-size: 14px; 
    }
    
    .tool-content { 
        padding: 40px 15px; 
    }
    
    .holidays-body {
        padding: 25px 15px;
    }
    
    .seo-content {
        padding: 60px 15px;
    }
    
    .content-article h2 { 
        font-size: 22px; 
    }
    
    .content-article h3 { 
        font-size: 18px; 
    }
    
    .related-tools {
        padding: 25px 15px;
    }
}