
/* 1. Base Styles & Typography */
img{
    max-width: 100%;
}

.page-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f9fafb;
    color: #374151;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 2. Header & Navigation */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1rem;
    font-size: 1.125rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3b82f6;
}

/* 3. Main Content */
.main-content {
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

/* 4. Footer */
.site-footer {
    background-color: #f3f4f6;
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* 5. Project Grid and Card Styles */


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

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

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

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
}

.project-content-wrapper {
    padding: 1.5rem;
    flex-grow: 1;
}

.read-more-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

.text-5xl {
    font-size: 3rem;
}

.font-extrabold {
    font-weight: 800;
}

.text-gray-900 {
    color: #111827;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-gray-600 {
    color: #4b5563;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.font-bold {
    font-weight: 700;
}

.border-b {
    border-bottom: 1px solid #e5e7eb;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
}

.cta-section .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.cta-section .subtitle {
    font-size: 1.125rem;
    color: #1d4ed8;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: #3b82f6;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #2563eb;
}
.tech-badge{
    background-color: #3b82f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}
.action-button{
    margin-right: 1rem;
}
.design-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.design-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin: 0 !important;
}

.design-card:hover {
    transform: scale(1.03);
}

.design-image {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.design-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.design-card:hover .design-caption {
    opacity: 1;
}


/* --- Lightbox/Modal Styles --- */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 0.75rem;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
