/* Global Font Cleanup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif !important;
}

:root {
    /* Colors */
    --color-primary: #fdcb6e;
    /* Safety Yellow / Gold */
    --color-primary-dark: #e1b12c;
    --color-dark: #2d3436;
    /* Asphalt Grey */
    --color-dark-light: #636e72;
    --color-light: #f5f6fa;
    --color-white: #ffffff;
    --color-orange: #e67e22;
    --color-success: #00b894;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;

    /* Typography - Professional & Sophisticated */
    --font-heading: 'Playfair Display', serif;
    /* Classic Roman look */
    --font-body: 'Playfair Display', serif;
    /* Clean and legible */

    /* Transitions */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

/* Premium Black/Orange Theme for Sub-pages (.dark-page) */
body.dark-page {
    background-color: #000000 !important; /* Pure Black Wallpaper */
    color: #e67e22 !important; /* Global Orange Font */
}

/* Ensure all sub-page elements use orange when inside .dark-page */
body.dark-page h1, 
body.dark-page h2, 
body.dark-page h3, 
body.dark-page h4, 
body.dark-page h5, 
body.dark-page h6, 
body.dark-page p, 
body.dark-page li, 
body.dark-page a, 
body.dark-page span, 
body.dark-page label, 
body.dark-page input, 
body.dark-page textarea {
    color: #e67e22 !important;
}

/* Deep Dark backgrounds for sections on dark pages */
body.dark-page .section, 
body.dark-page .bg-light, 
body.dark-page .bg-white, 
body.dark-page .split-card.bg-light, 
body.dark-page .about-section, 
body.dark-page .projects-section, 
body.dark-page .services-section {
    background-color: #000000 !important;
}

/* Gallery and Card elements on dark pages */
body.dark-page .gallery-item, 
body.dark-page .team-card, 
body.dark-page .project-card {
    background-color: #111111 !important;
    border: 1px solid rgba(230, 126, 34, 0.3) !important;
}

/* Button behavior on dark pages */
body.dark-page .btn-secondary,
body.dark-page .split-card-btn {
    border: 1px solid #e67e22 !important;
    color: #e67e22 !important;
}

body.dark-page .btn-primary {
    background-color: #e67e22 !important;
    color: #000 !important;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

/* Header & Nav */
.header {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    border-bottom: none !important;
}

.header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 60px !important;
    padding-top: 20px !important; /* Spacing from top as seen in screenshot */
    background: transparent !important;
}

.logo {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    color: #e67e22 !important;
    display: flex !important;
    align-items: baseline !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.pty-ltd {
    font-size: 0.6rem !important;
    margin-left: 0.4rem !important;
    font-weight: 500 !important;
    color: #e67e22 !important;
    opacity: 0.8 !important;
    text-transform: uppercase !important;
}

.nav-list {
    display: flex !important;
    gap: 2rem !important; /* Spaced out exactly like screenshot */
    align-items: center !important;
    list-style: none !important;
}

.nav-link {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    color: #e67e22 !important;
    background-color: transparent !important;
    padding: 0.5rem 0 !important; /* Only vertical padding */
    transition: all 0.3s ease !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    position: relative !important;
}

.nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #e67e22 !important;
}

