/* Home Page Styles extracted from Index.cshtml */
.home-container {
    min-height: 100vh;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'EDGE-Bold', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
}

.building-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.building-card:hover img {
    transform: scale(1.05);
}

.building-card:hover .view-details-btn {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4c93 100%);
    transform: translateY(-2px);
}

.building-card:hover .image-overlay {
    background: rgba(0,0,0,0.3);
}

.building-card:hover .zoom-icon {
    opacity: 1;
    transform: scale(1.1);
}

.api-card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Grid and containers */
.buildings-section { padding: 4rem 0; background-color: #f8f9fa; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Headings and text */
.hero-title { font-family: 'P22MackinacPro-Bold', serif; font-size: 3rem; margin-bottom: 1rem; color: #333; }
.hero-subtitle { font-family: 'EDGE-Light', sans-serif; font-size: 1.2rem; color: #666; margin-bottom: 2rem; max-width: 600px; }
.section-title { font-family: 'P22MackinacPro-Bold', serif; text-align: center; margin-bottom: 3rem; color: #333; }
.text-muted { color: #888; }
.text-secondary { color: #666; }

/* Buildings grid */
.buildings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; cursor: grab; }
.building-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: all 0.3s ease; }
.building-image-wrapper { height: 250px; overflow: hidden; position: relative; }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; cursor: pointer; }
.image-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0); transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.zoom-icon { background: rgba(255,255,255,0.9); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; font-size: 20px; }

.link-unstyled { text-decoration: none; color: inherit; }

.building-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 2rem 1.5rem 1.5rem; color: white; }
.building-id { font-family: 'EDGE-Bold', sans-serif; font-size: 0.9rem; opacity: 0.9; margin-bottom: 0.5rem; }
.building-content { padding: 1.5rem; }
.card-title { font-family: 'P22MackinacPro-Bold', serif; margin: 0 0 0.5rem 0; font-size: 1.3rem; color: #333; line-height: 1.3; }
.card-subtitle { font-family: 'EDGE-Light', sans-serif; color: #666; margin: 0 0 1rem 0; font-size: 0.95rem; }
.building-details { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.detail-item { font-family: 'EDGE-Light', sans-serif; font-size: 0.85rem; color: #888; }
.view-details-btn { display: inline-block; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 0.75rem 1.5rem; border-radius: 6px; font-family: 'EDGE-Bold', sans-serif; font-size: 0.9rem; text-align: center; transition: all 0.3s ease; }

/* Empty state */
.no-buildings { text-align: center; padding: 4rem 2rem; }

/* API section */
.api-info-section { padding: 4rem 0; }
.api-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.api-card { background: #f8f9fa; padding: 1.5rem; border-radius: 6px; border-left: 4px solid #007bff; }
.api-card.success { border-left-color: #28a745; }
.api-card.warning { border-left-color: #ffc107; }
.api-card.danger { border-left-color: #dc3545; }
.api-card h4 { font-family: 'EDGE-Bold', sans-serif; margin-bottom: 0.5rem; color: #333; }
.api-card code { font-size: 0.9rem; color: #666; }

/* Homepage Image Modal */
.image-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; cursor: grab; }
.modal-content-fixed { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#homepageModalImage { max-width: 90%; max-height: 90%; object-fit: contain; }
#homepageModalClose { position: fixed; top: 20px; right: 20px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10002; backdrop-filter: blur(5px); box-shadow: 0 2px 10px rgba(0,0,0,0.3); transition: all 0.3s ease; }
#homepageModalTitle { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: white; padding: 10px 20px; border-radius: 20px; font-family: 'EDGE-Light', sans-serif; backdrop-filter: blur(5px); z-index: 10002; }

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .cta-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
    .buildings-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .container { padding: 0 1rem !important; }
    .building-details { flex-direction: column !important; gap: 0.5rem !important; }
}
