/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */
   :root {
    /* Colors inspired by the logo & request */
    --primary-color: #2b2b2b; /* Dark charcoal/black */
    --secondary-color: #f5a623; /* Gold/Orange */
    --secondary-color-hover: #e0961c;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --border-color: #eaeaea;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #f5a623 0%, #d48806 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

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

/* Background Overlays */
.bg-image-light {
    position: relative;
    background: var(--bg-light); /* Fallback */
    z-index: 1;
}

.bg-image-light::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('Gallery/Ground-up construction/Construction (1).jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* 90% transparency */
    z-index: -1;
}

.bg-image-dark {
    position: relative;
    background: var(--bg-dark); /* Fallback */
    color: var(--white);
    z-index: 1;
}

.bg-image-dark h2, .bg-image-dark h3, .bg-image-dark h4 { 
    color: var(--white); 
}

.bg-image-dark::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('Gallery/Ground-up construction/Construction (4).jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* 90% transparency */
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0961c 0%, #b87500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.full-width { width: 100%; }

/* Utilities */
.underline {
    height: 3px;
    width: 60px;
    background: var(--gold-gradient);
    margin: 15px auto 30px;
}

.underline-left {
    height: 3px;
    width: 60px;
    background: var(--gold-gradient);
    margin: 15px 0 30px;
}

.rounded-img { border-radius: 8px; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 50px;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 80vh;
    min-height: 600px;
    background: url('Gallery/Ground-up construction/Construction (1).jpeg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.hero-buttons .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}
.hero-buttons .btn-secondary:hover {
    color: var(--primary-color);
    background: var(--white);
}

/* Page Header (for subpages) */
.page-header {
    height: 40vh;
    min-height: 300px;
    background: url('Gallery/Bathroom/Bathroom  (3).jpeg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    text-align: center;
}
.page-header h1 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 3rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--secondary-color);
    color: var(--white);
}

.service-card i {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

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

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0) 100%);
    padding: 20px;
    transition: bottom 0.3s ease;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.portfolio-overlay h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    opacity: 0;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item.hide {
    display: none;
}

/* ==========================================================================
   Contact Section (Redesigned)
   ========================================================================== */
.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-hero-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.contact-card i {
    width: 48px;
    height: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p, .contact-card a {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.service-area-box {
    background: rgba(245, 166, 35, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-area-box h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-area-box p {
    color: #e0e0e0;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #0f0f0f;
    color: #888;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.logo-footer {
    height: 100px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero {
        margin-top: 60px;
        padding-top: 60px;
        padding-bottom: 60px;
        height: auto;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
