/* ===================================================
   Websites Showcase Section Styles
   =================================================== */
.websites-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem;
    border-top: 1px solid #e5e5e7;
}

.websites-header {
    margin-bottom: 3rem;
}

.websites-header .section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FF8C02;
    display: block;
    margin-bottom: 0.5rem;
}

.websites-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.website-card {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.website-card:hover {
    transform: translateY(-6px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Mockup Browser Top Bar */
.browser-bar {
    background: #f0f0f2;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid #e5e5e7;
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d0d0d5;
}

.browser-bar .browser-dot:nth-child(1) { background: #ff5f56; }
.browser-bar .browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-bar .browser-dot:nth-child(3) { background: #27c93f; }

/* Preview Image Area */
.website-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8f8f8;
}

.website-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.website-card:hover .website-preview img {
    transform: scale(1.04);
}

.website-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-card:hover .website-overlay {
    opacity: 1;
}

.btn-visit {
    background: #FF8C02;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-visit:hover {
    background: #e07b00;
    transform: scale(1.05);
}

/* Website Card Details */
.website-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.website-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
}

.website-info p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #f2f2f5;
    color: #222222;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .websites-section {
        padding: 3rem 1.5rem;
    }
    .websites-grid {
        grid-template-columns: 1fr;
    }
}