/* ============================================
   FABITAT - PAGES STYLESHEET
   Additional styles for inner pages
   ============================================ */

/* Page Hero */
.page-hero {
	padding: 180px 0 100px;
	background-position:center center!important;
	background-size:cover!important;
	background-repeat:no-repeat!important;
	text-align: center;
	color: #FAFAF8;
}

.page-title {
    font-size: 56px;
    color: #FAFAF8;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: #E8E8E6;
}

/* Form Section */
.form-section {
    background-color: #FAFAF8;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.form-intro {
    margin-bottom: 50px;
    text-align: center;
}

.form-intro h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.form-intro p {
    font-size: 17px;
    color: #4A4A4A;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.form-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.form-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A5D4F;
    font-size: 15px;
    font-weight: 500;
}

.form-benefit svg {
    flex-shrink: 0;
}

/* Project Form */
.project-form {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 15px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #2C2C2C;
    background-color: #FAFAF8;
    border: 1px solid #E8E8E6;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A5D4F;
    box-shadow: 0 0 0 3px rgba(74, 93, 79, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    margin-top: 10px;
}

/* Projects Page */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    background-color: #fff;
    color: #4A4A4A;
    border: 1px solid #E8E8E6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #4A5D4F;
    color: #FAFAF8;
    border-color: #4A5D4F;
}

/* How It Works */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #4A5D4F;
    color: #FAFAF8;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.step-description {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
}

/* Prefab Systems */
.system-diagram {
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.diagram-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #1A1A1A;
}

.system-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    color: #4A5D4F;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.feature-content p {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
}

/* Knowledge/Blog */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.article-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
}

.article-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.article-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.article-excerpt {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-link {
    color: #4A5D4F;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.article-link:hover {
    opacity: 0.7;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.about-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit:fill;
    border-radius: 4px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.value-item p {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
}

/* Category Pages */
.category-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.category-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.category-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #FAFAF8;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.category-hero-subtitle {
    font-size: 20px;
    color: #FAFAF8;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Category Overview */
.category-overview {
    background-color: #FAFAF8;
    padding: 100px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.overview-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.overview-text p {
    margin-bottom: 20px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.overview-stat {
    text-align: center;
    padding: 30px 20px;
    background-color: #E8E8E6;
    border-radius: 4px;
}

.overview-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

/* Category Projects */
.category-projects {
    background-color: #FAFAF8;
}

/* Category Features */
.category-features {
    background-color: #E8E8E6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: #FAFAF8;
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    color: #4A5D4F;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.feature-card p {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
}

/* Technical Specs */
.technical-specs {
    background-color: #FAFAF8;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.spec-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid #4A5D4F;
}

.spec-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1A1A1A;
    font-weight: 600;
}

.spec-item p {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
}



.fabitat-blog-detail .blog-main {
	background: #fff;
	padding: 35px;
	border-radius: 8px;
}

.fabitat-blog-detail .blog-hero img {
	width: 100%;
	border-radius: 8px;
	margin-bottom: 25px;
}

.fabitat-blog-detail .blog-category {
	color: #9b7b4b;
	font-size: 13px;
	margin-bottom: 10px;
}

.fabitat-blog-detail .blog-title {
	font-size: 34px;
	margin-bottom: 10px;
	line-height: 1.3;
}

.fabitat-blog-detail .blog-meta {
	font-size: 13px;
	color: #777;
	margin-bottom: 25px;
}

.fabitat-blog-detail .blog-content p {
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 15px;
}

.fabitat-blog-detail .blog-content h2 {
	margin-top: 35px;
	margin-bottom: 15px;
}

.fabitat-blog-detail .blog-quote {
	background: #f7f7f7;
	padding: 20px;
	border-left: 4px solid #9b7b4b;
	margin: 30px 0;
	font-style: italic;
}

.fabitat-blog-detail .blog-content img {
	width: 100%;
	border-radius: 8px;
	margin: 25px 0;
}


.fabitat-blog-detail .sidebar-card {
	background: #fff;
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 25px;
}

.fabitat-blog-detail .sidebar-title {
	font-size: 18px;
	margin-bottom: 15px;
}

.fabitat-blog-detail .recent-post a{
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.fabitat-blog-detail .recent-post img {
	width: 70px;
	height: 60px;
	object-fit: cover;
	border-radius: 6px;
}

.fabitat-blog-detail .category-list a {
	display: block;
	padding: 8px 0;
	text-decoration: none;
	color: #444;
}

.fabitat-blog-detail .category-list a:hover {
	color: #9b7b4b;
}
.fabitat-blog-detail{
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 50px;
}
/* Responsive Design for Pages */
@media (max-width: 768px) {
	.fabitat-blog-detail{
		grid-template-columns: 1fr;
        gap: 40px
	}
    .page-title {
        font-size: 40px;
    }
    .overview-stat{
		padding:25px 0;
	}
    .category-hero {
        height: 50vh;
        min-height: 400px;
    }
    .stat-number{
		font-size: 40px;
	}
    .category-hero-title {
        font-size: 36px;
    }
    
    .category-hero-subtitle {
        font-size: 16px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-image img {
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .project-form {
        padding: 30px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .system-features {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}