/* ===== MARKER CONSTRUCTION GROUP - MAIN STYLESHEET ===== */

/* Google Fonts - Spectral Family */
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@300;400;500&display=swap');

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Spectral', serif;
    font-weight: 300; /* Light */
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: white;
}



/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Regular */
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 300; /* Light */
    letter-spacing: 0.1em;
}

h2 {
    font-size: 2rem;
    font-weight: 500; /* Medium */
    letter-spacing: 0.05em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500; /* Medium */
}

p {
    font-size: 1rem;
    font-weight: 300; /* Light */
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 1;
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 40px 40px;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: #394958;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

.logo {
    height: 30px;
    position: relative;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: white;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Mobile Menu Toggle - Custom Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 50px;
    height: 30px;
}

.menu-toggle span {
    display: block;
    width: 40px;
    height: 1px;
    background-color: white;
    position: absolute;
    left: 5px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 8px;
}

.menu-toggle span:nth-child(2) {
    top: 15px;
}

.menu-toggle span:nth-child(3) {
    top: 22px;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 60px 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* Gradient overlay at top for header legibility */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    height: 60vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 80px;
    padding: 60px 40px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.page-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-banner h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 1800px;
    margin: 0 auto;
    padding: 80px 40px;
}

.content-section.light-bg {
    background-color: #E8E6E1;
}

.content-section.white-bg {
    background-color: white;
}

.section-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 500;
}

.section-subtitle {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 60px;
    max-width: 900px;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

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

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

/* ===== IMAGE CONTAINERS ===== */
.image-container {
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.12);
    z-index: 1;
}

.project-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 2;
}

.project-title {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ===== BIOGRAPHY SECTIONS ===== */
.bio-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
}

.bio-image {
    width: 100%;
    max-width: 600px;
}

.bio-content h3 {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 500;
}

.bio-content p {
    margin-bottom: 20px;
}

/* ===== COLLABORATION GRID ===== */
.collab-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 40px;
}

.contact-details {
    font-size: 1.1rem;
    line-height: 2.5;
}

.contact-details a {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-details a:hover {
    border-bottom-color: #394958;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bio-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .collab-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {

    header {
        padding: 30px 27px;
        z-index: 1000;
    }
    
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    background-color: #394958;
    width: 100%;
    height: 100vh;
    padding: 140px 27px 40px;
    gap: 30px;
    transition: transform 0.9s cubic-bezier(0.4, .1, 0.2, 1), opacity 0.5s ease;
    justify-content: flex-start;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
}
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 40px 27px;
    }
    
    .hero::after {
        height: 80px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent);
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .page-banner {
        padding: 40px 27px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 27px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
        letter-spacing: 0.03em;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .collab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: #394958;
    padding: 30px 40px;
    text-align: center;
}

@media (max-width: 768px) {
    footer {
        padding: 20px 27px;
    }
}