.nav-link:hover {
    color: #e67e22 !important;
    opacity: 0.8 !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo {
        display: none !important; /* Remove logo on mobile as requested */
    }

    .header-container {
        height: 60px;
        justify-content: flex-end; /* Show burger menu on the right */
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1100;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .nav-list.active {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.5rem !important;
        font-family: 'Playfair Display', serif !important;
        color: var(--color-white) !important;
        letter-spacing: 4px;
        font-weight: 500;
    }

    .nav-link.active {
        color: var(--color-orange) !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Full screen */
    background-color: #2d3436;
    /* Fallback color */
    background-image: url('../assets/jackspaving group photo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: -1px;
    /* Remove faint line artifacts */
    overflow: hidden;
    /* Ensure video doesn't spill out */
}

/* Split Cards Section */
.split-cards-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 800px;
}

.split-card {
    flex: 1;
    min-width: 50%;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

@media (max-width: 768px) {
    .split-card {
        min-width: 100%;
        padding: 4rem 2rem;
    }
}

.bg-light {
    background-color: #f9f9f9 !important;
    color: #2d3436 !important;
}

.bg-orange {
    background-color: #e67e22 !important;
    color: #ffffff !important;
}

.split-card-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.split-card-title {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.split-card-btn {
    padding: 0.6rem 2rem;
    border: 1px solid #e67e22;
    color: #e67e22;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.bg-orange .split-card-btn {
    border-color: #ffffff;
    color: #ffffff;
}

.split-card-btn:hover {
    background-color: #e67e22;
    color: #fff !important;
}

.bg-orange .split-card-btn:hover {
    background-color: #fff;
    color: #e67e22 !important;
}

.split-card-circle-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 4px solid rgba(255,255,255,0.2);
}

.split-card-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Jackspaving Section */
.about-jackspaving {
    background-color: #e67e22 !important;
    color: #ffffff !important;
    padding: 5rem 0;
    text-align: center;
}

.about-contact-section {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-contact-label {
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.5rem !important; /* Increased for emphasis */
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    padding-bottom: 0.5rem;
}

.about-contact-circles {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.contact-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-circle:hover {
    background-color: #ffffff;
    color: #e67e22 !important;
}

.contact-circle svg {
    width: 20px;
    height: 20px;
}

.about-jackspaving-title {
    font-size: 2.22rem !important; /* Refined size */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-jackspaving-desc {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.05rem; /* Refined size */
    color: #ffffff !important;
    opacity: 0.9;
}

.btn-white-outline {
    display: inline-block;
    padding: 1.2rem 4.5rem; /* Slightly larger for impact */
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden; /* Crucial for shiny effect */
}

/* Shiny Highlight Impact Effect */
.btn-white-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: none;
    animation: shiny-button 3s infinite;
}

@keyframes shiny-button {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

.btn-white-outline:hover {
    background-color: #ffffff;
    color: #e67e22 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darkens background for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    /* Increased from 800px to allow text to span */
    padding: 0 1rem;
}

.hero-title-main {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    /* Reduced size for elegance */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    color: #e67e22;
    /* Orange text */
    text-shadow: none;
    /* No shadow */
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-title-sub {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    /* Increased size */
    font-weight: 700;
    /* Bolder for visibility */
    font-style: normal;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    /* Adjusted spacing */
    /* Reduced spacing */
    color: var(--color-primary);
    opacity: 1;
    text-shadow: none;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    /* Force one line */
}





.hero-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto 2rem;
}

.hero-highlight-new {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.8vw, 3.5rem);
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(253, 203, 110, 0.3);
    white-space: nowrap;
}

.shiny-text {
    background: linear-gradient(to right,
            var(--color-orange) 20%,
            #ffd700 40%,
            #fff 50%,
            #ffd700 60%,
            var(--color-orange) 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
    filter: drop-shadow(0 0 5px rgba(230, 126, 34, 0.5));
}

.static-shine {
    color: var(--color-orange);
    filter: brightness(1.15);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-stats-new {
    font-size: 0.9rem;
    color: #dcdcdc;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    margin-left: var(--spacing-sm);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-cta {
    background-color: transparent;
    color: var(--color-orange);
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 8px auto 0;
}

.section-desc {
    color: var(--color-dark-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--color-white);
    color: var(--color-dark);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-orange);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--color-dark);
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    /* Further increased for visibility */
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--color-dark-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
}

/* Specializations Diagram */
.specializations-section {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.spec-title-wrapper {
    margin-bottom: 3rem;
}

.spec-title {
    font-size: 1.8rem;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-diagram-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Connecting line for desktop diagram feel */
.spec-diagram-container::before {
    content: '';
    position: absolute;
    top: 40px;
    /* Align with center of circles */
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-primary) 20%,
            var(--color-primary) 80%,
            transparent 100%);
    z-index: 0;
    opacity: 0.3;
    display: none;
}

@media (min-width: 900px) {
    .spec-diagram-container::before {
        display: block;
    }
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    position: relative;
    z-index: 1;
    cursor: default;
}

.spec-circle {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #f5f5f5;
}

.spec-item:hover .spec-circle {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--color-white);
    /* Keep white bg for emoji visibility */
}

.spec-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Optional: Different border colors for materials could be cool but keep simple for now */

.spec-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Projects (formerly Gallery) */
.projects {
    background-color: var(--color-white);
}

/* Paver Block Surface Design */
/* Clean Modern Grid inspired by Sam The Paving Man */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /* Generous spacing */
    background-color: transparent;
    /* Clean background */
    padding: 10px;
    grid-auto-flow: dense;
    border: none;
}

.project-featured {
    grid-column: span 2;
}

.project-featured .project-image {
    height: 350px;
}

@media (max-width: 768px) {
    .project-featured {
        grid-column: span 1;
    }
}

.project-card {
    background-color: var(--color-white);
    border-radius: 4px;
    /* Slight radius */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    /* Elegant lift */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 15px var(--color-orange);
    /* Orange highlighted edge shadow */
    z-index: 2;
    outline: 2px solid var(--color-orange);
    outline-offset: -2px;
}

.project-image {
    height: 250px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.03);
    /* Subtle zoom */
}

.project-card:active .project-image {
    transform: scale(1.15);
    /* Stronger zoom on click */
    transition: transform 0.1s ease-out;
    /* Snap zoom */
}

.project-info {
    padding: 1.5rem;
    background-color: #ffffff;
    background-image: none;
    /* Remove texture */
    position: relative;
    z-index: 1;
    border-top: none;
    flex-grow: 1;
    text-align: left;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #222;
    /* Dark Text */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: none;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    /* Grey Text */
    font-weight: 400;
    text-shadow: none;
}

/* Placeholders using generated patterns until images are ready */
/* Real Project Images */
.item-1 {
    background-image: url('../assets/Melbourne%20Airport/IMG_0716.jpg');
}

.item-2 {
    background-image: url('../assets/University%20of%20Melbourne/IMG_0130.jpg');
}

.item-3 {
    background-image: url('../assets/Tottenham/IMG_9652.jpg');
}

.item-4 {
    background-image: url('../assets/Sydney%20Railway.jpeg');
}

.item-5 {
    background-image: url('../assets/Harkaway/IMG_0055.jpg');
}

.item-6 {
    background-image: url('../assets/South%20Morang.jpg');
}

/* Team Section */
.team-slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 0 auto 2rem auto;
    /* Centered with bottom margin */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.team-slide {
    display: none;
}

.team-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
    /* Prevent overly tall images */
}

/* Dots already defined potentially, but ensuring specific style for team */
.team-slideshow-container .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.team-slideshow-container .dot.active,
.team-slideshow-container .dot:hover {
    background-color: var(--color-primary);
    /* Orange */
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.item-7 {
    background-image: url('../assets/Dandenong%20Council.jpg');
}

.item-8 {
    background-image: url('../assets/Brighton/Brighton.jpg');
}

.item-9 {
    background-image: url('../assets/Canterbury.jpg');
}

.item-10 {
    background-image: url('../assets/Carlton.jpg');
}

.item-11 {
    background-image: url('../assets/Melbourne%20CBD/Melbourne%20CBD.jpg');
}

.item-12 {
    background-image: url('../assets/St%20Kilda/IMG_9719.JPG');
}

.item-13 {
    background-image: url('../assets/Toorak%20Driveway/KakaoTalk_20260324_105619305.jpg');
}

.item-14 {
    background-image: url('../assets/Toorak%20Tiling/KakaoTalk_20260324_105619305_06.jpg');
}

/* Team Section */
.team {
    background-color: var(--color-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.team-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: block;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-photo-img {
    width: 100%;
    height: 450px;
    /* Fixed height to match all members */
    display: block;
    object-fit: cover;
    /* Ensures image fills the area */
    object-position: center 20%;
    /* Focus on upper center for portraits */
}

.team-info {
    padding: var(--spacing-sm);
}

.team-info h3 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Modern Features Grid */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature-card {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Subtle shadow initial */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 5px solid var(--color-primary);
}

.feature-card:hover {
    transform: translateX(10px);
    /* Slide right slightly */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-right: var(--spacing-md);
    min-width: 50px;
    text-align: center;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.feature-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-dark-light);
}

.about-visual {
    height: 500px;
    background-color: #333;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mySlides {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.google-card {
    border-left: 4px solid #4285F4;
    /* Google Blue */
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
}

.stars {
    color: #f1c40f;
    /* Star yellow */
    font-size: 0.8rem;
    margin-top: 2px;
}

.google-logo {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
}

.review-text {
    font-style: italic;
    color: var(--color-dark-light);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
    text-align: right;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    color: var(--color-dark);
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Zoom Fade Animation */
.fade {
    animation-name: zoomFade;
    animation-duration: 6s;
    animation-fill-mode: forwards;
}

@keyframes zoomFade {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-primary);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.experience-badge span {
    display: block;
}

/* Contact */
/* Contact Section Redesign */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 4rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    background-color: #e67e22;
    /* Orange */
    border-radius: 50%;
    color: var(--color-white);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid transparent;
    /* Prepare for border hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.contact-circle:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #8d6e63;
    /* Earthy Brown Highlight */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.circle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-circle h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
}

.contact-circle p {
    font-size: 0.9rem;
    color: #e0e0e0;
    max-width: 80%;
}

.form-container-centered {
    width: 100%;
    max-width: 700px;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--color-dark);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--color-primary);
}

/* Footer */
.footer {
    background-color: #222;
    color: var(--color-orange);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a.footer-phone {
    color: var(--color-orange);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-links a.footer-phone:hover {
    color: var(--color-dark);
    text-decoration: underline;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.video-container-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
}

#modalTitle {
    margin-top: 1rem;
    color: var(--color-dark);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 70vh !important;
        min-height: 500px;
    }

    .hero-stat-item .stat-number {
        font-size: 2.8rem !important;
    }

    .hero-stats-container {
        gap: 1.2rem !important;
        margin-top: 1.5rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
    }

    .team-management-section .team-card .team-photo-img,
    .team-construction-section .team-card .team-photo-img {
        height: 450px !important;
        object-position: top center !important;
    }

    .section {
        padding: 3.5rem 0 !important;
    }

    .team {
        padding-top: 80px !important;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .contact-circles-wrapper {
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .contact-circle {
        width: 160px !important;
        height: 160px !important;
    }

    .circle-icon {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .contact-circle h3 {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-highlight-new {
        font-size: 1rem !important;
        letter-spacing: 1.5px !important;
    }

    .hero-stats-container {
        flex-direction: column;
        gap: 1.5rem !important;
    }

    .hero-stat-divider {
        display: none;
    }

    .team-management-section .team-grid,
    .team-construction-section .team-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Gallery Page Styles */
.gallery-page {
    padding-top: var(--spacing-lg);
    background-color: var(--color-light);
    min-height: 80vh;
}

.gallery-loading {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-dark-light);
    margin: 4rem 0;
}

.project-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.1rem;
    color: var(--color-dark-light);
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.gallery-item {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
}

.gallery-item img,
.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-navigation {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid #ddd;
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.btn-back {
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Team Section */
/* Team Section Layout */
.team-management-section,
.team-construction-section {
    margin-bottom: 4rem;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

/* Ensure grids are responsive and centered */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

/* Management section specific tweaks (optional - e.g. larger cards) */
/* Management section specific tweaks */
.team-management-section .team-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .team-management-section .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.team-management-section .team-card {
    border: 2px solid transparent;
    max-width: 420px;
    /* Larger cards for management */
    width: 100%;
}

.team-management-section .team-card .team-photo-img {
    height: 450px;
    /* Taller images for management */
}

.team-management-section .team-card:hover {
    border-color: var(--color-primary);
}

/* Construction / Member section specific tweaks */
.team-construction-section .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Same as management */
    max-width: 1200px;
    margin: 0 auto;
}

.team-construction-section .team-card {
    border: 2px solid transparent;
    max-width: 420px;
    /* Same size as management */
    width: 100%;
}

.team-construction-section .team-card .team-photo-img {
    height: 450px;
    /* Same height as management */
}

.team-construction-section .team-card:hover {
    border-color: var(--color-primary);
}

/* Team Card Image Base Style */
.team-photo-img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Specific styling for the last team card (Jungho Oh) to be centered and framed */
/* Lightbox / Expanded View */
.gallery-item.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    border-radius: 0;
}

.gallery-item.expanded img,
.gallery-item.expanded video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 4rem 1rem;
}

.error-message h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

/* Team Profile Styles */
.team-page {
    padding-top: var(--spacing-lg);
    background-color: var(--color-light);
    min-height: 80vh;
}

.team-profile-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-card-large {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .profile-card-large {
        flex-direction: row;
        align-items: flex-start;
    }
}

.profile-image-container {
    background-color: #f0f0f0;
}

@media (min-width: 768px) {
    .profile-image-container {
        width: 40%;
        max-width: 400px;
    }
}

.profile-photo-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    /* Ensure good height on detailed view */
}

.profile-details {
    padding: 2rem;
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-role {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-divider {
    height: 3px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.profile-stats {
    list-style: none;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.stat-item {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 600;
}

.stat-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.profile-bio {
    font-size: 1.05rem;
    color: var(--color-dark-light);
    line-height: 1.7;
}

.profile-bio p {
    margin-bottom: 1rem;
}

/* Hero Stats Layout */
.hero-stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(253, 203, 110, 0.3);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    display: none;
}

@media (min-width: 768px) {
    .hero-stat-divider {
        display: block;
    }
}

/* Project Detail Updates */
.project-title-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-title {
    margin-bottom: 0;
    /* Reset margin since we use flex gap */
}

.project-category-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.cat-commercial {
    background-color: #2d3436;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.cat-domestic {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* Specific Grid Items for Masonry-ish Feel */
.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

/* Adjust for mobile */
@media (max-width: 768px) {

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }
}

/* Split Header Layout for Gallery */
.project-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-header-left {
    flex: 1;
}

.project-header-right {
    flex: 1;
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
}

.project-title-large {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.about-title-small {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #636e72;
    margin-bottom: 0.5rem;
}

.project-description-side {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3436;
}

@media (max-width: 768px) {
    .project-header-split {
        flex-direction: column;
        gap: 2rem;
    }

    .project-header-right {
        border-left: none;
        border-top: 4px solid var(--color-primary);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}


/* Project Filters - Modern Redesign */
.filter-btn {
    padding: 0.5rem 1.2rem;
    /* Reduced padding */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle border */
    background-color: transparent;
    /* Transparent background */
    color: #636e72;
    font-family: 'Montserrat', sans-serif;
    /* Professional font */
    font-weight: 500;
    font-size: 0.8rem;
    /* Smaller font */
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    /* Slight rounding instead of full pill */
    transition: all 0.3s ease;
    box-shadow: none;
    /* Removed heavy shadow */
    margin: 0 0.3rem;
    outline: none;
}

.filter-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: none;
    color: #2d3436;
    border-color: #b2bec3;
}

.filter-btn.active {
    background-color: var(--color-dark);
    /* Dark active state */
    color: #fff;
    border-color: var(--color-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for active */
    transform: none;
}

.project-filters {
    padding: 1rem 0 3rem 0;
}

/* Professional About Project Section */
.project-about-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

/* Sophisticated Category Badges */
.project-category-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 1rem;
    vertical-align: middle;
}

.cat-commercial {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.cat-domestic {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

/* Adjust Header Title Layout */
.project-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-title {
    margin-bottom: 0;
    /* Remove default margin when in row */
    font-size: 2.5rem;
    /* Ensure large size */
}


.cat-repairs {
    background-color: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}


/* Gallery Showcase Redesign */
.project-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem 0 4rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.showcase-left {
    flex: 1;
}

.showcase-right {
    flex: 1;
}

.project-title-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.project-meta {
    display: flex;
    gap: 1rem;
}

.project-category-pill {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pill-commercial {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.pill-domestic {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.pill-repairs {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ef6c00;
}


/* Sophisticated Card for Description */
.project-description-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.project-description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-primary);
}

.desc-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.desc-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 400;
}

@media (max-width: 900px) {
    .project-showcase-header {
        flex-direction: column;
        gap: 2rem;
    }

    .project-title-main {
        font-size: 2.2rem;
    }
}


/* =========================================
   Professional Navigation Redesign (Overrides)
   ========================================= */

/* Gallery Skeleton Animation for Performance */
.gallery-item.skeleton {
    background-color: #f0f0f0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

body.dark-page .gallery-item.skeleton {
    background-color: #1a1a1a !important;
}

.gallery-item.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

body.dark-page .gallery-item.skeleton::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

@keyframes skeleton-shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

.gallery-item img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-item img.loaded {
    opacity: 1;
}

