/* ============================================
   FABITAT - PREFAB ARCHITECTURE STYLESHEET
   Design: Minimal, Architectural, Premium
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2C2C2C;
    background-color: #FAFAF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1A1A1A;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 24px 0;
}

.nav.scrolled {
    background-color: rgba(250, 250, 248, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.nav.scrolled .logo {
    color: #1A1A1A;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    transition: color 0.3s ease;
}
.nav.scrolled .nav-menu a {
	color:#1A1A1A;
}
.nav.scrolled .nav-menu a:hover, .nav.scrolled .nav-menu a.active {
  color: #4A5D4F;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #A8E1B7;
}

.btn-nav {
    background-color: #4A5D4F;
    color: #FAFAF8 !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-nav:hover {
    background-color: #3a4d3f;
    opacity: 1;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #1A1A1A;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}

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

.hero-subtitle {
    font-size: 20px;
    color: #FAFAF8;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #4A5D4F;
    color: #FAFAF8;
}

.btn-primary:hover {
    background-color: #3a4d3f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 93, 79, 0.3);
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: #FAFAF8;
    border: 2px solid #FAFAF8;
}

.btn-secondary:hover {
    background-color: #FAFAF8;
    color: #4A5D4F;
    opacity: 1;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.section-line {
    width: 80px;
    height: 2px;
    background-color: #4A5D4F;
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* What is Fabitat */
.what-is-fabitat {
    background-color: #FAFAF8;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.column-text {
    padding-right: 20px;
}

.large-text {
    font-size: 22px;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 24px;
    font-weight: 500;
}

.column-text p {
    margin-bottom: 20px;
    color: #4A4A4A;
}

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

/* Trust Indicators */
.trust-indicators {
    background-color: #E8E8E6;
    padding: 80px 0;
}

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

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #4A5D4F;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    color: #4A4A4A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Engineering Standards */
.engineering-standards {
    background-color: #FAFAF8;
    padding: 100px 0;
}

.standards-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.standards-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.standards-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 40px;
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.compliance-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.compliance-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #4A5D4F;
    color: #FAFAF8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1A1A1A;
}

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

.standards-visual {
    position: sticky;
    top: 120px;
}

.seismic-badge {
    background: linear-gradient(135deg, #4A5D4F 0%, #3a4d3f 100%);
    color: #FAFAF8;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(74, 93, 79, 0.2);
}

.seismic-badge svg {
    margin: 0 auto 20px;
    stroke: #FAFAF8;
}

.seismic-badge h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #FAFAF8;
}

.seismic-badge p {
    font-size: 15px;
    color: #E8E8E6;
}

.standards-note {
    background-color: #E8E8E6;
    padding: 24px;
    border-radius: 4px;
    border-left: 4px solid #4A5D4F;
}

.standards-note p {
    font-size: 14px;
    line-height: 1.6;
    color: #2C2C2C;
}

.standards-note strong {
    color: #1A1A1A;
    font-weight: 600;
}

/* Project Categories */
.project-categories {
    background-color: #FAFAF8;
    padding: 100px 0;
}

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

.category-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E8E8E6;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #4A5D4F;
}

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

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

.category-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Trust Indicators */
.trust-indicators {
    background-color: #E8E8E6;
    padding: 80px 0;
}

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

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #4A5D4F;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    color: #4A4A4A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Grid */
.featured-projects {
    background-color: #FAFAF8;
}

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

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

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

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 93, 79, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #FAFAF8;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 28px;
    border: 2px solid #FAFAF8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #FAFAF8;
    color: #4A5D4F;
    opacity: 1;
}

.project-info {
    padding: 28px;
}

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

.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 13px;
    color: #666;
    padding: 4px 12px;
    background-color: #F5F5F3;
    border-radius: 3px;
}

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

/* Applications */
.applications-section {
    background-color: #FAFAF8;
}

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

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

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

.application-icon {
    color: #4A5D4F;
    margin-bottom: 20px;
}

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

.application-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Why Fabitat */
.why-fabitat {
    background-color: #E8E8E6;
}

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

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

.benefit-icon {
    color: #4A5D4F;
    margin-bottom: 20px;
}

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

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

/* CTA Section */
.cta-section {
    background-color: #1A1A1A;
    color: #FAFAF8;
    text-align: center;
    padding: 100px 0;
}

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

.cta-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #E8E8E6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    border-color: #FAFAF8;
    color: #FAFAF8;
}

.cta-section .btn-secondary:hover {
    background-color: #FAFAF8;
    color: #1A1A1A;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: #E8E8E6;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #FAFAF8;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: #B8B8B8;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FAFAF8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #B8B8B8;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #4A5D4F;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3A3A3A;
}

.footer-bottom p {
    font-size: 14px;
    color: #B8B8B8;
}
#whatsapp-link {
	position: fixed;
	bottom: 10px;
	right: 5px;
	z-index: 1000;
	cursor: pointer;
}
#whatsapp-link img {
	width: 50px;
	height: 50px;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .standards-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .standards-visual {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
		background-color: #2C2C2C;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    .mobile-menu-toggle span{
		background-color: #fff;
	} 
	.nav.scrolled .mobile-menu-toggle span{
		background-color: #4A5D4F;
	}
	.nav.scrolled .nav-menu{
		background-color:#fff;
	}
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .column-image img {
        height: 350px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .compliance-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width:768px) and (max-width:991px){ 
	.nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
		background-color: #2C2C2C;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    .mobile-menu-toggle span{
		background-color: #fff;
	} 
	.nav.scrolled .mobile-menu-toggle span{
		background-color: #4A5D4F;
	}
	.nav.scrolled .nav-menu{
		background-color:#fff;
	}
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
}
@media (min-width:992px) and (max-width:1199px){
	.nav-menu{
		gap: 25px;
	}
	.nav-menu a {
		font-size: 14px;
	}
}