/* Header Component */
.header {
    width: 100%;
    background: var(--header-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    margin-bottom: 4px;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #0088cc, #00a0e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

[data-theme="dark"] .logo {
    background: linear-gradient(45deg, #fe7f01, #fe7f01);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a {
    background-image: inherit;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-color-dark);
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.tagline span {
    border-bottom: 1px dotted var(--text-color);
}

.tagline-secondary {
    color: #666;
    font-size: 14px;
    margin-top: 2px;
    font-style: italic;
    opacity: 0.9;
}

/* Sites Grid Layout */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .sites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Center single card in desktop view */
    .sites-grid:only-child {
        grid-template-columns: minmax(300px, 400px);
        justify-content: center;
    }
}

/* Center single card in all views */
.sites-grid:has(> :only-child) {
    grid-template-columns: minmax(300px, 400px);
    justify-content: center;
}

/* Text Elements */
.thumbs-up-text {
    text-align: center;
    margin: 0 auto 25px;
    color: var(--text-color-dark);
    font-size: 14px;
    font-style: italic;
    max-width: 800px;
    padding: 0 20px;
}

/* Project Info Container */
.project-info-container {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.project-info-text {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 28px;  
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .project-info-text {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.project-info-text:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

[data-theme="dark"] .project-info-text:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.project-info-text h3 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    background: linear-gradient(45deg, #0088cc, #00a0e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .project-info-text h3 {
    background: linear-gradient(45deg, #fe7f01, #ff9533);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-info-text p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 16px 0;
    text-align: left;
    opacity: 0.9;
}

.project-info-text p:last-child {
    margin-bottom: 0;
}

/* Share Buttons */
.share-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 15px;
    padding: 0 20px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.share-button i {
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 768px) {
    .sites-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 40px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .tagline-secondary {
        font-size: 14px;
    }
    
    .project-info-container {
        padding: 0 15px;
        margin: 0 15px 15px;
        max-width: none;
    }

    .project-info-text {
        padding: 20px;
    }

    .project-info-text h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .project-info-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .share-container {
        padding: 0 15px;
        margin: 0 auto 10px;
    }

    .share-button {
        padding: 4px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .share-button i {
        font-size: 13px;
    }
    
    .thumbs-up-text {
        padding: 0 15px;
        margin: 0 auto 20px;
    }
} 