/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bs-font-sans-serif: 'Roboto', sans-serif;
    --bs-body-font-family: 'Roboto', sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    text-decoration: none;
    color: #333;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007bff;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content Styles */
main {
    margin-top: 70px;
    min-height: calc(100vh - 70px - 300px);
}

.hero {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-articles {
    padding: 4rem 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Newsletter Form */
.cta {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #0056b3;
}

/* Footer Styles */
.site-footer {
    background: #333;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Classified Directory Styles */
.classified-directory {
    padding: 4rem 0;
    background: #f8f9fa;
}

.classified-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.region-group {
    margin-bottom: 2rem;
}

.region-group h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

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

.region-group ul li {
    margin-bottom: 0.5rem;
}

.region-group ul a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.3rem 0;
}

.region-group ul a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .classified-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced SEO Checklist Styles */
.seo-checklist .hero {
    background: linear-gradient(135deg, #1a2a6c 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-checklist .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.svg') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.last-updated {
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.toc-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: -50px auto 3rem;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.toc-content a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.toc-content a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.checklist-article {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.checklist-article:hover {
    transform: translateY(-2px);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.checklist-content {
    flex: 1;
}

.task-title {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.task-example {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.example {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.conclusion {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .toc-content ul {
        grid-template-columns: 1fr;
    }
    
    .checklist-item {
        flex-direction: column;
    }
}

/* Off-Page SEO Checklist Specific Styles */
.off-page .intro-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.off-page .task {
    margin-left: 1rem;
}

.off-page .task strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.off-page .task p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.off-page .check {
    color: #28a745;
    font-size: 1.2rem;
}

.pro-tip {
    background: #e8f4ff;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.pro-tip h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Off-Page Specific Additions */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #2ecc71;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.checklist-section h3 i {
    margin-right: 0.5rem;
    color: #007bff;
}

.checklist-item i {
    color: #2ecc71;
    font-size: 1.2rem;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    padding: 0.5rem 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0.5rem 0;
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
    }
}

/* Backlinks Guide Styles */
.backlinks-guide .hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.backlinks-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.backlinks-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-intro {
    color: #666;
    margin-bottom: 1.5rem;
}

.backlinks-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.backlinks-list li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.backlinks-list li:last-child {
    border-bottom: none;
}

.backlinks-list li:hover {
    background-color: #f8f9fa;
}

.section-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.section-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .backlinks-section {
        padding: 1.5rem;
    }
    
    .backlinks-list li {
        padding: 0.75rem;
    }
}

/* Article Submission Page Styles */
.article-submission .site-category {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.site-info h4 {
    margin: 0;
    color: #1a2a6c;
}

.site-info p {
    margin: 0;
    color: #666;
}

.site-info a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.site-info a:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Business Listing Page Styles */
.business-listing .hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-listing .site-category {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.business-listing .site-info {
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-listing .site-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.business-listing .content {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Profile Creation Page Styles */
.profile-creation .hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-creation .site-category {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.profile-creation .site-info {
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-creation .site-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-creation .content {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Directory Submission Page Styles */
.directory-submission .hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.directory-submission .site-category {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.directory-submission .site-info {
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directory-submission .site-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.directory-submission .content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pro-tip {
    background: #f8f9fa;
    border-left: 4px solid #2ecc71;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.pro-tip h4 {
    color: #2ecc71;
    margin-top: 0;
    margin-bottom: 1rem;
}

.backlinks-list.pro-tips li {
    border-left: 4px solid #007bff;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    border-radius: 0 4px 4px 0;
}

.backlinks-section .pro-tip ul {
    list-style: none;
    padding-left: 0;
}

.backlinks-section .pro-tip li {
    color: #666;
    margin-bottom: 0.5rem;
    font-family: monospace;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
} 